Looking to execute scripts on events

Hi all,

I am new to haproxy, but pretty happy with it so far. I was wondering if there is any option to run scripts in case of failover.

So far I only found options to email and log. But I would rather run a script to send a SMS or run some re-configuration.

Is there any support for this? Planned?

Thanks
bluepuma

My research only came up with two sub-optimal solutions:

I have to use a SMTP-HTTP gateway to trigger events with other services.

Or trigger something by replacing the checks itself with my own script.

Why not have something like

script-alert <script> 
script-alert level alert

or

webhook-alert <uri> 
webhook-alert level alert

Best to file a feature request here:

Done, thanks, see here.