You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-07-08 17:08:36

khvalera
Member
Registered: 2022-07-01
Posts: 23

Serial number for Gigabyte motherboards

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

#2 2022-07-09 01:21:27

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Serial number for Gigabyte motherboards

All computers with Gigabyte J3455N-D3H motherboards received the same Unique Number (UUID) 03000200-0400-0500-0006-000700080009. How to fix it?

Offline

#3 2022-07-09 07:18:22

homebrewtainy
Member
Registered: 2020-04-04
Posts: 151

Re: Serial number for Gigabyte motherboards

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

#4 2022-07-09 21:13:46

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Serial number for Gigabyte motherboards

It turns out that Gigabyte motherboards do not have a serial number sad

dmidecode -s system-serial-number
To be filled by O.E.M.

Thanks to homebrewtainy for the help, it seems to work!

Offline

#5 2022-07-09 21:42:37

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Serial number for Gigabyte motherboards

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

Board footer

Powered by FluxBB