logo

NJP

Discovery : How to check if an IP is scanned in a Discovery Schedule?

Import · Nov 07, 2023 · article

How is it possible to check if one or multiple IPs are part of one or multiple Discovery Schedules?

Use cases

  • Use Case 1 : As a Discovery Administrator, I would like to know if a list of IP associated to servers should be discovered,
    • The process of checking one by one IPs is very long.
    • Some customers have thousands of IP Ranges defined
  • Use Case 2 : As a Discovery Administrator, I would like to know if an IP might be associated to different Discovery Schedules.
    • Also can be used to know if IPs are covered before deactivating a specific Discovery Schedule

Limitations

  • Doesn't support exclusions
    • It is possible to exclude specific IPs, in the Discovery Schedule, on the MID or globally

How to Install

  • Deploy the attached Update Set (Import XML, and Commit Retrieved Update Set)

How to Use

  • Use the UI Page (acces it and use Try)
    • I didn't create a menu, as it should be reserved to admin users.
      • However you can create the menu, or a favorite to the page
  • Paste one or multiple IPs
  • Click on "Search Ips"

Example of result

BenoitCrestey_1-1699366024362.png

Thanks to Samuel Fritsch for some fixes

Labels:

View original source

https://www.servicenow.com/community/itom-articles/discovery-how-to-check-if-an-ip-is-scanned-in-a-discovery/ta-p/2725223