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 2024-06-28 09:15:56

Terrokkar
Member
Registered: 2024-06-20
Posts: 14

GLPI Agent is not able to create inventory

Hello all,

Ive installed GLPI agent and GLPI Inventory plugin (which i later disbled for troubleshooting).

Agent communicates with GLPI server and the Agent is created in Inventory/Agents tab. However it does not send any inventory data whatsoever, even manual CMD command for inventory fails.

Error:

C:\Program Files\GLPI-Agent>glpi-inventory --json >inventory.json
Can't locate loadable object for module Digest::SHA in @INC (@INC contains: C:/Program Files/GLPI-Agent/perl/agent ./lib C:/Program Files/GLPI-Agent/perl/site/lib C:/Program Files/GLPI-Agent/perl/vendor/lib C:/Program Files/GLPI-Agent/perl/lib) at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/Inventory.pm line 7.
Compilation failed in require at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/Inventory.pm line 7.
BEGIN failed--compilation aborted at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/Inventory.pm line 7.
Compilation failed in require at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/Task/Inventory.pm line 13.
BEGIN failed--compilation aborted at C:/Program Files/GLPI-Agent/perl/agent/GLPI/Agent/Task/Inventory.pm line 13.
Compilation failed in require at perl\bin\glpi-inventory line 14.
BEGIN failed--compilation aborted at perl\bin\glpi-inventory line 14.

glpi-injection also fails:
C:\Program Files\GLPI-Agent>glpi-injector -f inventory.json --verbose --debug -u http://<server IP>/glpi/front/inventory.php
Loading inventory.json...[960D5D3C] [agentid:0a13a211-7162-1014-a6ff-8e1e99643f7a] ERROR: 500 Can't connect to <server IP>:80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.), Bad content as server response
DEBUG: Can't connect to <server IP>:80 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. at C:/Program Files/GLPI-Agent/perl/vendor/lib/LWP/Protocol/http.pm line 49.

These elements were not sent:
inventory.json





Ive read all the available documentation on GLPI Agent and ive not found a single clue as to why this would fail.
All the inventory agent settings are stock, SSL disabled, installation retried like 10 times.

If someone has some idea it would be very helpful!

Thank you,
Terrokkar

Offline

Board footer

Powered by FluxBB