You are not logged in.
Pages: 1
Hi,
I found some log entries, which dont seems to be ok.
Can anybody give me a hand to fix this?
Installed is Agent 1.7.1 and Server Debian 12.5 with glpi 10.0.14
[Wed May 8 08:56:29 2024][info] GLPI Agent service starting
[Wed May 8 08:56:30 2024][info] [http server] HTTPD service started on port 62354
[Wed May 8 08:56:31 2024][info] GLPI Agent memory usage: WSS=3772416 PFU=107716608
[Wed May 8 08:56:31 2024][info] target server0: next run: Wed May 8 08:56:29 2024 - http://glpi.technologie.local/
[Wed May 8 08:56:31 2024][info] target server0: server http://glpi.technologie.local/
[Wed May 8 08:56:31 2024][info] sending prolog request to server0
[Wed May 8 08:56:32 2024][info] server0 answer shows it supports GLPI Agent protocol
[Wed May 8 08:56:32 2024][info] running task Deploy
[Wed May 8 08:56:32 2024][error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="de" >
<head>
<title>Authentifizierung - GLPI</title>
<meta charset="utf-8" />
...
[Wed May 8 08:56:32 2024][info] Deploy task not supported by server0
[Wed May 8 08:56:34 2024][info] running task Inventory
Offline
I found this at my client at C:\Program Files\GLPI-Agent\etc
It seems to be not configured anymore?
# send tasks results to a GLPI server
#server = http://server.domain.com/
# send tasks results to a GlpiInventory plugin installed via marketplace
# Read this caution note in documentation to find the right URL:
# https://glpi-agent.readthedocs.io/en/latest/configuration.html#server
#server = http://server.domain.com/glpi/marketplace/glpiinventory/
# send tasks results to a FusionInventory for GLPI server
#server = http://server.domain.com/glpi/plugins/fusioninventory/
# write tasks results in a directory
#local = /tmp
Last edited by krischeu (2024-05-15 08:45:00)
Offline
Newbie here. Not sure if the agent.cfg is used at all. Afaik the server is configured via
HKEY_LOCAL_MACHINE\SOFTWARE\GLPI-Agent
Are you using the "GlpiInventory plugin via Marketplace"?
This was the problem for me, see glpi-agent.readthedocs.io/en/latest/configuration.html#server
In that case, change the server URL to "http[:]//glpi.technologie.local/marketplace/glpiinventory/" (without the brackets, not allowed to post links here)
Offline
Pages: 1