Behavior of CMDB-based alert grouping

秀一里
Tera Contributor

I'd like to know more about Event Management.
I'm creating CI relationships, generating alerts, and grouping alerts based on the CMDB,
but it appears that a primary alert is being created automatically.

I'm hoping that the alert status will recover and it will be closed automatically,
but will automatically created alerts also be closed automatically?

I can't find any documentation explaining the specifications, so I'd like to know the standard behavior.
Thank you in advance for your help.

1 ACCEPTED SOLUTION

@秀一里 

 

Did you get a chance to review this ?

 

If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @秀一里 

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0753955

 

https://www.servicenow.com/docs/bundle/zurich-it-operations-management/page/product/event-management...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Bhuvan
Tera Sage

@秀一里 

 

When you create events in ServiceNow, source tool sends the information to event table 'em_event' for example, node, severity, type, resource name, metric etc., Source tool typically sends a PROBLEM event [info, warning, minor, major, critical] to signal something is wrong with the system it is monitoring [for example CPU is above 90%] and a CLEAR event to signify the issue is Cleared [CPU is below threshold value of 80%].

 

You can create an event rule to apply event filtering, transform, threshold and binding configuration. Without any event rules, event would still create an alert in em_alert table. When the source tool sends the CLEAR event, alert will be closed automatically using message key relationship.

Bhuvan_0-1756100746426.png

 

One of the key fields when it comes to Event Management is 'Message Key'. Source tool will send a problem event with unique message key with one of PROBLEM severities [info and above] and when issue is cleared, it sends a CLEAR event with same 'Message Key'. This will help to identify the clear event should close the alert it opened for PROBLEM event.

 

When source do not send message key, combination of source+node+type+resource+metric name is taken as message key and when a CLEAR event is received for same combination, it updates alert opened for a PROBLEM event to status of 'Closed'

 

When source sends an event to ServiceNow, alert is created in ServiceNow and when CLEAR event is sent from source, alert is set to status == 'Closed'.

Bhuvan_1-1756100746434.png

 

 

Bhuvan_2-1756100747038.png

 

Bhuvan_3-1756100747109.png

 

Bhuvan_4-1756100746430.png

You can refer detailed knowledge article on Alerts lifecycle from below link,

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0753955

 

Alert is closed by event or user action or alert management rules. Refer below subflow,

Bhuvan_5-1756101585607.png

You can find more information from below documentation link on Alert grouping process and lifecycle,

 

https://www.servicenow.com/docs/bundle/zurich-it-operations-management/page/product/event-management...

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@秀一里 

 

Did you get a chance to review this ?

 

If my response helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan