CMDB Heath Dashboard Jobs: How to run the Health jobs on filtered CIs

RahulY00040
Tera Contributor

Hello friends,

 

We don't have CMDB Health Jobs configured and running. I would like to configure one for targeted set of CIs that I can filter, so that i can measure CI - 3Cs at least for filtered CIs. Anyone has any idea, please help.

 

Thanks in advance,
Rahul 

1 ACCEPTED SOLUTION

SIVASANKARIS
Tera Guru

Hi @RahulY00040 ,

you can measure the 3Cs (Completeness, Correctness, Compliance) for a targeted set of CIs by using CMDB Groups, which effectively act as a filter for CMDB Health dashboards.

Below is a step-by-step approach to achieve this.

 

1️⃣ Create a CMDB Group (This acts as your CI “filter”)

Think of a CMDB Group as a logical container for the CIs you want to measure (for example: only Linux servers, only production CIs, only Discovery-sourced CIs).

Navigation: Configuration > CMDB Groups

Backend Table:cmdb_group

What to do:

  • Click New

  • Give the group a meaningful name (example: Critical Linux Servers)

  • Make sure the Group Type includes “Health”

  • Save the record

Now, in the CMDB Group Queries related list:

  • Add one or more queries to define your scope
    (for example: Class = Linux Server, Environment = Prod, Discovery source, etc.)

👉 This is where you “filter” your CIs. Any CI matching these queries becomes part of the group automatically.

 

 

2️⃣ Configure Group Thresholds (This links the Group to the 3Cs)

This is the bridge between your CMDB Group and CMDB Health metrics.

Navigation (via filter navigator): cmdb_health_scorecard_group_threshold.list

What to do:

  • Click New

  • Select your CMDB Group from Step 1

  • Choose a Metric (for example: Completeness)

  • Define thresholds:

    • Lower Threshold (example: 10%)

    • Upper Threshold (example: 30%)

Repeat this step for below metrics:

  • Correctness

  • Compliance

This tells ServiceNow how to score and classify health for only the CIs in this group.

 

3️⃣ Execute CMDB Health Calculation Jobs

CMDB Health scores won’t appear unless the background jobs are active and executed.

Navigation: System Definition > Scheduled Jobs

Backend Table:sys_trigger

What to look for:

Search for jobs with names starting with “CMDB Health Dashboard”, such as:

  • CMDB Health Dashboard – Completeness Score Calculation

  • CMDB Health Dashboard – Compliance Score Calculation

  • CMDB Health Dashboard – Correctness Score Calculation

For each job:

  • Open it

  • Set Active = true

  • Click Execute Now (for initial results)


4️⃣ View Health Results for Your Targeted CI Group

Navigation: CMDB Workspace> Home > under quick link section CMDB health Dashboard >

At the top of the dashboard:

  • Change the Class selector to Group

  • Select your CMDB Group

  • SIVASANKARIS_0-1767683482814.png
  • The dashboard will now show Completeness, Correctness, and Compliance scores only for the CIs in that group.

     

If this helpful mark it as helpful and accept my solution

View solution in original post

9 REPLIES 9

Dr Atul G- LNG
Tera Patron

Hi @RahulY00040 

 

OOTB these jobs are configured:

 

https://INSTANCENAME.service-now.com/now/nav/ui/classic/params/target/%24cmdb_health_properties.do

 

 

DrAtulGLNG_0-1767633151190.png

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

SIVASANKARIS
Tera Guru

Hi @RahulY00040 ,

you can measure the 3Cs (Completeness, Correctness, Compliance) for a targeted set of CIs by using CMDB Groups, which effectively act as a filter for CMDB Health dashboards.

Below is a step-by-step approach to achieve this.

 

1️⃣ Create a CMDB Group (This acts as your CI “filter”)

Think of a CMDB Group as a logical container for the CIs you want to measure (for example: only Linux servers, only production CIs, only Discovery-sourced CIs).

Navigation: Configuration > CMDB Groups

Backend Table:cmdb_group

What to do:

  • Click New

  • Give the group a meaningful name (example: Critical Linux Servers)

  • Make sure the Group Type includes “Health”

  • Save the record

Now, in the CMDB Group Queries related list:

  • Add one or more queries to define your scope
    (for example: Class = Linux Server, Environment = Prod, Discovery source, etc.)

👉 This is where you “filter” your CIs. Any CI matching these queries becomes part of the group automatically.

 

 

2️⃣ Configure Group Thresholds (This links the Group to the 3Cs)

This is the bridge between your CMDB Group and CMDB Health metrics.

Navigation (via filter navigator): cmdb_health_scorecard_group_threshold.list

What to do:

  • Click New

  • Select your CMDB Group from Step 1

  • Choose a Metric (for example: Completeness)

  • Define thresholds:

    • Lower Threshold (example: 10%)

    • Upper Threshold (example: 30%)

Repeat this step for below metrics:

  • Correctness

  • Compliance

This tells ServiceNow how to score and classify health for only the CIs in this group.

 

3️⃣ Execute CMDB Health Calculation Jobs

CMDB Health scores won’t appear unless the background jobs are active and executed.

Navigation: System Definition > Scheduled Jobs

Backend Table:sys_trigger

What to look for:

Search for jobs with names starting with “CMDB Health Dashboard”, such as:

  • CMDB Health Dashboard – Completeness Score Calculation

  • CMDB Health Dashboard – Compliance Score Calculation

  • CMDB Health Dashboard – Correctness Score Calculation

For each job:

  • Open it

  • Set Active = true

  • Click Execute Now (for initial results)


4️⃣ View Health Results for Your Targeted CI Group

Navigation: CMDB Workspace> Home > under quick link section CMDB health Dashboard >

At the top of the dashboard:

  • Change the Class selector to Group

  • Select your CMDB Group

  • SIVASANKARIS_0-1767683482814.png
  • The dashboard will now show Completeness, Correctness, and Compliance scores only for the CIs in that group.

     

If this helpful mark it as helpful and accept my solution

This should work. Cant thank enough ! Let me try. 

 

-Rahul

Hi @RahulY00040 ,

Thanks for the reply, if my reply is useful, please mark it as helpful and that would be more than enough for me.

 

Best Regards,

SIVASANKARI S

ITOM Engineer