Nagios : Install2015/02/23 |
Install Nagios which is an enterprise open source monitoring system.
|
|
[1] | |
[2] | |
[3] | Install Nagios. Also Install basic plugins to monitor nagios server itself. |
# install from EPEL [root@dlp ~]# yum --enablerepo=epel -y install nagios nagios-plugins-{ping,disk,users,procs,load,swap,ssh,http}
|
[4] | Configure Nagios. |
[root@dlp ~]#
vi /etc/httpd/conf.d/nagios.conf # line 15-19, change settings to set access permissionlike follows ( set for line 32-36, too ) # Order allow,deny# Allow from allOrder deny,allow Deny from all Allow from 127.0.0.1 10.0.0.0/24
# add nagios admin user [root@dlp ~]# htpasswd /etc/nagios/passwd nagiosadmin New password: # set any password Re-type new password: Adding password for user nagiosadmin /etc/rc.d/init.d/nagios start Starting nagios: done. [root@dlp ~]# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ] [root@dlp ~]# chkconfig nagios on |
[5] | Access to the "http://(Nagios server's hostname or IP address)/nagios/" from a client which is in the network allowed by Nagios server and authenticate with the Nagios admin user "nagiosadmin" to login. |
[6] | After successing authentication, the Nagios admin site is displayed. |
[7] | It's possible to view system status to click "Tactical Overview" and so on. |
Sponsored Link |