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.
Hi,
I believe this might already help you a bit:
This help page 'Running an Automation script from a Correlation rule | DataMiner Docs' mentions an interesting note at the bottom about passing on information from the correlation rule to the automation script.
This brings me to this page: Special parameters available in Automation scripts | DataMiner Docs, there you are interested in the correlation alarm ID or info. With the ID you would need to retrieve the alarm data yourself, but with the info you already get that data. And moreover, it comes with an example provided on this page: How do I parse Correlation Alarm Info data? | DataMiner Docs
I hope this was of help.
Bert
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.
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 ?
Hi,
Placeholders can only be used in correlation rules.
Understood , Thank you for you the help Miguel
Thank you for the help Bert , your videos about DM operator and administrator have really helped me navigate Dataminer.