Plugin OfficePack 1.0 installed according to the instructions described in https://github.com/PluginsOCSInventory-NG/officepack/releases/tag/1.0 but was not working properly. The agent collected the information, but the office of the license was not displayed in the OCS Reports and was not being stored in the database.
The following is the procedure performed by me on an Ubuntu 04.14 and OCS Server 2.2 server.
- Clone project
git clone https://github.com/PluginsOCSInventory-NG/officepack.git
- Enter the directory of sources
cd officepack
For the plugin data up correctly to be registered in the database
cd officepack/APACHE
- Copy the folder "cd_officepack"
cp officepack.conf /etc/ocsinventory-server/plugins
- Create OfficePack directory in "/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins"
mkdir /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack
- Copy Map.pm to "/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack"
cp Map.pm /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack
- Restart apache
service apache2 restart
For office licenses be displayed on the computer details in the "Software" section
- Copy the folder "cd_officepack" to /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
cp -R cd_officepack /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
- Fix permissions
chown -R www-data:www-data /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
chmod 755 /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
- Restart apache
service apache2 restart
Enjoy.