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 2023-02-02 15:18:43

1soproni
Member
Registered: 2020-04-30
Posts: 7

same uuid, same serial but different tag

Hi  there,

We have some PBXact Applicances at multiple customers.
Unfortunately they have the same serial and UUID in the bios.
How could I import those machines to GLPI? glpi-agents send the riports with different tags but glpi mixes them up.

applicance1:

[root@xyz ~]# dmidecode -t 1,2,3
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Sangoma Technologies
        Product Name: SNG100
        Version: baytrail
        Serial Number: baytrail
        UUID: 03000200-0400-0500-0006-000700080009
        Wake-up Type: Power Switch
        SKU Number: baytrail
        Family: baytrail

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Sangoma Technologies
        Product Name: SNG100
        Version: baytrail
        Serial Number: baytrail
        Asset Tag: baytrail
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: baytrail
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

appliance2:

[root@freepbx ~]# dmidecode -t 1,2,3
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Sangoma Technologies
        Product Name: SNG075
        Version: baytrail
        Serial Number: baytrail
        UUID: 03000200-0400-0500-0006-000700080009
        Wake-up Type: Power Switch
        SKU Number: baytrail
        Family: baytrail

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: Sangoma Technologies
        Product Name: SNG075
        Version: baytrail
        Serial Number: baytrail
        Asset Tag: baytrail
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis: baytrail
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Update created by "Computer update (by tag + serial)":

Asset > Item type | is | Computers
Asset > Serial number | is already present | Yes
Asset > Serial number | exists | Yes
Asset > Inventory tag | is already present | Yes
Asset > Inventory tag | exists | Yes

What's wrong with the rule? What glpi mixed them up?

Offline

#2 2023-02-02 17:31:39

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

Re: same uuid, same serial but different tag

Hi 1soproni,
tag can't really be used for this purpose as this is indeed a data linked to the agent, not the asset.
The best way to quickly fix this problem with the agent is probably to use "addtional-content" option to set an UUID and a serial which are really uniq.
Check the answer of homebrewtainy here: https://forum.glpi-project.org/viewtopi … 16#p493616


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

Offline

#3 2023-02-03 12:47:27

1soproni
Member
Registered: 2020-04-30
Posts: 7

Re: same uuid, same serial but different tag

Great, thanks.

Offline

#4 2023-02-03 12:51:42

1soproni
Member
Registered: 2020-04-30
Posts: 7

Re: same uuid, same serial but different tag

How can I figure out easly which machines are affected in this issue?

Offline

#5 2023-02-03 13:07:11

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

Re: same uuid, same serial but different tag

Check the history log of the device that was created as its ip or agent should often change.


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

Offline

#6 2023-02-03 14:18:29

1soproni
Member
Registered: 2020-04-30
Posts: 7

Re: same uuid, same serial but different tag

I have 400+ devices...
I cannot check them one by one.

Offline

Board footer

Powered by FluxBB