How to Install Nagios Core 4.0.8 With Plugins on RHEL/CentOS - 6/7 and Fedora - 24/23/22

Channel:
Subscribers:
25,100
Published on ● Video Link: https://www.youtube.com/watch?v=quRFcjiHpKI



Category:
Tutorial
Duration: 24:04
28,691 views
88


Hello Everyone,

In this tutorial,

Let us Install Nagios Core 4.0.8 & Nagios Plugins 2.0.3 on Fedora 21 Desktop or Workstation - 64-Bit

You Can also Install in Linux, CentOS.

To Download
Nagios Core 4.0.8.tar.gz
Nagios plugins 2.0.3.tar.gz

Installation Required Dependencies
Step1:- yum install -y httpd php gcc glibc glibc-common gd gd-devel make net-snmp


Switch to Root & Create a New Nagios User, Group and Passwd
Step 2 :- useradd nagios
Step 3 :- groupadd nagcmd


Next, add both the nagios user and the apache user to the nagcmd group.
Step 4 :- usermod -G nagcmd nagios
usermod -G nagcmd apache

Download Nagios-Core 4.0.8 and Nagios Plugins 2.0.3
Step5 :- mkdir /root/nagios
Step6 :- cd /root/nagios

Links to Download :-
Step7 :- wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-4.0.8.tar.gz
Step8 :- wget https://www.nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gz

Unzip the download nagios
Step9:- tar -xvf nagios-4.0.8.tar.gz
Step10:- tar -xvf nagios-plugins-2.0.3.tar.gz

Two new folders will appear in that directory.
Step11 :- ll

Configure Nagios Core
Step12 :- cd nagios-4.0.8
Step13 :- ./configure --with-command-group=nagcmd
Step14 :- make all
Step15 :- make install
Step16 :- make install-init
Step17 :- make install-commandmode
Step18 :- make install-config

Customizing Nagios Configuration
Step19 :- vi /usr/local/nagios/etc/objects/contacts.cfg

Install and Configure Web Interface for Nagios
Step20 :- make install-webconf

Password for Nagios
Step21 :- htpasswd -s -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

Restart Apache
Step22 :- service httpd start

Compile and Install Nagios Plugin
Step23 :- cd /root/nagios
Step24 :- cd nagios-plugins-2.0.3
Step25 :- ./configure --with-nagios-user=nagios --with-nagios-group=nagios
Step26 :- make
Step27 :- make install

Verify Nagios Configuration Files
Step28 :- /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Add Nagios Services to System Startup
Step39 :- chkconfig --add nagios
Step40 :- chkconfig --level 35 nagios on
Step41 :- chkconfig --add httpd
Step42 :- chkconfig --level 35 httpd on


Restart Nagios
Step42 :- service nagios start


Login to the Nagios Web Interface
Step43:-
http://Your-server-IP-address/nagios” or “http://FQDN/nagios”


To Add New User & Reset Nagiosadmin Password

The user's credentials password are stored in /etc/nagios3/htpasswd.users and To change the nagiosadmin password.
step44:- sudo htpasswd /etc/nagios3/htpasswd.users nagiosadmin
step45:- To add a user sudo htpasswd /etc/nagios3/htpasswd.users cloudnetwork

-------------------------------------------------------------------------------
For Your Information Only

I am Willing to Make a FREE or CHARGE Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies I WILL DO IT..

Share My Video, Like it, Watch Others Videos and Have any Quries Email me (itcloudnet@gmail.com)
----------------------------------------------------------------------------------


NOTE :- For Any Clarification Please Comment Below

Comment,
Like and
Share us and help us to spread.

####--------------------------­------------------------------­------------------------------­####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itcloudnetwork
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####--------------------------­------------------------------­------------------------------­--####

Thanking You
Hope U Like it........




Other Videos By Cloud Network


2015-01-03Create a New & Group Local User Account & Password in Windows Server 2008 R2
2015-01-03How to Install Latest Eclipse Kepler IDE (4.3.2) in Linux Mint 17.2 and Ubuntu 14.04/15.04 Desktop
2015-01-02How to Create Group Policy & System Policies in Window Server 2008 R2
2015-01-02How to Install Oracle Java 7/8 (JDKorJRE) in Debian 7/8, Linux Mint 17.2 and Ubuntu 14.04/15.04
2015-01-02How to Install Active Directory - Domain Services in Windows Server 2008 R2
2015-01-02How to Install Python 3.4.2 on Ubuntu 14.04,16.04 Debian 8 & Linux Mint 17.2
2015-01-02How to Install Latest Eclipse Luna (4.4.1) IDE for Java Developers in Microsoft Windows 7 | 8 | 10
2015-01-02How to Play Angry Birds on Ubuntu 14.04 & 14.10 and also In Chrome
2015-01-02How to Add Domain Name to a Client System in Windows Server 2008 R2
2015-01-02How to Reset Root Password in Fedora Server 23/22/20 - 32/64-Bit
2015-01-01How to Install Nagios Core 4.0.8 With Plugins on RHEL/CentOS - 6/7 and Fedora - 24/23/22
2014-12-31How to Install Ubuntu GNOME Desktop Next 15.04 - “Vivid Vervet" on Virtual Box With Full Screen
2014-12-31How to Upgrade Fedora 20 to Fedora 21 Workstation | Desktop Using FedUp 5 Steps
2014-12-30How to Creating Domain User Accounts & Changing Default Password Policy in Server 2008 R2
2014-12-30Top 5 Things to Do After Installing Fedora 21 Workstation
2014-12-29How to Reset Root Password in Fedora Workstation 24 - 21
2014-12-29How to Install VMware Workstation 11 to Create Virtual Machines on RHEL, CentOS 7 and Fedora 21
2014-12-2818 Things To Do After Installing Fedora 21 Workstation | Desktop
2014-12-27How to Install Fedora Server 21 on Virtual Box
2014-12-26How to Install Fedora Live WorkStation 21 on Virtual Box
2014-12-25How to Install Oracle Java 7 EE & SE on Debian 7/8, Linux Mint 17.2 and Ubuntu Desktop 14.04/15.04



Tags:
VirtualBox (Software)
Software (Industry)
Nagios (Software)
Plug-in (Software Genre)
Workstation
64-bit Computing
Desktop Computer (Product Category)
Fedora (Operating System)
Windows
Maker
Software (album)
Tutorial
Linux
Basic
Ubuntu
Ubuntu (Operating System)
Desktop
Computers
Install
Fedora
21
Red Hat Enterprise Linux (Operating System)
Visual
CentOS (Operating System)
Using