Serial number shows as "default string"

nikhil_agr20
Tera Contributor

I have a specific computer model "GIGABYTE GB-BSi7-6500". For this computer model, I am getting serial number "default string" for chassis, baseboard, system & bios type. For uuid serial number type, I am getting alphanumeric value. The issue is that, we have more than 30 computers with same model. By default, Discovery is setting cmdb_ci_computer.serial_number to system serial number which is "default string".

So I created a new step(6. Copy of Insert serial number to cmdb_ci_computer) in Pattern "Windows OS - Desktops" to set the uuid as cmdb_ci_computer.serial_number for computer model "GIGABYTE GB-BSi7-6500". When I am running discovery, It shows uuid serial number in pattern log but on CI, it still shows "default string". Why it is still showing it while in pattern it shows uuid serial number.

Please suggest. I have attached the screenshots,

1 ACCEPTED SOLUTION

Andrew Westerv4
Mega Guru

Rather than customizing the pattern, it's better if you were to add in a new Invalid Serial Number [dscy_invalid_serial] to avoid this situation. The "Windows - Hardware Information" pattern filters out invalid serials before it sends them to "Insert serial number to cmdb_ci_computer".

View solution in original post

2 REPLIES 2

Andrew Westerv4
Mega Guru

Rather than customizing the pattern, it's better if you were to add in a new Invalid Serial Number [dscy_invalid_serial] to avoid this situation. The "Windows - Hardware Information" pattern filters out invalid serials before it sends them to "Insert serial number to cmdb_ci_computer".

Good call, not many folks know of that table...