You are not logged in.
Hi guys,
I am running the latest version of GLPI and I am currently testing different features of the GLPI Inventory plugin for asset management. I have a Windows Server where the latest GLPI Agent 1.5 is installed. My goal is to run different discovery and inventory jobs on this server. If I try to run the ESX inventory job, I get a basic error message:
[info] running task ESX
[error] [http client] Can't decode JSON content, starting with:
<!DOCTYPE html>
<html lang="en" >
<head>
<title>Authentication - GLPI</title>
<meta charset="utf-8" />
...
[info] ESX task not supported by server0
However, all the other discovery and inventory jobs are running perfectly fine, for example printer discovery and switch discovery. The ESX Inventory task on the GLPI Webinterface lists the agent under "planned" and "not yet run". Otherwise I cannot see an error message.
Do you have any idea what the reason for this issue could be or what further tests I can make to narrow the problem down?
Last edited by cendrillon (2023-10-18 18:00:59)
Offline
Hi
Idem for me
GLPI 10.0.11 Copyright (C) 2015-2023 Teclib' and contributors
Debian Linux 10
Apache version 2.4.38
PHP 8.3
Offline
Hi All ..
i found a way (i think) if your running via the below configs.
websrv - IIS
PHP - 8.2.15 ( with required plugins etc)
GLPI latest to date of this comment (10.0.12 ? )
GLPI Inventory PLugin installed.
* assume you have a working setup with INVT plugin *
make sure you have your directory set to PUBLIC and not the root folder of GLPI
also check you have the right rewrite rules as per the install instructions at the bottom of the webconfig file.
in IIS manager .. browse to your GLPI site, in the right panel click on " handler mappings " .. look for " static file " - right click > edit .. click on button " request restrictions " then verbs tab .. change from ALL to ONE OF THE FOLLOWING .. in the entry box enter without brackets ( GET,POST,PUT,PATCH,DELETE,OPTIONS,HEAD ) .. click OK to all
* Restart site .. or iisreset *
next check your agent settings ..
either modify the MSI file... run as / with commandline + switches .... or edit your registry to have the bellow settings for your server...
[HKEY_LOCAL_MACHINE\SOFTWARE\GLPI-Agent]
"server"="https://SRV.FQDN.net/plugins/glpiinventory/"
"httpd-trust"="127.0.0.1/32,(ip).(of).(sr).(vr)/24,
"json"="1"
"no-ssl-check"="0"
"ssl-fingerprint"="sha256$132-your-cert-thumbprint-321"
[HKEY_LOCAL_MACHINE\SOFTWARE\GLPI-Agent\Installer]
"ExecMode"="1"
"QuickInstall"="0"
"AddFirewallException"="1"
** restart agent **
=======================
with the above got it working for a bit but now stopped again...
GPLI inventory pluging config with ESXI host creds and IP
task set to run on host with agent installed + options to allow task in the inventory agent settings
GPLI SRV TASK >> HOST AGENT >> ESXI HOST
also tried vcenter - same issues
any one got a working guide on this ?
documentation / guides seems to be all over the place for GPLI
cheers and gone for now !
Last edited by SybertronNetwork (2024-02-13 01:55:29)
Offline