Enable and configure the jobs that process CMDB
health tests, to start calculating CMDB health scores for the
completeness, compliance,
correctness, and relationship KPI. These
health scores are then aggregated into the overall CMDB health report.
Before you begin
Role required: admin
About this task
In the base system, CMDB Health Dashboard jobs are
disabled by default. Enable and configure the respective job for the CMDB health KPI
that you want data collected and aggregated for. You can schedule a job to run on a
recurring schedule, or execute it once at any time.
For more information about how CMDB Health Dashboard jobs work, see the Understanding the CMDB HealthDashboard
Numbers blog post in the ServiceNow Community.
Procedure
-
Navigate to , and then click CMDB Health Dashboard
Jobs
.
-
Select a job that you want to enable or configure.
| CMDB Health Dashboard job |
Description |
| CMDB Health Dashboard - Completeness Score
Calculation |
Script for calculating the completeness KPI of CMDB
health. |
| CMDB Health Dashboard - Compliance Score
Calculation |
Script for calculating the compliance KPI of CMDB
health. |
| CMDB Health Dashboard - Correctness Score
Calculation |
Script for calculating the correctness KPI of CMDB
health. |
| CMDB Health Dashboard - Relationship Score
Calculation |
Script for calculating the CI relationships KPI of CMDB
health. |
| CMDB Health Dashboard - Relationship Compliance
Processor |
Script for calculating compliance of relationships with
suggested relationships, and with hosting and containment
rules. |
-
Review the default configuration, and update as necessary.
| Field |
Description |
| Name |
Job name. Leave this field with the pre-populated
name. |
| Active |
Select to activate the job. |
| Conditional |
If selected, the scripted condition must evaluate to true
before the job can run. |
| Run |
Configure the schedule for job execution, or select
On Demand to run the job
manually when needed.
If Active is selected, then
additional fields appear according to your choice. For
example, Repeat Interval (when
Run is set to
Periodically), and
Time for various settings of
Run. Fill in the details to
set precise running times. |
| Time zone |
Local time zone. |
| Run this script |
The job's script. Note: Changes to the script might
result in unexpected behavior. |
-
Click Execute Now to run the job once immediately.
Result
After you enable a CMDB Health Dashboard job, the results for the KPI are aggregated
and displayed in the CMDB dashboard and CI dashboard, at the CMDB, class, and CI
levels.