You are not logged in.
Pages: 1
I have glpi server set up with a self signed certificate.
The GLPI Agent 1.5 install is able to update the inventory when installing as I have the "RUNNOW=1" flag.
I have the no-ssl-check value set to 1 on the client machine
When trying to force and inventory with the below line. I get the following error
glpi-injector --file inventory.json --url https://glpi/front/inventory.php --debug
------------------------------------------------------------------------
Loading inventory.json...[7D276176] [agentid:4ac743d6-6bf4-1014-9f52-f70c414f27f4] ERROR: 500 Can't connect to glpi:443 (Bad file descriptor), Bad content as server response
DEBUG: Can't connect to glpi:443 (Bad file descriptor)
Bad file descriptor at C:/Program Files/GLPI-Agent/perl/vendor/lib/LWP/Protocol/http.pm line 50.
These elements were not sent:
inventory.json
Offline
Hi leont,
glpi-injector is a script which not read the configuration. So you must completly configure it on the commandline and so use --no-ssl-check parameter.
P.S.: Just to be clear you're not forcing an inventory with glpi-injector, but you're uploading a locally generated inventory. I guess you forced the local inventory with glpi-inventory script.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
On windows, you can force an inventory using the configuration set during install by simply:
open an administrative console
change directory to glpi-agent installation folder
run:
glpi-agent --force --logger=stderr
You can also simply access
http://127.0.0.1:62354/
unless you disabled glpi-agent httpd daemon and click on "Run now" or not running as a service.
You can also try to use glpi-agentmonitor (which also can be installed from the MSI package using AGENTMONITOR=1).
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Adding the --no-ssl-check after my sync worked. Thank you!
Offline
Pages: 1