sudo /usr/sbin/useradd -r -s /sbin/nologin nagios
cd ~/src/
wget http://jaist.dl.sourceforge.net/sourceforge/nagios/nagios-2.0b1.tar.gz
tar zxf nagios-2.0b1.tar.gz
cd nagios-2.0b1/
./configure –prefix=/usr/local/nagios-2.0b1
make all
sudo make install
sudo make install-init
sudo make install-commandmode
sudo make install-config
cd /usr/local/
sudo ln -s nagios-2.0b1 nagios
radiusclient
wget ftp://ftp.cityline.net/pub/radiusclient/radiusclient-0.3.2.tar.gz
tar zxf radiusclient-0.3.2.tar.gz
cd radiusclient-0.3.2/
./configure –prefix=/usr/local/radiusclient-0.3.2
make
sudo make install
cd /usr/local/
sudo ln -s radiusclient-0.3.2 radiusclient
fping
cd ~/src/
wget http://www.fping.com/download/fping-2.4b2_to.tar.gz
tar zxf fping-2.4b2_to.tar.gz
cd fping-2.4b2_to/
./configure –prefix=/usr/local/fping-2.4b2_to
make
sudo make install
cd /usr/local/
sudo ln -s fping-2.4b2_to fping
Net::SNMP
sudo perl -MCPAN -e shell
cpan> install Net::SNMP
cpan> quit
nagios-plugin
cd ~/src/
wget http://jaist.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4-beta1.tar.gz
tar zxf nagios-plugins-1.4-beta1.tar.gz
cd nagios-plugins-1.4-beta1/
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:/var/qmail/bin:/usr/local/radiusclient/sbin:/usr/local/fping/sbin
./configure LDFLAGS=”-L/usr/local/radiusclient/lib” CPPFLAGS=”-I/usr/local/radiusclient/include” –prefix=/usr/local/nagios