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 in OCS Server 2.2 - Problem and Solution

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.

in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
Hi,

Thanks for your contribution.

Regards

Frank
by (88.5k points)
 
Powered by Question2Answer
...