May 232010
 

This time, we will try to migrate our centreon solution from our previous Ubuntu 8.04 LTS to our new Ubuntu 10.04 LTS edition (It should work for other version too).
To do that, you should have the same centreon version on both side (for database scheme compatibility).
I use the same IP address for my both servers (it’s for a complete replacement)

Backup your Ubuntu 8.04 LTS solution

sudo service nagios stop
sudo service centstorage stop
sudo /usr/local/centreon/cron/purgeCentstorage
sudo service centcore stop
sudo service ndo2db stop

Continue reading »

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 http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.12/nrpe-2.12.tar.gz?use_mirror=kent
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 132010
 

Hi,

I’ve corrected my two previous posts to correct ndoutils high IOwait cpu usage:

Ubuntu Server 10.04 LTS with Nagios 3.2.1 and Centreon 2.1.6
Ubuntu 8.04 LTS Nagios 3.2.1 Install (Part 1)

If you have already installed your solution, proceed as follow:

cd /usr/local/src
sudo wget -r -k -np http://svn.centreon.com/trunk/Patch-NDOutils/
sudo /etc/init.d/ndo2db stop

Check if you have no more ndo2db instances:

ps -A|grep ndo2db

Continue reading »

Apr 232010
 

After installing our working monitoring solution, it could be useful to have also logs available inside our monitoring web interface.
For that purpose we will use these ressources:

You will need Centreon-Syslog installation files. Please go to http://forge.centreon.com/ and register. You’ll be able to download sources after that:

http://forge.centreon.com/projects/list_files/centreon-syslog

Download the stable release (when I wrote, it was the 1.2.1 version). After getting the frontend and server files, transfer them on your server with WinSCP or any other tools you like.

WinSCP is available as setup or portable version http://winscp.net/eng/download.php Continue reading »

Apr 152010
 

After Nagios install (see my previous post), we will start our final step. Centreon installation

Download sources:

cd /usr/local/src/
sudo wget http://download.centreon.com/index.php?id=4242
sudo tar -xzf centreon-2.1.5.tar.gz
cd centreon-2.1.5
export PATH="$PATH:/usr/local/nagios/bin/"
sudo ./install.sh -i

Continue reading »