Discovery Patterns - Use the BIOS Serial Number instead of Baseboard?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 01:54 PM
I am beginning to test New York along with the newer Pattern Discovery method. Everything seems to be working as it should, but I cannot figure out how to change the serial number type that is being plugged into the computer record. I've tried a few things that seemed "obvious", but didn't work (a few minor pattern changes, pro and post script changes), and I don't want to go too crazy changing things as we're trying to keep a clean testing environment. Can anyone tell me how to change the SN use from Baseboard to BIOS? As always, thanks for the help!
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2019 03:22 AM
Hello Jason,
If you take a look at the Windows OS - Server Pattern you will see in step 5 it sets the serial number there. You may want to take a look at the cmdb_serial_number table that it builds and add an extension section that overrides the serial number that is set on the CI. I haven't looked at it in a while but I think that cmdb_serial_number table it builds will have the serial number and the type so you could just filter on the type field right there and that should get you the single entry you want at which point you would just set it to the appropriate field (similar to what step 5 is doing but instead of taking just the first entry in the table you will filter it to be the one you want and then set that). Make sure you do it in an extension section though.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2019 07:50 AM
ServiceNow HI already has a workaround for this with flipping the pattern steps for baseboard and BIOS: KB0749739