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-09-12 12:25:48

ArekSM
Member
Registered: 2022-09-12
Posts: 1

Native inventory probelm with network adapter

GLPI 10.0.2
GLPI Agent 1.4
Native inventory

The network port is not recognized correctly with the current installation. The JSON file generated by glpi agent does not contain the "type" field for the networks. (inventory_format / inventory.schema.json on glpi github)
Example:

      "networks": [
         {
            "description": "Qualcomm Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.30)",
            "ipaddress": "xxx.xxx.xxx.xxx",
            "ipdhcp": "xxx.xxx.xxx.xxx",
            "ipgateway": "xxx.xxx.xxx.xxx",
            "ipmask": "xxx.xxx.xxx.xxx",
            "ipsubnet": "xxx.xxx.xxx.xxx",
            "mac": "90:2B:34:xx:xx:xx",
            "pciid": "1969:1083:E000:1458",
            "pnpdeviceid": "PCI\\VEN_1969&DEV_1083&SUBSYS_E0001458&REV_C0\\4&300c63fb&0&0030",
            "speed": "1000",
            "status": "up",
            "virtualdev": false
         }

After importing the inventory result, the network port cannot edit the connection to ethernet network devices. When I manually add

"type": "ethernet" 

to the JSON file, everything is OK after import inventory from file.
What could be wrong?

Offline

#2 2022-09-12 13:28:34

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: Native inventory probelm with network adapter

Hi.

Try updating to 10.0.3 first. https://nightly.glpi-project.org/glpi/


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB