common open source monitoring software Nagios,cacti,zabbix,ganglia,opennms.
Here is not much to say, next we do is Nagios variant Icinga, they are compatible with each other, just Icinga was Han.
I. Preparatory work:
1. Two virtual machines or servers, one monitoring side, one monitored side.
Here we define
192.168.137.250,hostname:server IP on the monitor side
The IP of the monitored side is 192.168.137.20,hostname:client
2. Software installation package icinga.tar.gz,nagios.tar.gz
Two. Start building (server) to have Gcc,iptables-f,setenforce 0
TAR-ZXVF icinga.tar.gz
CD Icinga
Yum install gd-* libdbi-*-y
Tar jxvf icinga-cn.1.9.3.tar.gz
CD icinga-cn-1.9.3
./configure
Make all
User Add Icinga
Make Fullinstall
cd/usr/local/icinga/
RM-RF etc
Make Install-config
Site Settings Password
Htpasswd-mc/usr/local/icinga/etc/htpasswd.users Icingaadmin
To restart the service, open a browser to access:
Service httpd Start
Service Icinga Restar
Open Browser access:
192.168.30.250/icinga
Three Client Agent Nrpe
Configuring the Nagios,yum Source
Tar zxvf nagios.tar.gz
Yum Install Createrepo-y
Createrepo-v Nagios
[BB]
Name=aa
Baseurl=file:///root/nagios
Enabled=1
Gpgcheck=0
Service-side Chattr-i/etc/yum.repos.d/
sync to server Rsync-az nagios 192.168.137.250:~
rsync-az/etc/yum.repos.d/aa.repo 192.168.137.250:/etc/yum.repos.d/
server chattr +i/etc/yum.repos.d/
install plugin yum Install Nrpe nagios-plugin\*-y (Server client)
This article is from the Linux OPS blog, so be sure to keep this source http://wagskun.blog.51cto.com/5895496/1622183
Open source monitoring software Icinga