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.

Officepack Plugin - Server doesn't receive plugin data

Hi all,

Using OCS Server v2.3 on CentOS 6

Downloaded the Officepack v1.x plugin from https://github.com/PluginsOCSInventory-NG/officepack (also tried https://github.com/boiss007/officepack).

Dropped the .zip file into '/usr/share/ocsinventory-reports/ocsreports/download', browsed to the plugin manager GUI and installed without error.

Grabbed the agent plugin VBS script from: https://github.com/PluginsOCSInventory-NG/officepack/tree/master/agent (also tried https://github.com/boiss007/officepack/tree/master/agent).

Now, if we inspect the XML file generated by our agents, we can see the officepack data, so we assume it's being gathered and sent to the server, however, the corresponding "OFFICE LICENSES" section in the GUI is empty. Additionally if we inspect the database, the officepack table is empty as well.

So it looks like the agents are sending the gathered office data but the server isn't doing anything with it.

Can anyone help?

Thank you!

Best Regards,

Elliot

P.S. We tried the solution at http://ask.ocsinventory-ng.org/4289/officepack-in-ocs-server-2-2-problem-and-solution?show=4289 but it made no difference to us.
in OCS Inventory NG server for Unix by (470 points)

1 Answer

0 votes
I believe we have found a solution.

For some reason it seems the plugin doesn't install/behave correctly on CentOS6. Take a look here: http://ask.ocsinventory-ng.org/3897/ocs-inventory-2-2-cant-send-plugin-data-on-database - plugit's answer appears to work for us.

Specifically, manually copying the relevant section from the plugin's APACHE/Map.pm file into  /usr/local/share/perl/5.20.2/Apache/Ocsinventory/Map.pm has allowed it to work for us.

Cheers

Elliot
by (470 points)
 
Powered by Question2Answer
...