[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Execute a script on every object upload event (Swift+aodh)

On 13/09/19 6:29 PM, Anmar Salih wrote:
> Hey all,
> Need help to configure swift and aodh. The idea is to trigger aodh alarm 
> on very object upload event on swift. Once the alarm triggered, a 
> small script should be executed. So the sequence of operations should be 
> like this:
> 1- Object just uploaded to swift container
> 2- Alarm triggered by aodh
> 3- Once alarm triggered , execute python script.
> I am using Devstack Stein release installed on virtual box.
> Best regards.
> Anmar Salih

Have you looked at https://docs.openstack.org/storlets/latest/ ?