How Discovery range sets are related to Discovery schedules ?

vahini
Giga Guru

Hi All , 

 

can someone help me understand how Discovery range sets is related to Discovery sets . 

First i thought it's a related list so tried to findi it in relationship table , but  i didn't see it  there . Where is it residing and how is it linked to Discovery schedule . 

 

find_real_file.png

5 REPLIES 5

Michael Fry1
Kilo Patron

It's a table - discovery_range_item - with the Schedule field set to the Discovery Schedule it belongs too.

DaveHertel
Kilo Sage
Kilo Sage

Hi -- think of Range Sets as a COLLECTION of IP subnets/ranges.  I'm generalizing a bit here, but the overall process:

1. create a Disco schedule

2. create a Range set (collection)

3. within the Range Set, create a set of IP subnets.   example: RS: "Denver data center" contains 50 IP subnet (ranges).   Unfortunately, the term 'range' is overused and is confusing.  The SET is the collection. 


  An IP RANGE is a subnet or collection of IPs (various formats for you define this ...) 

When done, a range set can be reused across multiple disco schedules - hence 1 of its big advantages.  Whereas a Discovery RANGE (not set) record, defining a set/subset of IPs can not be leveraged across multiple schedules

 

Hope this helps?

Thank you Dave, when do you use an IP Range vs IP Range Set. Sets are reusable, but if you add just an IP set in a schedule it's only visible for that schedule and not reusable...right?

Hi gernst

I stumbled on this thread while trying to wrap my head around a similar subject )))

As Michael noted above, table [discovery_range_item] holds both IP RANGES and RANGE SET ITEMS.

The difference is that IP RANGES in that table would have (empty) Discovery Range reference.

To confuse things even further apparently RANGE SET ITEMS in this table would hold both RANGE and SCHEDULE references for the first item of the SET, while the rest of the items in that SET would hold only the RANGE SET reference...

Anyway, the simplest way in terms of governance is to follow the best practice and not use the IP RANGES at all.

See if this article by Dawn Jurek helps: Best practices for setting up Discovery schedules - IT Operations Management - Blog - ServiceNow Com...