How can I ensure that I only get one email notification from Smarts mail adapter per alert if a notification is duplicated?
To ensure you only receive one email notification per alert, do the following:
- Open the mail-notify.asl file found here:
<BASEDIR>/SAM/smarts/bin/sm_edit rules/notifier/mail/mail-notify.asl
- Add a condition in the do code block as follows:
do {
if (currentEvent->icOccurrenceCount > 1 ) { return; }
// continue with rest of the code
...
}
- Stop and restart the Smarts mail adapter to apply the change.