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

Can we also have scheduled jobs targeted to CMDB groups? @SIVASANKARIS 

Hi @RahulY00040 ,

You can make these schedules as active, it will run automatically

  • CMDB Health Dashboard – Completeness Score Calculation

  • CMDB Health Dashboard – Compliance Score Calculation

  • CMDB Health Dashboard – Correctness Score Calculation

If this is useful please mark it as helpful

willisthiel074e
Giga Contributor

To target specific CIs for the 3Cs (Completeness, Compliance, and Correctness), you should use CMDB Health Inclusion Rules. Navigate to CMDB Health Preferences and create a rule for your desired CI class, adding filters to narrow down the specific records you want to measure. Once your filters are set, you can configure the health metrics in the CI Class Manager and execute the CMDB Health Dashboard scheduled jobs to generate scores only for those filtered CIs.

@willisthiel074e  Our CIs are just subsets of total CMDB and we can not exclude rest of the CIs.

Prathmeshda
Mega Guru

Prepare Your CI Filter
First, decide how to identify the target CIs. Common options include:

CI Class (for example, cmdb_ci_server)

CI Group (recommended if you already have CI groups defined)

Tag or custom field (for example, u_environment = Production)

Relationship to a Business Service (via service relationships)

Location or Operational Status

Test the filter in the CI list (for example, Configuration > Servers or Configuration > CI Class Manager) to confirm it returns the intended records.

Create a CMDB Health Job
Navigation:
Configuration > CMDB Health > Jobs > New

Provide the following details:

Name: A clear name (for example, Health Job – Prod Web Servers)

Description: Brief explanation of purpose and CI scope

Type: CI Health

Target: Filter (or CI Group if applicable)

Filter: Build the same conditions you tested earlier using AND/OR logic

Configure Health Checkers (3Cs)
You can enable or disable individual checkers per job.

Completeness

Enable completeness checks for required attributes

Configure mandatory fields per CI class under CMDB Health > Completeness Checks

Focus on meaningful fields such as owner, environment, IP address, OS, and support group

Conformity

Enable conformity checks (naming conventions, formats, and allowed values)

Configure or extend conformity rules if custom validation is required

Currency

Enable currency checks to ensure CIs are recently updated

Configure thresholds such as “Updated in the last X days”

Align thresholds with Discovery or integration schedules

Scheduling and Recurrence
Set the job frequency (daily, weekly, or monthly)

Choose a low-impact start time to minimize performance impact

Configure optional email notifications for failures or summary results

Run the Job and Monitor
Save the job and select Run Now, or allow it to run as scheduled

Monitor executions under CMDB Health > Jobs > [Your Job] > Execution History

Review CI-level details for failed checks

Review Results and Dashboards
View Completeness, Conformity, and Currency scores per CI

Use CMDB Health dashboards or Performance Analytics for trend analysis

Export or schedule reports if stakeholders require regular visibility
If this response proves useful, please mark it as Accept as Solution and Helpful. Doing so benefits both the community and me.