Incident suppression on weekends for particular alert associated to 2 windows server

NCS1
Tera Contributor

Issue : we are creating incidents in event management via an alert management rule wherein we DO NOT want incidents to be created for few hours over the weekend

Facts

  • Alert rules - have a following condition
    • maintenance is false
    • Node = zebraXX1 or (Alert rules has filters where it looks for two windows server)
    • Node = ZebraXX2 (Alert rules has filters where it looks for two windows server )
  • I cant put a time criterion for every weekened either in event rules or alert rules.
  • Our change management process is not mature yet so cant go ahead with change window

 

Checked up community and docs and am a bit confused  on what to use and how - maintenance schedule OR maintenance rules OR blackout schedules. is scheduled job the only option left? If i set up a schedule how do i ensure that i put Ci in maintenance state for that period of time? Any guidance would be appreciated

 

 

3 REPLIES 3

Rahul Priyadars
Giga Sage
Giga Sage

Put CI into maintenance state. If any events related to these CI's are generated, the alert rules will not be processed for them.

Since you have this requirement for 2 CIs and for Only weekend. Schedule job should put the CIs in Maintenance Mode.

https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/event-management/task/...

 

Regards

RP

Thank you Rahul for your response.

 if I put the CI In maintenance mode then it won’t generate any alerts all together however I want that it shouldn’t generate alerts only over weekend for couple of hours.
So what I understand is that scheduled job should do the trick rather than having maintenance schedules or maintenance rules in place. 
also thank you for contributing to this community.

In My view Your Job which will run on weekend only - Should Change CI status to In MAINTENANCE as per given Window.

OOTB Maint Rule should pick this and exclude from Impact Calculation

 

https://YOURINSTANCE.service-now.com/now/nav/ui/classic/params/target/em_maintenance_rule.do%3Fsys_i...

 

Similar OLD Thread

https://www.servicenow.com/community/itom-forum/how-to-write-a-script-in-maintenance-rule-to-add-ci-...

 

Regards

RP