OCS Inventory: Setting up Automatic Network Inventory
Introduction
Open Computer and Software Inventory Next Generation is an application designed to help system or network administrators keep track of the network machines’ configuration and the software installed on them.
OCS Inventory is also able to detect any active device on the network, such as switches, routers, printers, and other unexpected hardware. For each one, it stores MAC and IP addresses and allows you to classify them.
If the administration server runs on Linux, and if nmap and smblookup are available, you also have the option to scan an IP or a subnet for detailed information about uninventoried hosts.
Last but not least, OCS Inventory NG integrates package deployment features on client machines. From the administration console, you can upload packages (software installations, commands, or just files to store on client computers) that will be downloaded via HTTP/HTTPS and executed by agents on clients.
Here’s a setup document:
OCS Inventory Setup
Client Installation
Debian
For Debian, here’s what you need to do to make it work. Extract the archive:
|
|
Then install the perl modules via cpan:
|
|
Then the others via apt:
|
|
Windows
For your domain, here is a small script that can be executed at user logon:
|
|
Here 192.168.0.16 corresponds to my OCS server.
Resources
Last updated 30 Dec 2008, 10:08 +0200.