Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Staleness metric

maheshvishw
Tera Contributor

Hello All,

 

I need to exclude the CIs that have the install status set to "Pending retire" from CMDB health dashboard specifically from the staleness metric. Currently the CIs with the status Pending retire are also included in the dashboard. What is the right way to do this?

 

Thank you,

Mahesh V

2 REPLIES 2

CasperJT
Tera Guru

Hi Mahesh,

 

You can define "Health Inclusion Rules" in the CI Class manager. For example you could create an inclusion rule for staleness, that states "Life Cycly Stage Status is not Pending Retirement":

CasperJT_0-1761552077989.png

Hope this helps.

 

//Casper

abt1639
Tera Contributor

As an additional note to this for @maheshvishw , be sure to check if the state of "retired" is also already included in your stale metric. We found that it was by default for ours.