<h2>Enable and configure a CMDB Health Dashboard job</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2024" /><meta name="DC.rights.owner" content="(C) Copyright 2024" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Enable and configure a CMDB Health Dashboard job" /><meta name="abstract" content="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." /><meta name="description" content="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." /><meta name="DC.relation" scheme="URI" content="https://youtu.be/CvMRT3NExIo" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2024-02-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="t_EnableCMDBHealthDashboardJob" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Enable and configure a CMDB Health Dashboard job</title></head><body id="t_EnableCMDBHealthDashboardJob"> <h1 class="title topictitle1" id="ariaid-title1">Enable and configure a CMDB Health Dashboard job</h1> <div class="body taskbody"><p class="shortdesc"><span class="ph" id="ph_DashboardJobShortDesc">Enable and configure the jobs that process CMDB health tests, to start calculating CMDB health scores for the <span class="keyword parmname">completeness</span>, <span class="keyword parmname">compliance</span>, <span class="keyword parmname">correctness</span>, and <span class="keyword parmname">relationship</span> KPI. These health scores are then aggregated into the overall CMDB health report.</span></p> <div class="section prereq p"> <p class="p">Role required: admin</p> </div> <div class="section context"> <p class="p" id="t_EnableCMDBHealthDashboardJob__p_ScheduledJobAboutContext">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.</p> <p class="p">For more information about how CMDB Health Dashboard jobs work, see the <a class="xref" href="https://community.servicenow.com/community?id=community_article&sys_id=d27bbd60db64cd50770be6be139619c8" target="_blank" rel="noopener noreferrer">Understanding the CMDB HealthDashboard Numbers</a> blog post in the <span class="ph">ServiceNow</span> Community.</p> </div> <ol class="ol steps"><li class="li step stepexpand"> <span class="ph cmd">Navigate to <span class="ph menucascade"><span class="ph uicontrol">All</span> > <span class="ph uicontrol">Configuration</span> > <span class="ph uicontrol">CMDB Dashboard</span> > <span class="ph uicontrol">CMDB View</span></span>, and then click <span class="ph uicontrol">CMDB Health Dashboard Jobs</span> .</span> </li><li class="li step stepexpand" id="t_EnableCMDBHealthDashboardJob__step_ScheduledJobStep1"> <span class="ph cmd">Select a job that you want to enable or configure.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="t_EnableCMDBHealthDashboardJob__table_ylc_yv3_m5" class="table" frame="border" border="1" rules="all"><colgroup><col /><col /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry nocellnorowborder" style="vertical-align:top;" id="d688552e113">CMDB Health Dashboard job</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d688552e116">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e113 ">CMDB Health Dashboard - Completeness Score Calculation</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e116 ">Script for calculating the completeness KPI of CMDB health.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e113 ">CMDB Health Dashboard - Compliance Score Calculation</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e116 ">Script for calculating the compliance KPI of CMDB health.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e113 ">CMDB Health Dashboard - Correctness Score Calculation</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e116 ">Script for calculating the correctness KPI of CMDB health.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e113 ">CMDB Health Dashboard - Relationship Score Calculation</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e116 ">Script for calculating the CI relationships KPI of CMDB health.</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d688552e113 ">CMDB Health Dashboard - Relationship Compliance Processor</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d688552e116 ">Script for calculating compliance of relationships with suggested relationships, and with hosting and containment rules.</td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand" id="t_EnableCMDBHealthDashboardJob__step_ScheduledJobStep2"> <span class="ph cmd">Review the default configuration, and update as necessary.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="t_EnableCMDBHealthDashboardJob__table_z2n_s3k_p5" class="table" frame="border" border="1" rules="all"><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry nocellnorowborder" style="vertical-align:top;" id="d688552e192">Field</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d688552e195">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e192 ">Name</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e195 ">Job name. Leave this field with the pre-populated name.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e192 ">Active</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e195 ">Select to activate the job.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e192 ">Conditional</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e195 ">If selected, the scripted condition must evaluate to true before the job can run.</td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e192 ">Run</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e195 "><p class="p">Configure the schedule for job execution, or select <span class="ph uicontrol">On Demand</span> to run the job manually when needed.</p> <p class="p">If <span class="ph uicontrol">Active</span> is selected, then additional fields appear according to your choice. For example, <span class="ph uicontrol">Repeat Interval</span> (when <span class="ph uicontrol">Run</span> is set to <span class="ph uicontrol">Periodically</span>), and <span class="ph uicontrol">Time</span> for various settings of <span class="ph uicontrol">Run</span>. Fill in the details to set precise running times.</p> </td></tr><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d688552e192 ">Time zone</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d688552e195 ">Local time zone.</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d688552e192 ">Run this script</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d688552e195 ">The job's script. <div class="note"><span class="notetitle">Note:</span> Changes to the script might result in unexpected behavior.</div> </td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand" id="t_EnableCMDBHealthDashboardJob__step_ScheduledJobStep3"> <span class="ph cmd">Click <span class="ph uicontrol">Execute Now</span> to run the job once immediately.</span> </li></ol> <div class="section 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.</div> </div> <div class="related-links"> <div class="linklist relinfo"><strong>Related topics</strong><br /> <ul class="linklist"><li class="linklist"><a class="link" href="https://youtu.be/CvMRT3NExIo" target="_blank" rel="noopener noreferrer">CMDB Health Dashboard for Helsinki | Overview</a></li></ul></div> </div> </body></html></div>