I'm integrating with a third-party monitor and wrote a script to forward alarms to my monitor. Now I want all rules to call it. I checked but the REST API doesn't appear able to update rules. I also don't see how any options to use Groovy to add actions to multi-severity rules. What is the best way to apply my action to all rules programmatically? After I've applied it to all rules on my instance, I will need to apply it to all rules across all our other instances as well.
You should create a new rule with an event driven trigger "AlarmSystemEvent".
I'll assume you know how to write that groovy code, cause it might prove challenging if you dont.
You can copy that rule around using the cartridge builder https://support.quest.com/download-install-detail/6115932
Thank you! I was only wanting to use groovy to apply my action to all rules. Using AlarmSystemEvent is a much cleaner solution. I have a powershell CommandAction on my rule that does what I want.