You are not logged in.
Pages: 1
for Gigabyte motherboards, glpi-inventory does not get the <MSN> serial number. Is it possible to fix this somehow?
GLPI Inventory 1.0.3
GLPI Agent (1.4)
Offline
All computers with Gigabyte J3455N-D3H motherboards received the same Unique Number (UUID) 03000200-0400-0500-0006-000700080009. How to fix it?
Offline
Hi @khvalera
(Google Translate...)
I share with you an exchange with the members of the DEV GLPI team in this thread:
https://forum.glpi-project.org/viewtopic.php?id=283803
I ran into the same issue, and the "quickest" and "cleanest" workaround is to use " additional-content " on the local agent.
I think it doesn't work in the case of a "remote inventory"
The " additional-content " option can be used with the latest version 1.4 of the GLPI-Agent
Step 1 :
Create a *.json file "whatever_you_want.json" in the /etc (\etc) directory of the local GLPI-Agent tree, with this type of content:
{
"content": {
"bios": {
"ssn": "MY_Serial_Number"
},
"hardware": {
"uuid": "my_UPPERCASE_well_formated_UUID"
}
}
}
2nd step :
In the GLPI-Agent configuration (under MS-Windows, it is in the Registry Base...), specify the use of the "additional-content" file by indicating the absolute path of this one:
C:\Program Files\GLPI-Agent\etc\hatever_you_want.json
Step 3:
Stop and restart the GLPI-Agent service and run an inventory again.
Normally, the substitution values defined in the file passed as a parameter of "additional-content" will be uploaded in the GLPI...
Enjoy!
Last edited by homebrewtainy (2022-07-09 07:18:50)
Creuser, creuser... creuser.
GLPI 10.0.16 [ Linux el 9.4 | Apache/2.4.xx | mysql 15.1 MariaDB 10.5.xx | PHP 8.3.x ] - Apache HTTPS r-proxy [ Linux el 9.4 | Apache/2.4.xx ]
GLPI Inventory 1.3.5 | Data Injection 2.13.5 | Treeview (Arborescence) 1.10.2 | Behaviors (Comportements) 2.7.3
-- Any exchange not written in French comes from an automatic translation. --
Offline
It turns out that Gigabyte motherboards do not have a serial number
dmidecode -s system-serial-number
To be filled by O.E.M.
Thanks to homebrewtainy for the help, it seems to work!
Offline
UUID 03000200-0400-0500-0006-000700080009 is a dummy number used by various card manufacturers and will have to be generated by uuidgen itself.
Offline
Pages: 1