################################################################################
#
# OCS Inventory NG Agent
#
# Copyleft 2006 Pascal DANEK
# Web: http://ocsinventory.sourceforge.net
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################

How to setup OCS Inventory NG Agent ?

OCS Inventory NG Agent need the following components:
- dmidecode version 2.0 or higher
- PERL 5.6 or higher
- Perl module XML::Simple version 2.12 or higher
- Perl module Compress::Zlib version 1.33 or higher
- Perl module Net::IP version 1.21 or higher
- Perl module LWP (formally known as libwww-perl) version 5.8 or higher
- Perl module Digest::MD5 version 2.33 or higher
- Perl module Net::SSLeay version 1.25 or higher
- ipdiscover version 3 or higher

You must also know the following things:
- Host running OCS Inventory NG Communication Server
- Port of OCS Inventory NG Communication Server

To install agent, just run the following commands as root:
- perl Makefile.PL
- make
- make install

This will build and install OCS Inventory NG Agent perl modules and put perl
script ocsinventory-client.pl into /usr/sbin.

You must create a directory /etc/ocsinventory-client to store configuration
files. A sample configuration file ocsinv.conf looks like as follow:

<CONF>
  <DEVICEID>gateway-2006-03-27-17-08-57</DEVICEID>
  <DMIVERSION>2.5</DMIVERSION>
  <IPDISCOVER_VERSION>1</IPDISCOVER_VERSION>
  <OCSFSERVER>ocs_com_server_address:80</OCSFSERVER>
  <UPDATE>1</UPDATE>
</CONF>

You must also create a directory /var/log/ocsinventory-client to store agent
log files. Don't forget to put a log rotate instructions !

Enjoy OCS Inventory NG ;-)

OCS Inventory Team
