glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

can't make rule for entity to work with proxy #352

Closed Blank-Vcf closed 1 year ago

Blank-Vcf commented 1 year ago

Describe the bug

I made everything work end of last year with glpi 10.0.5 but i have upgrading to 10.0.6 since and rules are doing nothing. I start from an empty db with last nightly build 10.0.8 dev and plugin 1.2.1 but can't make it work:

2 sub entities : image

2 simple rules: image

try with computer name as criteria and contain instead equal = same result

agents stay in root entity: image

rules test is matching one of my rule, import and link rules maych on import

no trace in php/sql error on server

maybe i'm just on a misconfiguration but can't put a finger on it.

To reproduce

delete agent in glpi, lauch import on agent agent is in root entities import is not done

Expected behavior

computer should be moved on entities based on tag

Operating system

Windows

GLPI Agent version

Nightly build (git version in additional context below)

GLPI version

development release (See additional context below)

GLPIInventory plugin

1.2.1

Additional context

No response

Blank-Vcf commented 1 year ago

ok i get it, reinstall 10.0.5 = same behaviours, updating rules with regex and tag on entities = same. the last thing i put on change is to use a server with agent as a proxy, i switch an agent to use glpi directly and rule is working and computer is correctly imported in asset.

trasher commented 1 year ago

Seems like an agent bug or misconfiguration then, I close