You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-07-31 12:50:10

Bames Jrown
Member
Registered: 2023-03-21
Posts: 3

GLPI Agent 1.5 Problem

Hello Everyone, hope someone can help

I have updated my version from 1.4 to 1.5.

During the installation I set everything the same as for the 1.4 version.
"Disable SSL check" & "Add exception on the Firewall" & "Enable embedded HTTP-server" & "Save local inventory using JSON format" was also checked/enabled during the installation process.
=> like the 1.4 version


Have uninstalled the 1.5 again and installed the 1.4, with the same settings, then it works and the agent transmits the data.

Get the following error message in the LOG file:

[Tue Jul 25 13:59:27 2023][info] running task Inventory
[Tue Jul 25 13:59:27 2023][info] New inventory from 2139-dpc-lit.jfg.one-2023-07-24-16-06-01 for server0
[Tue Jul 25 14:00:07 2023][info] [http client] SSL Client warning: Peer certificate not verified
[Tue Jul 25 14:00:07 2023][info] [http client] SSL Client info: Cert-Issuer: '/DC=one/DC=jfg/CN=jfg.one-CA', Cert-Subject: '/C=DE/ST=NRW/L=Dueren/O=JFG/emailAddress=orgdv@de/CN=helpdesk.jfg.one', Version: 'TLSv1_3', Cipher: 'TLS_AES_256_GCM_SHA384'
[Tue Jul 25 14:00:07 2023][info] [http client] SSL server certificate fingerprint: sha256$0c11396a3e39c89af3255f441ab48a273a0dcb535125767a6e614d576cea2775
[Tue Jul 25 14:00:07 2023][info] [http client] You can set it in conf as 'ssl-fingerprint' and disable 'no-ssl-check' option to trust that server certificate
[Tue Jul 25 14:00:07 2023][error] [http client] communication error: 500 Internal Server Error, JSON does not validate. Violations:
"NVME" does not match to ^(SCSI|HDC|IDE|USB|1394|SATA|SAS|ATAPI)$ at #->properties:content->properties:storages->items[0]:0->properties:interface
[Tue Jul 25 14:00:07 2023][error] [http client] server error: JSON does not validate. Violations:
"NVME" does not match to ^(SCSI|HDC|IDE|USB|1394|SATA|SAS|ATAPI)$ at #->properties:content->properties:storages->items[0]:0->properties:interface
[Tue Jul 25 14:00:09 2023][info] target server0: next run: Wed Jul 26 13:58:45 2023 - https://support.jfg.one/front/inventory.php
[Tue Jul 25 14:02:13 2023][info] running task Deploy: storage maintenance event
[Tue Jul 25 14:02:15 2023][info] GLPI Agent memory usage: WSS=3321856 PFU=127959040
[Tue Jul 25 14:02:44 2023][debug] Logger backend File initialized
[Tue Jul 25 14:02:44 2023][debug] GLPI Agent (1.5)
[Tue Jul 25 14:02:44 2023][debug] Configuration directory: C:/Program Files/GLPI-Agent/etc
[Tue Jul 25 14:02:44 2023][debug] Data directory: C:/Program Files/GLPI-Agent/share
[Tue Jul 25 14:02:44 2023][debug] Storage directory: C:\Program Files\GLPI-Agent\var
[Tue Jul 25 14:02:44 2023][debug] Lib directory: C:/Program Files/GLPI-Agent/perl/agent
[Tue Jul 25 14:02:44 2023][debug] [target server0] Next server contact planned for Wed Jul 26 13:58:45 2023
[Tue Jul 25 14:02:44 2023][debug2] getAvailableTasks() : add of task Collect version 2.9
[Tue Jul 25 14:02:44 2023][debug2] getAvailableTasks() : add of task Deploy version 3.0
[Tue Jul 25 14:02:44 2023][debug2] getAvailableTasks() : add of task Inventory version 1.13
[Tue Jul 25 14:02:44 2023][debug2] getAvailableTasks() : add of task RemoteInventory version 1.2
[Tue Jul 25 14:02:44 2023][debug] Available tasks:
[Tue Jul 25 14:02:44 2023][debug] - Collect: 2.9
[Tue Jul 25 14:02:44 2023][debug] - Deploy: 3.0
[Tue Jul 25 14:02:44 2023][debug] - Inventory: 1.13
[Tue Jul 25 14:02:44 2023][debug] - RemoteInventory: 1.2
[Tue Jul 25 14:02:44 2023][debug] target server0: server https://support.jfg.one/front/inventory.php
[Tue Jul 25 14:02:44 2023][debug] Planned tasks for server0: Inventory,Collect,RemoteInventory,Deploy
[Tue Jul 25 14:02:44 2023][debug] Provided by Teclib Edition
[Tue Jul 25 14:02:44 2023][debug] Installer built on Wed Jun 21 14:27:07 2023 UTC
[Tue Jul 25 14:02:44 2023][debug] Built with Strawberry Perl 5.36.0
[Tue Jul 25 14:02:44 2023][debug] Built on github actions windows image for glpi-project/glpi-agent repository
[Tue Jul 25 14:02:45 2023][debug] Running in foreground mode
[Tue Jul 25 14:02:45 2023][info] server0 is not ready yet, next server contact planned for Wed Jul 26 13:58:45 2023

THANK YOU

Offline

#2 2023-07-31 15:04:56

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: GLPI Agent 1.5 Problem

Hi Bames Jrown,

it seems you haven't upgraded your GLPI server. Latest version should support NVME as storage type so this error won't appear when using latest agent.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

Board footer

Powered by FluxBB