Alert suppression when Ci is in Maintenance window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2019 09:55 AM
can any one let me know how to suppress the alert when Ci is in Impact Maintenance Ci's table. As per the OOB when ci is in maintenance the related alerts are not listed in alert console and the alerts are automatically got suppressed. But here No alert should be generated when Ci is in maintenance.
Can any please respond. Thank you in advance.
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2019 10:11 AM
Since the 'Maintenance' flag is set on the Alert record, not the Event record, you have no way to suppress (not instantiate) the Alert via Event Rules. However, you could get intricate with either an Alert Management Rule that runs a workflow to close Alerts where Maintenance = True. Alternatively, you could create a custom script includes on the Alert record that runs post-CI Binding to close the alert when Maintenance = True.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2019 10:30 AM
The way I always do is to create a business rule on the em_alert table that fire on insert when the maintenance checkbox is checked and I auto close the alert by setting state = closed. This is typically the best way to do it.