Enable or disable email notification of alerts

Sometimes it might be useful to disable email notification of alerts for a filter and recipient pair. For example, there might be an error in the filter query that causes continuous email messages. You can disable the modified filter and recipient pair until you find and correct the error, and then enable email notification for the filter and recipient pair.

You can also enable or disable the entire email notification feature, which affects all the filter and recipient pairs.

Prerequisites

  • Required session ID privileges: Infrastructure administrator

Enabling or disabling all email notification of alerts using REST APIs
  1. Perform a GET for the appliance email notifications:

    GET /rest/appliance/notifications/email-config

  2. Set the alertEmailDisabled field to enable or disable all email notification.

  3. Using the resource URI from step 1, reconfigure the appliance for email notifications:

    POST /rest/appliance/notifications/email-config

Enabling or disabling an individual filter and recipient pair using REST APIs
  1. Perform a GET for the appliance email notifications:

    GET /rest/appliance/notifications/email-config

  2. Set the disabled field for the filter and recipient pair that you want to enable or disable.

  3. Using the resource URI from step 1, reconfigure the appliance for email notifications:

    POST /rest/appliance/notifications/email-config