howto

Icinga - Open Source Monitoring - Installing on Debian 5 (Lenny) with IDOUtils and MySQL database

icon_icinga_bigger As reported last year, was the well-known open-source Nagios monitoring service forked and released under the project ICINGA in new splendor. I will describe here in the next few weeks, my experiences and publish some HowTo's it. The start is with the installation of 1.0.2 + ICINGA IDOUtils under Debian Lenny.

last update: 01.07.2010 Icinga version 1.0.2

Dependencies and install the required programs

The following requirements must be installed for the operation of ICINGA:

*) Apache Web Server
*) MySQL database + libdbi driver
*) GCC compiler, C / C + + dev libraries
*) GD Library

Installing the Apache Web server + Mysql Database

The required libdbi drivers are installed via the following command:

apt-get install -y libdbi0-dev libdbd-mysql

The GCC compiler and the required C / C + + development libraries are installed together as a build-essential:

apt-get install -y build-essential

Installing the GD libraries:

apt-get install -y libgd2-xpm-dev libjpeg62-dev libpng12-dev

Creating user and group for ICINGA

This ICINGA works, it requires its own user named icinga. This place we like to follow and assign a password:

useradd -m icinga
passwd icinga

To use the web interface with full functionality (can send commands) will still require a special group in which the two icinga and user www-data to be added:

groupadd icinga-cmd
usermod -a -G icinga-cmd icinga
usermod -a -G icinga-cmd www-data

Download and unzip ICINGA

the preparations made so far are the To, can ICINGA from SourceForge downloaded and extracted it to be validated. I always use this directory to / usr / src. Please ensure that you download the current stable version to install any older version. In my case, the version 1.0.2, the current stable version.

cd /usr/src
wget http://sourceforge.net/projects/icinga/files/icinga/1.0.2/icinga-1.0.2.tar.gz/download
wget http://sourceforge.net/projects/icinga/files/icinga/1.0.2/icinga-1.0.2.tar.gz.md5/download
md5sum -c icinga-1.0.2.tar.gz.md5

The following result has the MD5 Check out:

icinga-1.0.2.tar.gz: OK

The package is then extracted with the following command in the / usr / src directory:

tar xvzf icinga-1.0.2.tar.gz

Installing ICINGA

> Continue reading

Tags: , , , , , ,

6 Kommentare Friday, January 15th, 2010 Linux 6 Comments

Mac OS X 10.6 - Snow Leopard by installing PHP

PHP can be installed under Mac OS X 10.6 be easy, since the required module is already on board. It needs to be activated.

PHP is enabled in a few steps in the terminal, and can be used immediately:

Who has never used the terminal, and also do not know how to call it: "Programs" -> Utilities -> Terminal

With the following command will edit the Apache configuration file with your favorite editor:

sudo pico /etc/apache2/httpd.conf

To confirm you have to enter your root password.

Once the file is open, we look for the following line:

#LoadModule php5_module        libexec/apache2/libphp5.so

are the # (hash / Sharp) signs off before the PHP module in Apache, and must now be removed. (See screenshot)

load-module-php5

After the file is saved, the Web service must be restarted:

Disable under "System Preferences" -> "shares" -> "Web Sharing" and re-enable the hook. The PHP support is now enabled and available from the Apache Web server immediately.

Tags: , , , , , , ,

Keine Kommentare Thursday, January 7th, 2010 Apple No Comments
rssfeed xing delicious
Sysadmin's Life on Facebook
linux server
    Bloggeramt.de Blog directory - blog directory bloggerei.de blogoscoop blogtotal www.beliebtestewebseite.de technorati_fav Creative Commons License Internet & Communications