Install Nagios which is an enterprise open source monitioring system.
Before Install Nagios , You should had installed Httpd and PHP .
0.Test system
1
2
3
4
5
[Alex@Test01 ~]$ uname -a
Linux Test01 2.6.32-504.el6.x86_64 #1 SMP Wed Oct 15 04:27:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[Alex@Test01 ~]$ ip addr | grep eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
inet 10.0.2.128/24 brd 10.0.2.255 scope global eth0
1.Install Nagios.(Also Install basic plugins to monitor nagios server itself.)
# line 15-19 and 32-36 , change settings to access permissionlike follows
# Order allow,deny
# Allow from all
Order deny,allow
Deny from all
Allow from 127.0.0.110.0.2.0/24
# add nagios admin user
[Alex@Test01 ~]$ sudo htpasswd /etc/nagios/passwd nagiosroot
New password: #set your password
Re-type new password:
Adding password for user nagiosroot
[Alex@Test01 ~]$ sudo chkconfig nagios on
3. Access to the "http://(Nagios server's doamin or ip address)/nagios/" from a client which in the network allowed by nagios server adn authenticate with teh nagios admin user "nagiosroot" to login.
test Page.
4. After successing authentication, the nagios admin site id displayed .
test Page .
5. It's possible to view system status to click "Tactical Overiew" and so on .
test Page .