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-12-05 16:21:15

HousingNo552
Member
Registered: 2023-12-05
Posts: 2

Cant send data to url. Cant Force nor scheduled

Hey!
I've installed GLPI agent and am not able to send pc data to my url.

PC's used:

MacOS M1
windows 11 laptop
_______________
I am using glpi 10.0.6
and
glpi agent 1.6.1
the logs say

[Tue Dec 5 12:58:02 2023][info] running task Deploy: storage maintenance event

[Tue Dec 5 12:58:04 2023][info] GLPI Agent memory usage: WSS=3420160 PFU=116830208

[Tue Dec 5 12:58:30 2023][info] target server0: server (MY URL)

[Tue Dec 5 12:58:30 2023][info] sending prolog request to server0

[Tue Dec 5 12:58:33 2023][warning] [http client] Inventory support is disabled server-side

[Tue Dec 5 12:58:33 2023][error] No supported answer from server at (MY URL)

I found someone with the same issue as me where the inventory wasn't active in GLPI. But when I checked on my server the "enable inventory" was fine.

I had fusioninventory installed as a plugin. which didnt work
Later I added GLPI Inventory plugin after which i tried adding the URL's as stated in the documentation.
Currently I have 2 plugins installed fusioninventory and glpi inventory


This didnt work.

I dont understand how to make this work, the documentation is so confusing.

Pls help

Offline

#2 2023-12-05 16:57:21

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Cant send data to url. Cant Force nor scheduled

"Inventory support is disabled server-side" refers to the enable inventory option in Administration > Inventory. If it is already checked, try unchecking and re-checking it to re-set the value in the database.
"Currently I have 2 plugins installed fusioninventory and glpi inventory". These plugins are not compatible with each other. FusionInventory should be removed since you are using the GLPI Agent. The native inventory features in GLPI are capable of accepting inventory information from the GLPI Agent without additional plugins. The GLPI inventory plugin enables more features like software deployment.
With GLPI Agent, the server URL should be "/front/inventory.php" (relative to your GLPI URL).

Also, I suggest checking the GLPI server logs just in case something is failing on the server side. There are in the "files/_log" folder.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-12-06 09:59:11

HousingNo552
Member
Registered: 2023-12-05
Posts: 2

Re: Cant send data to url. Cant Force nor scheduled

Thank you!
I unchecked and checked the inventory and it worked.
So far I havent seen any issues with glpi inventory and fusioninventory.

Offline

Board footer

Powered by FluxBB