System event on new alarm?

I want to execute a script in the gateway scope each time an alarm changes state (active, acked cleared etc…)
Is there an system event related to this that i can listen to?