Make CI status to Absent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 03:17 AM
Hi All,
We are working on discovery issues and we need to know is there a way to mark the status of CI to Absent when the server is not pingable or active for 10 days in CMDB.
Please help if there is a way to achieve this through script or any custom pattern needed.
Thanks
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 04:21 AM
You can create a scheduled job to check the CI attribute "Most recent discovery" or "Updated" daily.
If that value is older than 10 days, set the status to "absent".
Regards,
Michael
Michael
Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 04:44 AM
Thanks for the reply Michael. Yeah working on that but I wanted to know is there a way to find the server is pingable or not. Because we need to know if the server is pinging or the server is inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 05:32 AM
Maybe you can do something with the table "discovery_log"?
That contains the IP Addresses that discovery tries.
Regards,
Michael
Michael
Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2022 09:40 PM
Hi Deepthi
I see 2 use case here
Server is not discoverable/Updated because that server is not on n/w
Server is on n/w but not discoverable because of Infra or User access issue.
Now please define in which use case you treat server as ABSENT?
Your configuration management process docs should talk about this and accordingly you can plane your script.
Hope this helps.
Regards
RP