How Related IPs ("CI IPs" tab) are maintained?

jcanjura
Mega Expert

Hi, 

We have a couple of servers that have been refreshed and one of them has both, the new and the old, IP addresses listed in the "CI IPs" tab. Running "ipconfig /all" shows only ONE IP per server.

If we re-discover both servers they are updated but one of them keeps those old IP addresses in the related IP list ("CI IPs" tab). How those entries are removed if the IP addresses are no longer configured on the target server?

Thanks.

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Rahul Priyadars
Giga Sage
Giga Sage

as per this KB- https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0864627

Discovery should remove -The IP address related list [cmdb_ci_ip_address] will still be correctly updated to remove the invalid/absent IP.

if its not happening i think open a HI case.

Regards

RP

 

View solution in original post

3 REPLIES 3

Sandeep132
Kilo Sage
Hi, Can you check if implementing delete strategy works for your use case. You can find more information about it here https://docs.servicenow.com/bundle/rome-it-operations-management/page/product/discovery/task/set-deletion-strategy.html The other you can handle this is by custom scripts checking Most recent discovery field and deleting the entries if they are not discovered after x amount of days. Thanks

DaveHertel
Kilo Sage
Kilo Sage

Hi - I'm guessing a little bit here (because i'm not bothering to dig into the pattern to verify..).   I suspect the  old IP's for a CI should be getting purged as part of the pattern for the server but... maybe my guess is wrong.   But, its probably safe just to whack the old, known-invalid IPs.  Since they don't really exist on the server, they should not come back next time disco discovers the box.

The only reason I can think to leave them around is if for some unusual reason these CI IP records are referenced by a task (incident, etc.).   That's unlikely... but could happen depending on your instance setup.  Otherwise, these old CI's representing an IP address are just clutter.

Hope this helps?

Rahul Priyadars
Giga Sage
Giga Sage

as per this KB- https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0864627

Discovery should remove -The IP address related list [cmdb_ci_ip_address] will still be correctly updated to remove the invalid/absent IP.

if its not happening i think open a HI case.

Regards

RP