Skip to main content

Linux Agent

Download the latest agent from the OSC Inventory NG website:

mkdir -p /extra/src
cd /extra/src
wget http://superb-west.dl.sourceforge.net/sourceforge/ocsinventory/OCSNG_LINUX_AGENT_1.01_with_require.tar.gz
tar
zxvf OCSNG_LINUX_AGENT_1.01_with_require.tar.gz
cd OCSNG_LINUX_AGENT_1.01

The agent requires a variety of Perl modules. On a RedHat/Fedora distro, you might be able to install them with:
yum install perl-XML-Simple
yum install perl-Compress-Zlib
yum install perl-Net-IP
yum install perl-LWP
yum install perl-Digest-MD5
yum install perl-Net-SSLeay

However, you'll probably have to tweak you yum repositories to get those. Alternatively, install them from CPAN:
perl -e shell -MCPAN
install XML::Simple
install Compress::Zlib
install Net::IP
install LWP
install Digest::MD5
install Net::SSLeay