Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Plugins constantly recreate their entries in DB


I am contacting you because I have noticed that several plugins are constantly recreating their entries in the database, even when the data has not changed.

For information, I am on an OCS Server 2.8.1, installed on an Ubuntu Server 20.04, with PHP 7.4.3, Apache 2.4.41 and MariaDB 10.3.29.
Agent : v2.8.0

On my OCS, I have 58 machines inventoried for about a month, the Service plugin table has a last ID which has exceeded 5.5 million!

The Teamviewer plugin, meanwhile, is at ID 17239, while the teamviewer IDs on computers have not changed.
For the Winusers plugin, the last_ID is 83675.
For the Office plugin, it's 17094 (for only 52 records!)
The Uptime plugin is at ID # 19859 for 56 actual entries.
The Scheduled Tasks plugin is at 5,894,866! (For only 16,837 actual entries in the database!)

On the other hand, computers are not recreated. The accountinfo table goes up to ID 62 (a few machines removed, but that's it), for 58 entries in total.

In short, there is a big management problem at this level, and it has repercussions on my GLPI, which constantly updates these informations and generates me logs of several million lines because of it.

Does anyone have an idea to solve this problem?

PS: Sorry for my bad English ... (Thanks Google Translate)
in OCS Inventory NG plugins by (120 points)
edited by

Please log in or register to answer this question.

Powered by Question2Answer