Table of Contents
Compiling and Packaging a Debian/Ubuntu Agent
This page details how to build the Debian and Ubuntu agents and assumes some basic understanding on compilation on these platforms.
From the source repository
Prerequisites
Basic Steps
The follow these steps:
cd $HOME test -d svnroot || mkdir svnroot cd svnroot svn co http://svn.opsview.org/opsview/trunk opsview cd opsview make version cd opsview-base
Customisations
Additional perl/script plugins can be added into the agent by putting the code into the altinity-plugins directory and also adding an entry into the Makefile (search for ALTINITYPLUG in the Makefile to see an example).
Appropriate changes will also need to be made to the nrpe.cfg.in file so the new plugins are automatically included within the agent configuration.
From the apt repository
Add the following line to your apt source list
deb-src http://apt.opsview.org/opsview3 hardy main source
Run the following commands
mkdir /tmp/builddir cd /tmp/builddir sudo apt-get update sudo apt-get build-dep opsview-agent sudo apt-get -b source opsview-agent
The agent package will be in the current directory