Nagios Installation

It is installation for CentOS5

Step 1

rpm -Uvh


rpm -Uvh

Add RPMForge Yum Repository (32bit/64biit version) to yum install nagios package.

It is recommended that you configure yum-priorities prior to following this tutorial to avoid having base CentOS packages being overwritten by the RPMForge repository. Instructions to do so can be found on the Centos Wiki

yum install httpd php gcc glibc glibc-common gd gd-devel
chkconfig httpd on
/etc/init.d/httpd start

Yum install apache then start Apache and enable auto-start

yum install nagios nagios-plugins nagios-plugins-setuid
htpasswd -c /etc/nagios/htpasswd.users nagiosadmin
nagios -v /etc/nagios/nagios.cfg
chkconfig nagios on
/etc/init.d/nagios start
/etc/init.d/httpd restart

Yum install nagios and plugins
Create the default Nagios web access user and set a password
Verify default config files then Start nagios and enable auto-start

Step 2

Try logging into your new Nagios installation by going to :
logging in with nagiosadmin and the password you set.


* Resources on configuring Nagios can be found in the official documentation.
* Not all plugins will run without additional packages being installed (Ex. check_mysql won't run without installing mysql).

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.