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-10-20 10:38:34

gpqOficinayRed
Member
Registered: 2012-06-04
Posts: 13

Tags not being sent by GLPI Agent

I am using GPLi Agent and have for the most part been very impressed with the results. It captures all necessary information about the asset in a very efficient and helpful manner.

However, I am unable to make GLPi-Agent send a specific tag for a specific computer so that I can then use business rules to assign that computer to a specific entity.

Assets (PCs) register in GLPi without issues but the tag is not sent. As a result, the asset always end ups in the root entity.

Right now, I have the agent configured on a Windows computer and the GLPi server runs on linux.

I have tried so far setting the tag parameter in the conf file or even sending it manually via the command line:

glpi-agent --set-forcerun --tag=mytag -u=myuser -p=mypassword https://myserver.com

What am I doing wrong?

Look forward to your response.

Offline

#2 2023-10-20 11:47:55

aurel
Member
From: France
Registered: 2004-09-23
Posts: 1,254

Re: Tags not being sent by GLPI Agent

Hi there,
you are missing the --server= option in front of your server address https://myserver.com. I've tried it myself and your command doesn't work. By deleting the --set-forcerun option, however, I can see the client reassembled with the TAG. Try without the --set-forcerun option and adding --server= and tell us if it works wink

Aurel

Last edited by aurel (2024-07-16 15:06:46)

Offline

Board footer

Powered by FluxBB