nagios
General posts that involve Nagios, these will include howtos, configuration information and experiments
Nagios3 + MK Livestatus + xinetd on Debian 6/Ubuntu
0First we need to make sure we have all the stuff we need to compile mk livestatus and run it
MK Livestatusapt-get install make build-essential xinetd ucspi-unix
Grab the mk livestatus source from here, currently it's version 1.1.10p3 but update the commands below to match your version.
Xinetdwget http://mathias-kettner.de/download/mk-livestatus-1.1.10p3.tar.gz
tar -xvzf mk-livestatus-1.1.10p3.tar.gz
cd mk-livestatus-1.1.10p3
./configure
make && make install
Now that it's compiled we need to write a xinetd config for it, create a new file called /etc/xinetd.d/livestatus and put More >
Configuring Nagios to monitor remote load, disk, swap etc using NRPE
9I'll assume you already have Nagios installed and configured and have an understanding of actually configuring and using Nagios.
Remote server -- the server to be monitoredFirst we'll install the needed plugins and daemon on the remote server.
apt-get install nagios-plugins nagios-nrpe-server
Once installed, open up /etc/nagios/nrpe_local.cfg
And place the following in it
allowed_hosts=NAGIOS.SERVER.IP,127.0.0.1
command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c More >

