You are not logged in.
Hello, I installed the GLPI agent on windows with the command: C:\>msiexec /i GLPI-Agent-1.4-x64.msi /quiet SERVER="h..ps://myserver/glpi/front/ inventory.php" NO_SSL_CHECK=1 RUNNOW=1
and yet nothing goes up in the inventory and when I look at the logs:
[Thu Jun 15 11:02:57 2023][info] target server0: server h..ps://myserver/glpi/front/inventory.php
[Thu Jun 15 11:02:57 2023][info] sending prolog request to server0
[Thu Jun 15 11:02:57 2023][info] [http client] SSL Client warning: Peer certificate not verified
[Thu Jun 15 11:02:57 2023][info] [http client] SSL Client info: Cert-Issuer: '/CN=localhost', Cert-Subject: '/CN=localhost', Version: 'TLSv1_3', Cipher: 'TLS_AES_256_GCM_SHA384'
[Thu Jun 15 11:02:57 2023][info] [http client] SSL server certificate fingerprint: sha256$XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[Thu Jun 15 11:02:57 2023][info] [http client] You can set it in conf as 'ssl-fingerprint' and disable 'no-ssl-check' option to trust that server certificate
[Thu Jun 15 11:02:57 2023][error] [http client] authentication required, no credentials available
[Thu Jun 15 11:02:57 2023][error] No answer from server at h..ps://myserver/glpi/front/inventory.php
[Thu Jun 15 11:02:57 2023][info] target server0: next run: Thu Jun 15 11:06:57 2023 - h..ps://monserveur/glpi/front/inventory.php
[Thu Jun 15 11:02:57 2023][info] GLPI Agent memory usage: WSS=3301376 PFU=116514816
Ideas ?
Offline
Your log is reporting:
authentication required, no credentials available
This means you have a server configuration problem which prevents GLPI to accept an inventory as usual.
First did you check in GLPI -> Administration -> Inventory -> Configuration is "Enable inventory" is checked ? If yes, check your http server configuration to validated it can server /front/inventory.php with the URL you expect.
Also if you forced the authentication in some way in http server configuration, you can use "username" & "password" parameter for glpi-agent ot get it authenticated.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
First when i go check in GLPI -> Administration -> Inventory -> Configuration "Enable inventory" does not exist. My GLPI is in version 10.0.1.
Offline
That option is available in new GLPI release and you don't need it in 10.0.1. So if you don't setup by yourself authentication for inventory, you'll have to understand what is wrong in your server configuration.
Anyway, check this documentation to verify you configured the right "server" url in your agent: https://glpi-agent.readthedocs.io/en/la … tml#server
And of course, upgrade your GLPI, many bugfixes and security issues has been addressed since 10.0.1.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline