Hello DM Dojo Community !
I wanted to know if it was possible to send specific alarm information in the message/subject line, when alarms are detected by the correlation rule. For example I would like to know the element name/Site name that is affected by the alarm in my email notification.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th August 2023
Hi,
I believe there are two options here:
- You could send a email notification using a C# code (see method SendEmail). When triggering a script from a correlation rule, you can pass information about the alarm that triggered the correlation rule to the script (How do I parse Correlation Alarm Info data?)
- You can send an email notification directly from a correlation rule. In this case, you can pass information about the alarm that triggered the correlation rule using placeholders.
Hope it helps.
A B M Sidddique [DevOps Advocate] Edited comment 2nd August 2023
Hi,
Placeholders can only be used in correlation rules.
Understood , Thank you for you the help Miguel
Thank you Miguel , the placeholder option worked. But I was wondering if I put placeholder in the text box of send email action in automation script instead of correlation rule will it still send the alarm info ?