GLPI Agent and network inventory

NethServer Version: NethServer 7.9.2009
Module: nethserver-glpi-10-latest

Hi I’m evaluating GLPI for network hardware management but I’m having some problems and wanted to ask if anyone managed to get them to work.

I have installed and configured GLPI Latest and almost everything works fine.

The problem arises when I try to use the GLPI-Agent to locate and load devices into the GLPI server, but when I run the GLPI-agent it only inventory the data from the computer I use.

If I run the “GLPI-netinventory.bat” command from dos, the network devices are listed but no catalog is created and nothing is loaded into the server.

Anyone know how to help me?

Thanks in advance

@Shane_Treweek @oneitonitram and @fausp are the experts here

What os are you trying to run the agent on I’m guessing windows since you mentioned .bat glpi has a lot of different ways to accomplish inventory (kind of like zabbix) I’ve had issues sometimes with agents that usually comes down to configuration (even if you follow the instructions) sometimes you need to tweak the settings depending on the os an what you want it to do

Also sometimes port forwarding causes the agent to timeout but doesn’t tell you anything

So if you could list what is and the steps you followed so far I can try to help you

I run GLPI 9.5.x on Nethserver 7.9 and on the Client I use GLPI-Agent-1.4-x64.msi installed on Windows 10…

Installed it with:

msiexec /i GLPI-Agent-1.4-x64.msi /quiet ADD_FIREWALL_EXEPTION=1 NO_SSL_CHECK=1 RUNNOW=1 SERVER='https://<Your-Server-IP>/glpi/front/inventory.php' DEBUG=1 TASK_FREQUENCY=daily

You may could also force it with the browser: http://localhost:62354

update:
Another way would be to use the CLI with this command:

curl http://localhost:62354/now
2 Likes