Closed Stijn-weather closed 9 months ago
Will be fixed in next glpi release; see https://github.com/glpi-project/glpi/pull/16408
As a workaround, you can manually patch 3rd party lib; see related commit: https://github.com/glpi-project/inventory_format/commit/36a1684fbcfcf36edcf3f4a5ff32d6b19e127009
Describe the bug
When running glpi-injector on an .xml file generated by the netdiscovery tool, the device does not get added to our inventory and we get this error. Device is not inventoried at all. Not under "unmanaged devices", nor "Equipments refused by rules log"
To reproduce
sudo glpi-netdiscovery --host 192.168.16.232 --credentials version:2c,community:public --debug -i -s .
sudo glpi-injector -f ./netinventory/192.168.16.232.xml -u https://our-glpi-inventory.com/ --debug -vv
Expected behavior
The device would show up under "Network Devices"
Operating system
Linux
GLPI Agent version
Nightly build (git version in additional context below), Other (See additional context below)
GLPI version
10.0.10
GLPIInventory plugin
1.3.4, Other (See additional context below)
Additional context
GLPI Agent (1.7-git6961b4c7)