The CreatorCon Call for Content is officially open! Get started here.

Whats the use of this Discovery property "glide.discovery.enforce_ip_sync"

Nik Amy
Tera Contributor

Hi,

We are using Discovery. Can anyone tell me whats the use of this Discovery property "glide.discovery.enforce_ip_sync".

OOB that property is set to true. So whats happening in our case is that, when a machine is having multiple NIC's/IP's, then each time that machine is getting discovered, the IP is getting changed on the form which is confusing.

I would just like to understand in general:

1. Why OOB that property is set to TRUE as its changing the IP and is confusing

2. In general, when a machine is having multiple IP's, whats the best practice to capture the right IP address, and how.

 BR,

Nik

1 ACCEPTED SOLUTION

anusha_narapura
Tera Expert

Hi Nik,

glide.discovery.enforce_ip_sync (OOB value is ‘true’)
glide.discovery.exclude_ip_sync_classes(OOB value is ‘cmdb_ci_lb’)

You can add the specific CI table to the property glide.discovery.exclude_ip_sync_classes if you do not want to get your IP changed multiple times. for .e.g. if you want to do for N/W devices, add cmdb_ci_netgear to the property (Note: property values are comma separated list of values). Hope this helps!

 

Regards,

Anusha.

View solution in original post

8 REPLIES 8

siva_
Giga Guru

Hello 

 

Hope this helps 

find_real_file.png

 

Thanks,

Siva

 

Mark the response as correct if that really helps 

doug_schulze
ServiceNow Employee
ServiceNow Employee

It's really the best guess we are taking to set the base class IP address attribute from valid IP addresses found from available NICs. And yes it changing over time can be a bit confusing and why the property if you just want to set the IP address attribute on the base class and not have discovery update it.

Hey Doug,

I am not clear with last point.

When 'glide.discovery.enforce_ip_sync' is TRUE, it keeps changing the IP address > which is confusing.

When 'glide.discovery.enforce_ip_sync' is FALSE, the IP address doesnt change.

 

Why OOB its TRUE which is a confusing use case.

Should that property be true or false.

 

Thanks!

Nik

VaranAwesomenow
Mega Sage

my take would be to keep it as true to begin with, so that ServiceNow automatically updates the IP, at the same time have a audit process in place to ensure that the IP is correct. If you observe that as part of audit process the IP address that is getting updated is not correct, then overtime a decision can be made to set the property as false.