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 2020-12-06 19:23:21

paologri
Member
Registered: 2020-12-06
Posts: 8

Problems with Import/Update monitors with same S/N

Good morning,
We have some problems with our monitors.
We have three types of monitors (about 20 of each).
Each type has a name (CAPTION):
HP227DCB
HP247
HP247DJB
(Hannspree monitors)
and same serial number: 1234567890123 for everyone (!?).
Serial number written on back of monitors is different for each one.

In fusioninventory agent:

    <MONITORS>
<BASE64>AP///////wAiZAAAAAAAABQcAQOANB146iiApFZQoSgPUFS/74DRwLMAqUCVAJBAgYCBQHFPAjqAGHE4LUBYLEUACSUhAAAeAAAA/wAxMjM0NTY3ODkwMTIzAAAA/QA4Sx5TEgAKICAgICAgAAAA/ABIUDI0NwogICAgICAgAL8=</BASE64>
      <CAPTION>HP247</CAPTION>
      <DESCRIPTION>20/2018</DESCRIPTION>
      <MANUFACTURER>Hannspree Inc</MANUFACTURER>
      <PORT>HDMI</PORT>
      <SERIAL>1234567890123</SERIAL>
    </MONITORS>

    <MONITORS>
<BASE64>AP///////wAiZAAAAAAAACoZAQMIMBt4KvGwpVZImiQRUFS/74DRwLMAqUCVAIGAgUBxTwEBAjqAGHE4LUBYLEUA3QwRAAAeAAAA/wAxMjM0NTY3ODkwMTIzAAAA/QA4Sx5TEgAKICAgICAgAAAA/ABIUDIyN0RDQgogICAgAL0=</BASE64>
      <CAPTION>HP227DCB</CAPTION>
      <DESCRIPTION>42/2015</DESCRIPTION>
      <MANUFACTURER>Hannspree Inc</MANUFACTURER>
      <PORT>VGA</PORT>
      <SERIAL>1234567890123</SERIAL>
    </MONITORS>

    <MONITORS>
<BASE64>AP///////wAicAAAAAAAACkbAQOANB146hFgqFRIhyUaUFS/74DRwLMAqUCVAJBAgYCBQHFPAjqAGHE4LUBYLEUACSUhAAAeAAAA/wAxMjM0NTY3ODkwMTIzAAAA/QA4Sx5TEgAKICAgICAgAAAA/ABIUDI0N0RKQgogICAgAH4=</BASE64>
      <CAPTION>HP247DJB</CAPTION>
      <DESCRIPTION>41/2017</DESCRIPTION>
      <MANUFACTURER>HannStar Display Corp</MANUFACTURER>
      <PORT>HDMI</PORT>
      <SERIAL>1234567890123</SERIAL>
    </MONITORS>

We have two roles (in this order) that are ok for other (standard...) monitor:

Monitor Import Serial
    Criteria:
        Asset> Serial number exists Yes
        Asset> Item type is Monitor
    Actions:
        FusionInventory link Assign Link

Monitor Update Serial
    Criteria:
        Asset> Serial number is already present in GLPI Yes
        Asset> Serial number exists Yes
        Asset> Item type is Monitor
    Actions:
        FusionInventory link Assign Link


Role used is only 'Monitor Import Serial'.
It's create a new monitor, connect it to pc and disconnect the previous imported monitor from same pc.
I need some management.
How could I configure the roles?
Someone has an idea?
Thanks.

Paolo

P.s.
My GLPI is:
GLPI 9.4.6 Copyright (C) 2015-2019 Teclib' and contributors
FusionInventory 9.4+2.4 - Copyleft © 2010-2019 by FusionInventory Team

Offline

#2 2020-12-07 09:31:03

bzh
Member
Registered: 2016-09-25
Posts: 417

Re: Problems with Import/Update monitors with same S/N

Salut,

