glpi-project / glpi-agent

GLPI Agent
GNU General Public License v2.0
212 stars 51 forks source link

Les numéros de serie des écrans Samsung ne sont pas ou mal remonter par l'agent #622

Open kevinvasseurnovatlas opened 3 months ago

kevinvasseurnovatlas commented 3 months ago

Bug reporting acknowledgment

Yes, I read it

Professional support

Yes, I know

Describe the bug

Bonjour,

Sur certains écrans Samsung le numéro de série remonté par l'agent GLPI n'est pas le bon.

Exemple avec des câbles Display ou des docking cela fonctionne, certains écrans ne sont pas remonté du tout car pas de numéro de série détecté d’après l'agent.

Ci-dessous différent exemple avec 3 modèls d'écrans différents :

Pas de numéro de série et numéro altserial faux, branchement HDMI

{ "altserial": "5a5a4841", "base64": "AP\/\/\/\/\/\/\/wBMLaMMQUhaWgcbAQOANR54Kp\/xpVVQniYQUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUAEyshAAAeAR0AclHQHiBuKFUAEyshAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNDUwCiAgICAgAcc=", "caption": "S24E450", "description": "7\/2017", "manufacturer": "Samsung Electric Company", "serial": "" }, Numéro de serie erronée en branchement HDMI

{ "base64": "AP\/\/\/\/\/\/\/wBMLbgMTUdaWiobAQOANB14Kn3RpFZQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAR0AclHQHiBuKFUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNjUwCiAgICAgAeICAxrxRpAEHxMSAyMJBweDAQAAZgMMABAAgAEdALxS0B4guChVQAklIQAAHowK0JAgQDEgDEBVAAklIQAAGIwK0Iog4C0QED6WAAklIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyQ==", "caption": "S24E650", "description": "42\/2017", "manufacturer": "Samsung Electric Company", "serial": "5a5a474d" }, Numéro de serie et remonté OK avec un cable USB vers Display sur l'écran

{ "altserial": "MGZZH4ZJA03772", "base64": "AP\/\/\/\/\/\/\/wBMLbcMWlpHTSobAQSlNB14Io7hpFdQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRFNjUwCiAgICAgAAAA\/wBINFpKQTAzNzcyCiAgAT0CAw7BQZAjCQcHgwEAAAI6gBhxOC1AWCxFAAklIQAAHgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfQ==", "caption": "S24E650", "description": "42\/2017", "manufacturer": "Samsung Electric Company", "serial": "H4ZJA03772" }, Numéro de série erronée HDMI

{ "base64": "AP\/\/\/\/\/\/\/wBMLUwKNTMzMAkYAQOANB14Kn3RpFZQoSgPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUACSUhAAAeAR0AclHQHiBuKFUACSUhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjRDNTUwCiAgICAgAfQCAxrxRpAEHxMSAyMJBweDAQAAZgMMABAAgAEdALxS0B4guChVQAklIQAAHowK0JAgQDEgDEBVAAklIQAAGIwK0Iog4C0QED6WAAklIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyQ==", "caption": "S24C550", "description": "9\/2014", "manufacturer": "Samsung Electric Company", "serial": "30333335" } Numéro de série erronée en HDMI

{ "base64": "AP\/\/\/\/\/\/\/wBMLdwINDYxMCkWAQOAPCJ4KvgxpFZPnScPUFS\/74BxT4HAgQCBgJUAqcCzAAEBAjqAGHE4LUBYLEUAVlAhAAAeAR0AclHQHiBuKFUAVlAhAAAeAAAA\/QAySx5REQAKICAgICAgAAAA\/ABTMjdCMzUwCiAgICAgAXYCAxGxRpAEHxMDEmUDDAAQAAEdALxS0B4guChVQFZQIQAAHowK0JAgQDEgDEBVAFZQIQAAGIwK0Iog4C0QED6WAFZQIQAAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6Q==", "caption": "S27B350", "description": "41\/2012", "manufacturer": "Samsung Electric Company", "serial": "30313634" },

N’hésitez pas à revenir vers moi pour plus d'informations.

To reproduce

A chaque inventaire automatique ou manuel les numéros de serie de certains écrans ne remonte pas.

Expected behavior

Obtenir les bon numéros de série avec tout type de branchement

Operating system

Windows

GLPI Agent version

1.7.1

GLPI version

10.0.13

GLPIInventory plugin or other plugin version

GLPI Inventory v1.3.5

Additional context

No response

g-bougard commented 2 months ago

Hi @kevinvasseurnovatlas

please use english to have a larger audience.

I think you have the same symptom than for this Philips manufacturer case #641: The EDID block is simply wrong when a monitor is connected via HDMI. This is a recurrent problem with few manufacturers.

This is definitively a manufacturer problem and we can't do anything unless the manufacturer provides a way to find their monitor serialnumber when the monitor is connected via hdmi.

In Samsung case, this seems to be even worth than for Philips one as the serial part is even generic and is probably shared with all same models.

kevinvasseurnovatlas commented 2 months ago

Good morning,

Previously with Fusion Inventory we didn't have this problem, that's what's surprising.

g-bougard commented 1 month ago

Hi @kevinvasseurnovatlas

are you able to provide the <MONITORS></MONITORS> XML nodes of any FI Agent version with the expected serial number ?

For your information, you can install FI Agent at the same time than GLPI Agent. You should just use the "manual" mode to avoid any conflict on use httpd-port and so it won't run as a service. Then you can run from as administrative console and prom the FI Agent folder the following command to generate an inventory.xml file under its installation folder: fusioninventory-inventory >inventory.xml

To be honest, You may think it worked before but the monitor was in one of the following context: