glpi-project / glpi-inventory-plugin

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

Location is not updated after inventory tag was changed #351

Closed Benoit221 closed 1 year ago

Benoit221 commented 1 year ago

Describe the bug

Hi,

All my computer have glpi agent installed. When we change computer from one OU to another one, inventory tag is updated.

Best regards

To reproduce

If computer doesn't exist in GLPI, no problem, the location is take from the tag. If the computer already exist with another location, I can see that the inventory tag is good but the location is not updated.

Expected behavior

Location rule should be running everytime a inventory is updated

Operating system

Linux

GLPI Agent version

1.4

GLPI version

10.0.7

GLPIInventory plugin

1.2.1

Additional context

No response

stonebuzz commented 1 year ago

Hi @Benoit221 can you check if location is locked (see it from Computer Lock tab)

Best regards

Benoit221 commented 1 year ago

Hi @stonebuzz,

Thanks for your help. Effectively i already check for this :

image

Actually, there is an exemple :

image image

Here's my rule for location :

image image

And here's for entity : image image

stonebuzz commented 1 year ago

Hi @Benoit221 any error from glpi log file (during inventory) ?

trasher commented 1 year ago

No feedback, closing