Effectivement les N° de séries ne sont pas toujours les bon.
Si cela peut aidé, dans la base WMI on peut le trouver le bon N° (sur les pc sous Windows)
Fonction des marques de moniteur (cela vaut parfois aussi pour d'autre périphérique) 

Mais je ne comprends pas pourquoi tu veux faire la détection/référencement depuis une seul machine ?
juste pour information HP peut si tu lui demande fournir une liste des moniteurs avec les N° de série.
Pour ta question sur la règle, je vais regarder cela (j'ai un cas comme cela)

Hello,

Indeed the serial numbers are not always the right ones.
If it helps, in the WMI database you can find the correct number (on Windows PCs)
Function of monitor brands (sometimes this also applies to other device)

But I don't understand why you want to do detection / referencing from a single machine?
just for information HP can if you ask him provide a list of monitors with serial numbers.

For your rule question, I'll watch this (I have a case like this)

Last edited by bzh (2020-12-07 09:32:13)


Virtual Box \ Ubuntu 20.4  \ GLPI 9.5.3

Offline

#3 2020-12-07 13:05:48

pfalex
Member
Registered: 2020-12-07
Posts: 1

Re: Problems with Import/Update monitors with same S/N

paologri wrote:

Good morning,
We have some problems with our monitors.
We have three types of monitors (about 20 of each).
Each type has a name (CAPTION):
HP227DCB
HP247
HP247DJB
(Hannspree monitors)
and same serial number: 1234567890123 for everyone (!?).
Serial number written on back of monitors is different for each one.

We have the same problem with OCS-NG, not import monitor with same serial number, so I think this isn't a Fusion Inventory problem or rules/roles but a GLPI issue.
bye

pfalex

Offline

#4 2020-12-07 15:49:01

bzh
Member
Registered: 2016-09-25
Posts: 417

Re: Problems with Import/Update monitors with same S/N

no, the problem comes from the manufacturers.

If you use BGInfo and read the WMI database of a PC depending on the manufacturer, in does not place the information in the same title

it is the same for the screens, and I am not talking about the CMs which are changed (even under warranty) ditto


Virtual Box \ Ubuntu 20.4  \ GLPI 9.5.3

Offline

#5 2020-12-07 17:37:41

paologri
Member
Registered: 2020-12-06
Posts: 8

Re: Problems with Import/Update monitors with same S/N

bzh wrote:

Salut,

Effectivement les N° de séries ne sont pas toujours les bon.
Si cela peut aidé, dans la base WMI on peut le trouver le bon N° (sur les pc sous Windows)
Fonction des marques de moniteur (cela vaut parfois aussi pour d'autre périphérique) 

Mais je ne comprends pas pourquoi tu veux faire la détection/référencement depuis une seul machine ?
juste pour information HP peut si tu lui demande fournir une liste des moniteurs avec les N° de série.
Pour ta question sur la règle, je vais regarder cela (j'ai un cas comme cela)

Hello,

Indeed the serial numbers are not always the right ones.
If it helps, in the WMI database you can find the correct number (on Windows PCs)
Function of monitor brands (sometimes this also applies to other device)

But I don't understand why you want to do detection / referencing from a single machine?
just for information HP can if you ask him provide a list of monitors with serial numbers.

For your rule question, I'll watch this (I have a case like this)

Hi,
thanks for reply.
I have see registry in:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY\HSD0000\5&247a25da&0&UID4357\Device Parameters.
The EDID key have same serial number.

For you, is a convenient workaround to modify the register key with correct serial number?

Is possible to do three global monitor (one for each monitor type) if is not possible to have single unit?

What do you mean: why you want to do detection / referencing from a single machine?

Thanks
Paolo

Offline

#6 2020-12-08 15:57:52

bzh
Member
Registered: 2016-09-25
Posts: 417

Re: Problems with Import/Update monitors with same S/N

For me it would be that the builders created a rule and applied it
their level of error is not huge either

style:
  screen serial number
or
  display serial number

But very impatient for people like us who have the management of computer park realized daily.

In the park I currently manage (at my client's)
the management is done via a list in an Excel file.
this contains the Excel elements (csv) with the serial number.

I do not create this file, but it comes from an export of the database.
a model is created in the database without serial number and exported
in csv
then with the csv + the serial numbers it is reimported into the database
my client does not use fusioninvenory or OCS inventory

All the monitors are therefore imported into the database, when a screen has attribute to a user, we assign him the name of the person and elements such as the number of his office.

P.S. does not link a screen with a pc!
because we change PCs faster than screens and undo the links to redo them is a good way to waste time!
(that's my opinion)


Virtual Box \ Ubuntu 20.4  \ GLPI 9.5.3

Offline

#7 2021-03-02 21:53:06

paologri
Member
Registered: 2020-12-06
Posts: 8

Re: Problems with Import/Update monitors with same S/N

Hi,
this is the solution i used.
I have installed the monitors in locations that will not be modified.
I have generated for each monitor (there are only 20) a *.inf file with the correct serial number and installed in each PC with its monitor.
Now in glpi the monitors have the correct serial number and are connected to the pc.
Now I can add the inventory number.
Thank you all.

Offline

#8 2021-03-19 10:53:23

stendov
Member
Registered: 2021-03-19
Posts: 3

Re: Problems with Import/Update monitors with same S/N

paologri wrote:

Hi,
this is the solution i used.
I have installed the monitors in locations that will not be modified.
I have generated for each monitor (there are only 20) a *.inf file with the correct serial number and installed in each PC with its monitor.
Now in glpi the monitors have the correct serial number and are connected to the pc.
Now I can add the inventory number.
Thank you all.

Hello!
Can you please help me with same problem?
There are few monitors that glpi identify as the single monitor, for glpi it looks like I connect this monitor many times to different pc's but i'm not.
Can you please tell me more about creating *.inf files that can replace monitor's S/N with a correct one as i understand. I need some instructions how may I do that.

Thank you!

Offline

#9 2021-03-21 16:38:07

paologri
Member
Registered: 2020-12-06
Posts: 8

Re: Problems with Import/Update monitors with same S/N

I created * .inf files for each monitor with this sw:
Monitor Asset Manager 2.9 - EnTech
I manually changed the serial number and saved it.

Next, I install the * .inf file in Device Manager - monitor driver update.
Be careful that it is not a certificate file and if you want to install it in Windows 10, you have to restart the PC in 'advanced restart'

Offline

#10 2022-07-19 16:47:28

ComLu
Member
Registered: 2020-01-28
Posts: 65

Re: Problems with Import/Update monitors with same S/N

Same problem here with hanstar and hansspree monitors.

We have two models with this "123" serials.

We have about 100:
Model: HannStar HSG1370
Serial: 1234567890123

and about 30:
Hanns.G HP198DJB
12345678901231

sad

any suggestion?
@paologri can you explain how you create .inf?
do you saved the file .inf and edited the [OVERRIDDEN-EDID_AddReg]?

Never ever buy again hans* monitors!

p.s. are you italian?

Last edited by ComLu (2022-07-19 16:48:36)

Offline

#11 2022-08-05 16:06:26

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 534
Website

Re: Problems with Import/Update monitors with same S/N

Hi here,

can you share the MONITORS nodes from the XML file like paologri did but also providing the expected S/N for each so I can check if there can be some hidden logic to find the expected serial ?


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

Board footer

Powered by FluxBB