Attached to this article is a script provided by development that will enable you to send every first occurrence of an alarm severity change via email.
UIM 8.51 - 9.0.2
If you do not have the emailgtw probe configured, please follow the documentation to configure the email gateway: emailgtw (Email Gateway) Release Notes - https://docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/alphabetical-probe-articles/emailgtw-email-gateway/emailgtw-email-gateway-release-notes
1. Attached to this article is a custom script, download the script and place it into the nas directory (Nimsoft\probes\service\nas\scripts).
NOTE: You will need to update the recipient email address in line 3:
recipient = "firstname.lastname@example.org" --Recipient's email/profile-name configured in emailgtw
2. Open the NAS GUI -> Auto Operator -> Profiles -> Right click "NEW" to configure a new AO profile:
Action type = script
Script = select the script in question (example: sendemailscript).
Action mode = On message arrival
Severity Level = select the severities you require (example: MINOR, MAJOR, CRITICAL)
NOTE: You can customise what message you would like to match on, hostname, profbe, message string etc.
3. Save the profile, apply the changes and the nas probe will restart.