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

Zane Bitter zbitter at redhat.com
Sat Sep 14 02:57:55 UTC 2019


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/ ?



More information about the openstack-discuss mailing list