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 2022-10-06 22:08:27

Rafumel1774
Member
Registered: 2019-05-11
Posts: 131

GLPI Agent always in root entity

GLPI 10.0.3
Agent 1.4

glpi/front/agent.php -> deleted all agents

Running "C:\Program Files\GLPI-Agent\glpi-agent" --force on server.
Agent appears in GLPI at glpi/front/agent.php
However it is in the Root entity?!

I've setup glpi/front/ruleimportentity.php with (disabled OCS rule for testing):
Active yes
Logical and
criteria: Source is GLPI
Actions: Entity assign Root > myentity

Same for objects.
If I go to glpi/front/refusedequipment.php I can see elements but when I switch to myentity I see: No item found

Is there anything else that need to be setup?

Offline

#2 2022-10-07 00:15:46

Rafumel1774
Member
Registered: 2019-05-11
Posts: 131

Re: GLPI Agent always in root entity

Okay.. is some sort of bug. If I setup the rule like:
Active yes
Logical and
criteria: TAG is mytag
Actions: Entity assign Root > myentity
And run "C:\Program Files\GLPI-Agent\glpi-agent" --force --tag=mytag

it suddenly works for the agent..

Offline

Board footer

Powered by FluxBB