Categories
RedHat OS

Install Nagios from repo Fedora Centos SL

Install Nagios from repo Fedora/Centos/SL

How to install Nagios from repo Fedora/Centos/SL

Written by pirat9 on February 16, 2012. Posted in CentOS, Fedora, Linux tutorials
  • Nagios is one of the most powerful open source monitoring tool, its giving the opportunity for monitoring all OS and devices , in our previous posts, we did show you how to install Nagios from source in Fedora and CentOS, today we will see how to install it directly from yum in Fedora/Centos/SL(Scientific Linux) in easy steps.
Install Nagios

yum install nagios*
  • Now Start Nagios
 /etc/init.d/nagios start  
  • Start nagios on boot
chkconfig nagios on Start httpd apache
/etc/init.d/httpd start 
Start apache on boot chkconfig httpd on
  • Make Nagios admin password
htpasswd -c /etc/nagios/passwd nagiosadmin
  • check the nagios.conf file in the apache conf.d directory
/etc/httpd/conf.d/nagios.conf
  • Disable SELinux:
# vim /etc/selinux/config 
SELINUX=disabled
# reboot
  • Check if nagios users and groups are added
# groupadd nagios 
# adduser nagios -g nagios
# passwd nagios
# usermod -G nagios nagios
# usermod -G apache,nagios apache
  • Check nagios confif with
nagios -v /etc/nagios/nagios.cfg
Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0
Now start nagios and report if worked for you.
http://ip/nagios and login with your nagiosadmin user already created

Related Posts

  1. How to install nagios in RHEL|Centos|Fedora
  2. How to Install and configure Nagios in Archlinux
  3. How to install Nagios 3.2.2 from source in Opensuse 11.3
  4. Install Nagios 3.2.3 in Fedora 14 from source
  5. Install BackupPC server in Centos|Rhel|Fedora
Install Nagios from repo Fedora Centos SL
http://www.unixmen.com/how-to-install-nagios-from-repo-fedoracentossl/
htttp://www.stisitelkom.ac.id

Leave a Reply

Your email address will not be published. Required fields are marked *

Discover more from Just Shared on Tel-U

Subscribe now to keep reading and get access to the full archive.

Continue reading