Icinga is an upgraded version of Nagios
Http://blog.kukafei520.net/2011/445.html
Icinga is the Nagios upgrade, its developers are all Nagios original team members, it is absolutely free, two times on the basis of nagios development, optimize some files, the Nagios original configuration file directly and seamlessly docking, its installation configuration method is as follows
Chinese Project Address
http://icinga-cn.sourceforge.net/
Installation base Dependencies
Yum install libdbi-devel libdbi libdbi-drivers libdbi-dbd-mysql
New user groups and users
Groupadd www
Useradd-g www www
wget http://jaist.dl.sourceforge.net/project/icinga-cn/icinga-cn/icinga-cn-1.5.1/icinga-cn-1.5.1.tar.bz2
Tar jxvf icinga-cn-1.5.1.tar.bz2
CD icinga-cn-1.5.1
./configure–prefix=/usr/local/icinga–enable-idoutils–enable-embedded-perl–enable-ssl–with-icinga-user=www– with-icinga-group=www–with-command-user=www–with-command-group=www–with-web-user=www–with-web-group=www– With-httpd-conf=/etc/httpd/conf/conf.d
Make all
Make install
Make Install-init
Make Install-commandmode
Make Install-idoutils
Make Install-api
Make Install-config
Make install-webconf
Installing the Nagios Plugin
Tar zxvf nagios-plugins-1.4.15.tar.gz
CD nagios-plugins-1.4.15/
./configure–prefix=/usr/local/icinga–with-cgiurl=/icinga/cgi-bin–with-htmurl=/www–with-nagios-user=www– With-nagios-group=www
Make && make install
Installing Nrpe
Tar zxvf icinga-nrpe-head.tar.gz
CD Icinga-nrpe
./configure–with-nrpe-user=www–with-nrpe-group=www–with-icinga-user=www–with-icinga-group=www
Make
Make install
Copy the Nrpe file:
CP Src/nrpe/usr/local/icinga/bin
CP Sample-config/nrpe.cfg/usr/local/icinga/etc
Start Nrpe disease Check:
/usr/local/icinga/bin/nrpe-n-c/usr/local/icinga/etc/nrpe.cfg-d
/usr/local/icinga/libexec/check_nrpe-h 127.0.0.1-n
Default its Icinga user name
User:icingaadmin
Pass:admin
If you change your password, use
Htpasswd-c/usr/local/icinga/etc/htpasswd.users Icingaadmin
If you modify the user name, you must modify the Cgi.cfg file, the inside of the ICINGAADM modified as you modify the user, otherwise not authorized to view host services
Install Nrpe and Nagios plugins on other clients, Nrpe configuration file allows monitoring of host for data acquisition
After the client installation completes the plug-in and Nrpe, the connection test can be made from the server to the client.
Usr/local/icinga/libexec/check_nrpe-h 192.168.1.128-c Check_load
Ok–load average:0.16, 0.14, 0.06|load1=0.160;1.500;3.000;0; load5=0.140;1.100;2.200;0; load15=0.060;0.900;1.900;0;
such as test hard disk space Check_disk or swap swap partition Check_swap, etc., the final interface is as follows