nagios

General posts that involve Nagios, these will include howtos, configuration information and experiments

Nagios3 + MK Livestatus + xinetd on Debian 6/Ubuntu

0
Preparation

First we need to make sure we have all the stuff we need to compile mk livestatus and run it

apt-get install make build-essential xinetd ucspi-unix

MK Livestatus

Grab the mk livestatus source from here, currently it's version 1.1.10p3 but update the commands below to match your version.

wget 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

Xinetd

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

9

I'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 monitored

First 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 >

Coming soon… Ubuntu + Nagios2 + Server clusters

0

Well, title says it all really, an Ubuntu howto for Nagios2, the monster of all monitoring software. Watch this space.

Go to Top