Deleting undiscovered CIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2020 07:47 PM
Hi Guys,
Do we have any setting or property in Discovery or anywhere in instance to delete or mark CI as retired if it is not discovered in the last few days?
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2020 08:53 PM
Hi,
The best way to handle inactivation of CIs is to use the Status (install_status) field. The default value of "Installed" means that the CI is active. The choice of "Retired" is used as inactive.
hope this helps.
Thanks
Sayali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2020 09:58 PM
Un saludo,
Pablo Espinar
Consultant at Econocom Spain
Please mark this response correct if I've answered your question. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2020 07:49 AM
Consider checking out Doug & Ryan's workshop from a few years ago for tips on handling CI lifecycle. While a few years old, lots of good stuff in here
Discovery Optimized 301
Also, consider taking the self paced and free SN CMDB Fundamentals course that was recently released A snippet of the agenda covering CMDB Health:
Hope this helps?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2020 10:33 AM
While I agree to what Dave and p.espinar advised, another way of achieving the same result without writing any scheduled jobs or business rules is - create a data refresh rule for the data source 'ServiceNow' using CI class manager for the CI class you want and specify the duration you need.
The CI will be set to stale in the Status field if the CI is not updated within the duration specified. You will also be able to see these CIs as stale in the CMDB Health Dashboard as well. On periodic basis, you can review these stale CIs and verify whether they are retired or is there any other issue preventing them to be discovered.
Hope that helps!
If it did, please mark as Helpful and consider setting the reply as the Correct Answer to the question, thanks!