You are not logged in.
Hi,
I'm very beginner on GLPI.
I installed GLPI 10.0.6 and GLPI Inventory Plugin 1.1.0 (not Marketplace) under a Windows server successfully, also "GLPI Agent 1.5-git10c4ec5e" on the same server.
After a while GLPI collected the server inventory under computer and all its installed components, great :)
My issue is, that I'm not able to collect Inventory from other computers!
I installed GLPI Agent 1.5-git10c4ec5e and newer ones on 3 more computer with the same configuration, all 3 agents are visible under GLPI Inventory, but no computer inventory are collected!
This is the GLPI Agent log on one of my computers:
[Fri Mar 3 14:20:35 2023][info] GLPI Agent service starting
[Fri Mar 3 14:20:36 2023][info] [http server] HTTPD service started on port 62354
[Fri Mar 3 14:20:37 2023][info] GLPI Agent memory usage: WSS=3805184 PFU=107687936
[Fri Mar 3 14:20:37 2023][info] target server0: next run: Fri Mar 3 15:11:41 2023 - http://My_IP/
[Fri Mar 3 14:20:55 2023][info] target server0: server http://My-IP/
[Fri Mar 3 14:20:55 2023][info] sending prolog request to server0
[Fri Mar 3 14:20:55 2023][info] server0 answer shows it supports GLPI Agent protocol
[Fri Mar 3 14:20:55 2023][info] running task Inventory
[Fri Mar 3 14:20:55 2023][info] New inventory from WS53-2023-03-03-14-20-35 for server0
[Fri Mar 3 14:21:53 2023][error] [http client] communication error: 500 Internal Server Error
[Fri Mar 3 14:21:53 2023][error] [http client] unexpected content, starting with: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www_w3_org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www_w3_org/1999/xhtml">
[Fri Mar 3 14:21:53 2023][info] running task Deploy
[Fri Mar 3 14:21:54 2023][error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="de" >
<head>
<title>Authentifizierung - GLPI</title>
<meta charset="utf-8" />
...
[Fri Mar 3 14:21:54 2023][info] Deploy task not supported by server0
[Fri Mar 3 14:21:54 2023][info] running task Collect
[Fri Mar 3 14:21:54 2023][error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="de" >
<head>
<title>Authentifizierung - GLPI</title>
<meta charset="utf-8" />
...
[Fri Mar 3 14:21:54 2023][info] Collect task not supported by server0
[Fri Mar 3 14:21:55 2023][info] target server0: next run: Fri Mar 3 15:14:36 2023 - http://My-IP/
[Fri Mar 3 14:21:55 2023][info] GLPI Agent memory usage: WSS=3526656 PFU=135458816
[Fri Mar 3 14:22:48 2023][info] running task Deploy: storage maintenance event
What did I wrong?
Can someone help?
Thanks in advance :)
Offline
Hi m.zandi,
you should first try to set the "server" URL on the agent configuration to:
http://My_IP/marketplace/glpiinventory
There's an explanation there: GLPI-Agent Documentation
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Hi gbougard,
Thanks for reply, I installed the plug in version not marketplace.
I tried http://My_IP/plugins/glpiinventory as well, no result!
Hier is the new errors:
[Mon Mar 6 15:09:11 2023][info] target server0: server http://MY_IP/plugins/glpiinventory
[Mon Mar 6 15:09:11 2023][info] sending prolog request to server0
[Mon Mar 6 15:09:11 2023][error] [http client] communication error: 405 Method Not Allowed
[Mon Mar 6 15:09:11 2023][error] No supported answer from server at http://My_IP/plugins/glpiinventory
[Mon Mar 6 15:09:11 2023][info] target server0: next run: Mon Mar 6 15:10:11 2023 - http://My_IP/plugins/glpiinventory
[Mon Mar 6 15:10:11 2023][info] target server0: server http://My_IP/plugins/glpiinventory
[Mon Mar 6 15:10:11 2023][info] sending prolog request to server0
[Mon Mar 6 15:10:11 2023][error] [http client] communication error: 405 Method Not Allowed
[Mon Mar 6 15:10:11 2023][error] No supported answer from server at http://My_IP/plugins/glpiinventory
[Mon Mar 6 15:10:11 2023][info] target server0: next run: Mon Mar 6 15:12:11 2023 - http://My_IP/plugins/glpiinventory
[Mon Mar 6 15:10:11 2023][info] GLPI Agent memory usage: WSS=3469312 PFU=114913280
[Mon Mar 6 15:11:03 2023][info] running task Deploy: storage maintenance event
Offline
Update:
I added a "/" at the end of the server address an seems better, just get anothe error:
[Tue Mar 7 07:05:42 2023][info] New inventory from WS53.xxx.xx-2023-03-03-14-20-35 for server0
[Tue Mar 7 07:06:37 2023][error] [http client] unexpected content, starting with: <!DOCTYPE html>
Can someone explain please :-)
Offline
Hi m.zandi,
sorry, I read too quickly your first post and missed the "not" before Marketplace. But you read the doc and fixed my mistake yourself, nice
The fact you need to add "/" to obtain a different comportement is to me a symptom of a misconfiguration problem in the http server where you installed GLPI. You talked about windows server, but did you installed on IIS or in a WAMP configuration ? Anyway, you reached my limits here. I hope another user with the same kind of configuration can help you.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
Hi gbougard,
Thanks a lot for message and help.
GLPI ist installed under IIS and not WAMP.
Regards.
Offline
After reinstall and reconfig the IIS on Server everyting ist working fine.
Offline