Hi,
I want to execute a script + "send mail" for the triggering alarm, and I want to execute a script + "send mail" for the CLEAR of the alarm.
The reason for this is because I want to have different text/details in alarm and clear messages.
Is it possible?
The way "execute on clear" works now is that it also sends clear message when alarm is triggered + when the alarm is cleared. I want "execute on clear" to work only when clear happens.
I.e. on this picture:
If I choose "Execute on clear" on both script and mail, it will send clear message when alarm triggers + when alarm clears. But since I make a "custom" message both in the script (for sms) and mail, I want it ONLY triggered on clear - not "also".
I think you can apply filter base on your requirement. you can apply status Cleared filter for that correlation rule.