Serial Number - Discovery

Khanna Ji
Tera Guru

What is the logic behind serial number generation from Discovery? Can anybody explain?

5 REPLIES 5

adilrathore
ServiceNow Employee
ServiceNow Employee

If you are asking about how they are pulled on the discovered CI's then the logic is different for each Server class.

 

For Windows WMI is used to pull the serial number and for linux you need ssh credentials and access on the dmidecode command. For switches the SNMP OIDs are used to pull the serial number information.

tim_broberg
ServiceNow Employee
ServiceNow Employee

I'm guessing you do mean the serial numbers used to identify CIs. Those are the jobs of the various identity probes and the sensors that process their responses, and you would need to look at the appropriate one for your device class.

It seems unlikely that you mean the serial numbers in the ecc_queue records, but if so, let us know, and we can delve into that.

Khanna Ji
Tera Guru

If you look at the discovered CIs of any class, you see a serial number field. I am sure this field does not come from third party or any infrastructure. ServiceNow might be setting this field value. I want to understand the logic behind this field value and how is it set.

adilrathore
ServiceNow Employee
ServiceNow Employee

Yes. ServiceNow Discovery updates this field and I believe it does come from win32_bios class of WMI for windows servers. And this information is fetched by the Windows OS Discovery pattern and updated in the CMDB.