<h2>Create a CMDB Health staleness rule</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 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="task" /><meta name="DC.title" content="Create a CMDB Health staleness rule" /><meta name="abstract" content="If the staleness metric is in effect, then staleness rules are used to determine the percentage of stale CIs in the CMDB. This sum is then aggregated into the correctness KPI." /><meta name="description" content="If the staleness metric is in effect, then staleness rules are used to determine the percentage of stale CIs in the CMDB. This sum is then aggregated into the correctness KPI." /><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-08-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="t_CreateCMDBHealthStaleRule" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Create a CMDB Health staleness rule</title></head><body id="t_CreateCMDBHealthStaleRule"> <h1 class="title topictitle1" id="ariaid-title1">Create a CMDB Health staleness rule</h1> <div class="body taskbody"><p class="shortdesc">If the staleness metric is in effect, then <span class="ph" id="ph_StaleRulesShortDesc1">staleness rules are used to determine the percentage of stale CIs in the CMDB.</span> This sum is then aggregated into the correctness KPI.</p> <div class="section prereq p" id="t_CreateCMDBHealthStaleRule__prereq_stalerule"> <p class="p">Role required: itil has read access, itil_admin (on top of itil) has full access.</p> </div> <div class="section context" id="t_CreateCMDBHealthStaleRule__context_ngm_l3n_w2b"> <p class="p">The Discovery setting of certain types of CIs as stale takes precedence over a CMDB Health staleness rule defined for the CI. For more information about Discovery marking CIs as stale, see <a class="xref" href="../product/discovery/concept/c_DiscoveryForVMwareVCenter.html" target="_blank" rel="noopener noreferrer">Discovery for VMware vCenter</a>.</p> <p class="p"><span class="ph" id="t_CreateCMDBHealthStaleRule__ph_StaleRulesShortDesc2">Staleness rules are defined per class.</span> If a rule isn't defined for a class, then the parent's rule is automatically derived by the child class and applies for the child class. If later a staleness rule is defined at the child class level, it overwrites the staleness rule that was derived from the parent class.</p> </div> <ol class="ol steps" id="t_CreateCMDBHealthStaleRule__steps_f4k_yjw_m5"><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">CI Class Manager</span></span>.</span> </li><li class="li step stepexpand"> <span class="ph cmd">Select <span class="ph uicontrol">Hierarchy</span> to show the CI Classes list and then select the class for which to create a staleness rule.</span> </li><li class="li step stepexpand"> <span class="ph cmd">In the class navigation bar, expand <span class="ph uicontrol">Health</span>, select <span class="ph uicontrol">Correctness</span>, and then select the Staleness Rule tab.</span> </li><li class="li step stepexpand" id="t_CreateCMDBHealthStaleRule__step_step4CreateHealthStaleRule"> <span class="ph cmd">Select a staleness rule to edit or select <span class="ph uicontrol">New</span>, and then fill out the Staleness Rule form.</span> <div class="itemgroup info"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="t_CreateCMDBHealthStaleRule__table_ncm_kfw_m5" 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="d151183e120">Field</th><th class="entry cell-norowborder" style="vertical-align:top;" id="d151183e123">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry nocellnorowborder" style="vertical-align:top;" headers="d151183e120 ">Applies to</td><td class="entry cell-norowborder" style="vertical-align:top;" headers="d151183e123 ">The class for which the rule applies.</td></tr><tr class="row"><td class="entry row-nocellborder" style="vertical-align:top;" headers="d151183e120 ">Effective Duration</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d151183e123 ">The time period that is used for the staleness test.<p class="p">If the CI was not updated (based on Updated <span class="keyword parmname">sys_updated_on</span>) within the specified time period — the CI is determined to be stale.</p> <p class="p">If you enter a value with a prefix that is valid and a suffix that is not, such as 15 x — the valid portion of the value is used ('15'). If the entire value is invalid — the value is ignored and the previous valid value is used.</p> </td></tr></tbody></table> </div> </div> </li><li class="li step stepexpand" id="t_CreateCMDBHealthStaleRule__step_step5CreateHealthStaleRule"> <span class="ph cmd">Select <span class="ph uicontrol">Submit</span> or <span class="ph uicontrol">Update</span> to save the rule.</span> </li></ol> </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>