Discovery Serial Number Types

sidkak
Tera Contributor

During Discovery the Serial Numbers are fetched from the Device. We understand that serial numbers are of multiple types as below.

https://docs.servicenow.com/bundle/london-it-operations-management/page/product/discovery/reference/r_SerialNumberTypes.html

('system' : Win32_ComputerSystemProduct.IdentifyingNumber);
 
('uuid' : Win32_ComputerSystemProduct.UUID);
 
('chassis' : Win32_SystemEnclosure.SerialNumber);
 
('bios' : Win32_BIOS.SerialNumber);
 
('baseboard' : Win32_BaseBoard.SerialNumber);

however the Discovery pattern script (Windows OS - Servers) points to cmdb_serial_number[1].serial_number.

Can we please understand which number [n] points to which specific serial number type?


1 REPLY 1

Pratiksha Kalam
Kilo Sage

Hi,

The Dell BIOS Serial numbers tend to be the same as their seven digit service tag, at least on some OptiPlex devices that I've tested here, such as the 3010 and 3020 models.

In Windows, entering wmic bios get serialnumber should return that correctly (and that'll do it for any device)

I'd check the discovery probe for Windows - Hardware Information as a WMI Probe.  The WMI Fields in that probe should show Win32_BIOS.SerialNumber

 

find_real_file.png

That serial number should return the same as the WMI query above.   The post-processor script should also refer to that accordingly - another thing to check.    Both of the above are normally out of the box configs so should work.

This probe should be included in the Windows - Identity discovery probe as well and is in the Windows - Identity sensor.  That sensor should be active.

I suspect what's actually happening is that the WMI query being run is actually Win32_baseboard.serialnumber as above which would return the field as you mentioned.  You can verify this by:

wmic baseboard get serialnumber

You can of course in the WMI fields above set the active to false, as long as the post-processor script doesn't need to reference it.  That way it should always return the BIOS serial number.

Also refer below link,

https://docs.servicenow.com/bundle/madrid-it-operations-management/page/product/discovery/reference/...

 

If my reply helps you at all, I’d really appreciate it if you click the Helpful button and if my reply is the answer you were looking for, it would be awesome if you could click both the Helpful and Accepted Solution buttons!

Regrads,

Pratiksha