Smarts SAM: How can I ensure that I only get one email notification from Smarts mail adapter per alert if a notification is duplicated?
search cancel

Smarts SAM: How can I ensure that I only get one email notification from Smarts mail adapter per alert if a notification is duplicated?

book

Article ID: 304197

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

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:

  1. Open the mail-notify.asl file found here: 

    <BASEDIR>/SAM/smarts/bin/sm_edit rules/notifier/mail/mail-notify.asl

     
  2. Add a condition in the do code block as follows:

    do {
        if  (currentEvent->icOccurrenceCount > 1 ) { return; } 
        // continue with rest of the code
       ...
    }

     
  3. Stop and restart the Smarts mail adapter to apply the change.