How to restrict specific fields to not get updated via discovery ?

Gaurav Kumar15
Giga Guru

Hi All,

In our instance discovery for network devices is running and it is updating so many variables on Network Device. We want to restrict it to not update some variables, whenever it discovers a device. So could someone please advice on how can we restrict that, i am not sure which probe and sensor gets linked to a discovery, so need to locate that as well.

Could someone please share your experience on this.

Thanks,

Gaurav

5 REPLIES 5

vNick
ServiceNow Employee
ServiceNow Employee

Hi Gaurav



You likely don't want to modify the probe, but you can restrict attributes allowed to be updated for each data source by creating reconciliation definitions per source.   To see which probe(s) get triggered, look at the CI classification (probably under SNMP classifications) and see the "Triggers probe(s)" tab.



Reconciliation rules



-Nick


chanduchappa
ServiceNow Employee
ServiceNow Employee

Hi Nick,



The simple solution here is to create a before business rule.



For example, discovery classifies CI as "Switch" as your network device, you can - create a before business rule on cmdb_ci_ip_switch,


When created by is your midserver user,   you can null out the attributes, which you do not want.



-Chandu


Creating a BR is not best practice. What Nick shared is the best way moving forward.


Hi @chanduchappa 

Can you explain how can we do that using the BR?