May 192010

If you are planning to monitor Windows servers, it’s highly advised to install NRPE module. On windows side, I generaly use NSCLIENT++ for host check.

You’ll be able to execute remote commands on hosts.

Installation process:

cd /usr/local/src
sudo wget
sudo tar xzfv nrpe-2.12.tar.gz
cd nrpe-2.12/
sudo ./configure --with-ssl=/usr/bin/openssl --with-ssl-lib=/usr/lib
sudo make all
sudo make install-plugin

Continue reading »

May 082010

Hi, you have probably noticed that the new LTS release is out 🙂
So I decided to update the intallation process. You’ll probably notice that it didn’t change so much regarding to the 8.04 (in fact a few packages have their name changed, rsyslog natively integrated into the system, and so on)

Before starting the installation process, let define some rules we will follow: I recommend that before you start any installation you define a template for the naming scheme of your monitored machines. I decided to uses this one (but it’s up to you to create your own): 3 first letters for customer-name of the machine-environment. In my case it’s ACT-CENTREON-TEST (ACT for ACTIVLAN, Centreon for my computer and test for the target environment) for the central monitoring machine.
Continue reading »

Apr 122010

Oups, seems I forgot to mention Nagios part 2 installation process 🙂 Sorry for this.

Ok let’s finish this Nagios install:

SNMP settings

Please edit /etc/default/snmpd

sudo nano /etc/default/snmpd

and change these sections:

#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/'
SNMPDOPTS='-Ls4d -Lf /dev/null -u snmp -I -smux -p /var/run/'


Continue reading »

Apr 112010

In previous post we prepared our system for Nagios and Centreon installation. Let’s install Nagios

User install

PS: use “nagaccess03” as password for nagios account (see the previous post for the complete list of accounts and passwords)

sudo useradd -m -s /bin/bash nagios
sudo passwd nagios
sudo groupadd nagcmd
sudo usermod -G nagios,nagcmd nagios
sudo usermod -a -G nagios,nagcmd www-data

Continue reading »