Scientific Linux 6
Sponsored Link

Nagios - Install /Configure2011/06/12

Install Nagios that is Integrated monitoring system. Web Server and PHP are also required.
[1] Install Nagios
[root@master ~]#
yum --enablerepo=epel -y install nagios nagios-plugins-all
# install from EPEL
[root@master ~]#
vi /etc/nagios/objects/contacts.cfg
# line 35: change to admin's address

[root@master ~]#
vi /etc/httpd/conf.d/nagios.conf
# line 15-19: change like follows ( change line 32-36 too as follows )

Order allow,deny
Allow from all
Order deny,allow
Deny from all
Allow from
[root@master ~]#
htpasswd /etc/nagios/passwd nagiosadmin

New password:
# set password

Re-type new password:
Updating password for user nagiosadmin
[root@master ~]#
/etc/rc.d/init.d/nagios start

Starting nagios: done.
[root@master ~]#
/etc/rc.d/init.d/httpd restart

Stopping httpd:
[ OK ]

Starting httpd:
[ OK ]

[root@master ~]#
chkconfig nagios on

[2] Access to "http://(hostname or IP address)/nagios/" and authenticate a user you added.
[3] Thies is Index page of Nagios. Installation just finished.
Matched Content