Alert suppression when Ci is in Maintenance window

sagani
Kilo Contributor

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.

2 REPLIES 2

dbehnood
Tera Expert

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.

robertgeen
Tera Guru

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.