You are not logged in.
pleas i have Error in agnet glpi he can't connect to the server
this my LOGE
[Mon Jun 26 21:38:55 2023][info] target server0: next run: Mon Jun 26 21:39:55 2023 - (My server)
[Mon Jun 26 21:38:57 2023][info] target server0: server (MY server)
[Mon Jun 26 21:38:57 2023][info] sending prolog request to server0
[Mon Jun 26 21:38:58 2023][error] [http client] communication error: 403 Forbidden
[Mon Jun 26 21:38:58 2023][error] No answer from server at (My server)
[Mon Jun 26 21:38:58 2023][info] target server0: next run: Mon Jun 26 21:40:58 2023 - (My servre)
Offline
Hello raguebi,
first check you have enabled "Inventory support" in GLPI : you have a check box in "Administration -> Inventory" to set if you are using latest GLPI version.
Then if this is not your problem, you should share the log after you enabled debug=2 glpi-agent configuration and restarted the service.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
This my Logs and Debug level 2
[Sun Jul 2 18:03:00 2023][error] [http client] communication error: 403 Forbidden
[Sun Jul 2 18:03:00 2023][error] No supported answer from server at (My server)
[Sun Jul 2 18:03:00 2023][info] target server0: next run: Sun Jul 2 19:03:00 2023 - (My server)
[Sun Jul 2 18:03:00 2023][debug] Agent memory usage before freeing memory: WSS=19910656 PFU=122454016
[Sun Jul 2 18:03:00 2023][info] GLPI Agent memory usage: WSS=3182592 PFU=122454016
[Sun Jul 2 19:09:10 2023][info] target server0: server (My server)
[Sun Jul 2 19:09:10 2023][debug2] [http client] Using Compress::Zlib for compression
[Sun Jul 2 19:09:10 2023][info] sending prolog request to server0
[Sun Jul 2 19:09:11 2023][debug2] [http client] sending message:
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<DEVICEID>RG-BROLY-2023-07-01-11-56-57</DEVICEID>
<QUERY>PROLOG</QUERY>
<TOKEN>12345678</TOKEN>
</REQUEST>
[Sun Jul 2 19:09:12 2023][error] [http client] communication error: 403 Forbidden
[Sun Jul 2 19:09:12 2023][error] No supported answer from server at (My server)
[Sun Jul 2 19:09:12 2023][info] target server0: next run: Sun Jul 2 20:09:12 2023 - (My server)
[Sun Jul 2 19:09:12 2023][debug] Agent memory usage before freeing memory: WSS=20226048 PFU=122519552
[Sun Jul 2 19:09:12 2023][info] GLPI Agent memory usage: WSS=3182592 PFU=122519552
Offline
You didn't answer if inventory is enabled in GLPI.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
yes is enabled
Offline
first check you have enabled "Inventory support" in GLPI : you have a check box in "Administration -> Inventory" to set if you are using latest GLPI version.
Offline
Hi raguebi,
from an administrative console, change the directory to the glpi-agent folder and run the following command:
glpi-agent --debug --debug --force --logger=stderr
Then share the output if this doesn't help you to understand the problem.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline