Closed Berlinst closed 2 weeks ago
Hello, any updates on this issue? We're experiencing the same problem.
Hello, I wanted to follow up on this issue as I haven’t received any response yet. Could someone please provide an update or guidance on this matter? Any help would be greatly appreciated.
Thanks.
It was found that due to the USB connection of the printer to the computer, the agent was automatically importing the printer. This behavior is expected and normal. However, we no longer wanted this to occur, so we disabled the "Rules for import and link equipment" related to printers, as well as the global rules that were importing and updating by MAC address and by serial number.
After performing a new inventory, the printer is not removed. It only gets removed if the agent is uninstalled and reinstalled. This is the same issue occurring with the software, as mentioned above.
Hi @Berlinst
latest glpi-agent version is used to send partial inventory most of the time and this can be confusing in your tests. To avoid confusion, please disable the feature on the computer you're using for tests by setting full-inventory-postpone
to 0 in agent configuration (you have to change it in registry and restart the agent). With this option disabled, you won't have to fully reinstall the agent to see your rules applied.
This glpi-agent full-inventory-postpone feature can be confusing when testing rules as only changed parts are sent most of the time: if you're testing software rules and no software has been installed, uninstalled or updated, glpi won't have to apply any rule.
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.
Code of Conduct
Is there an existing issue for this?
Version
10.0.15
Bug description
Hello! I initially created an issue at https://github.com/glpi-project/glpi-agent/issues/714, but it was not the correct place according to the comment by @g-bougard.
I installed the GLPI agent on a computer to perform an inventory of the device in GLPI. After forcing the inventory, the computer was correctly inventoried in GLPI. Following this, I created some rules in the software dictionary to adjust the software categories on the computers, aiming for better filtering.
-> Software Dictionary
After creating these rules, I forced the inventory again. However, there was no change in the software categories according to the created dictionary. I tested by permanently deleting and removing devices of the computer, then forcing the inventory again, but the software categories remained blank, along with other tabs for the computer in question.
-> Before permanently deleting and removing devices of the computer, then forcing the inventory again.
-> After permanently deleting and removing devices of the computer, then forcing the inventory again.
I also tested by reinstalling the GLPI agent, but it didn't resolve the issue. Upon uninstalling and reinstalling the GLPI agent, the software information was retrieved again, but the categories were still not adjusted according to the dictionary.
-> According to the above dictionary, the software category should be 'Antivírus'.
-> According to the above dictionary, the software category should be 'Compactador'.
-> According to the above dictionary, the software category should be 'GLPI'.
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response