OCS Inventory Tools
Credits
This work is based on Daniel's howto from smefirewall-services.com
It's also based on DLAoctet's old howto
Thanks to both of you!
Maintainer
Sylvain Gomez
mailto:sylvaingomez@free.fr
OCS Inventory Next Generation 1.01 for SME 7.x
OCS Inventory NG Description
Open Computer and Software Inventory Next Generation is an application designed to help a network or system administrator keep track of the computers configuration and software that are installed on the network. Information about Hardware and Operating System are collected. Used with a IT and Asset Management Software such as open source tool GLPI, you will have a powerfull inventory and asset management software with automatic updates of computer configuration, license management, help desk and more.
For more information see http://www.ocsinventory-ng.org//.
Download
You can download this package here. You will also need a few dependencies. If you would like to save it directly on your SME Server, you should give this command at a linux-prompt
wget http://sme.firewall-services.com/downloads/ocs/rpms/perl-deps-ocs.tar.gz wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/ocsreports/smeserver-ocs_inventory_ng-1.01-4.noarch.rpm
Installation and Uninstall
For installation, you first need to install dependencies: just hit the following commands
yum install mod_perl tar xvzf ./perl-deps-ocs.tar.gz yum localinstall ./perl-deps-ocs/*.rpm
Then you can install OCS with the following command
yum localinstall *.rpm
For uninstall just hit the following command
yum remove smeserver-ocs_inventory_ng
You should also uninstall all dependencies...
You can ignore the yum-comments signal event post-upgrade and signal-event reboot.
Use
OCS Reports' web interface can be reached at http://your-server/ocs
Before to login, please choose your language (flags on the top right corner)
Login : admin
Password: admin
The client side is available on all platforms. Download the latest client version according to your OS. After installing the Agent, you should launch it manually to upload your first inventory (as it's updated once per day by default)
Under Windows, this can be done by typing the following in the 'execute box':
"C:\Program Files\OCS Inventory Agent\OCSInventory.exe" /server:yourdomain.com /np /debug /tag:your_tag
Wait a few seconds and go to http://your-server/ocs, you should see your first inventory!
Inventories can be done from WAN but the web interface is only available from inside your network for security reasons.
GLPI 0.68.3 for SME 7.x
GLPI Description
GLPI is the Information Resource-Manager with an additional Administration- Interface. You can use it to build up a database with an inventory for your company (computer, software, printers...). It has enhanced functions to make the daily life for the administrators easier, like a job-tracking-system with mail-notification and methods to build a database with basic information about your network-topology.
For more information see http://www.glpi-project.org/.
Download
You can download this package here. If you would like to save it directly on your SME Server, you should give this command at a linux-prompt
wget http://mirror.contribs.org/smeserver/contribs/sgomez/contribs/inventory/glpi/smeserver-glpi-0.68.3-3.noarch.rpm
Installation and Uninstall
For installation just hit the following command
yum localinstall *.rpm
For uninstall just hit the following command
yum remove smeserver-glpi
You can ignore the yum-comments signal event post-upgrade and signal-event reboot.
GLPI will not install if OCS rpm is not installed for dependency reasons. You can install GLPI without OCS. Just skip OCS install (and its dependencies) and hit the following command:
rpm -Uvh smeserver-glpi-0.68.3-3.noarch.rpm --nodeps
Use
GLPI's web interface can be reached at http://your-server/glpi
Login : glpi
Password: glpi
GLPI's web interface is only available from inside your network for security reasons.
Special commands
To view OCS and GLPI's passwords, you can type the following at a Linux prompt:
config show ocs config show glpi
To change MySQL passwords, you can type the following at a Linux prompt:
config setprop ocs DbPassword my_new_password config setprop glpi DbPassword "my new password"
Then you should apply modifications by typing the following at a Linux prompt:
signal-event ocs-update signal-event glpi-update
You could also apply DbPassword modifications by typing the following at a Linux prompt (but why would you?)
signal-event post-upgrade signal-event reboot
Please remember that GLPI has OCS' DbPassword written in its MySQL database, so if you change OCS' DbPassword you will need to update GLPI with the appropriate signal-event command!
Additional information
Sylvain Gomez (Cool34000)