How to Install Nagios Monitoring 4.3.4 & Nagios Plugins 2.2.1 in Ubuntu 17.10 and Debian 8.3

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



Duration: 16:56
4,057 views
9


I am Using Ubuntu 17.10 but you can install it in ubuntu From 17.04 to 14.04

1. Installing LAMP
Step1 :- sudo apt update && sudo apt upgrade
Step2 :- sudo apt install apache2 libapache2-mod-php7.0 php7.0
Step3 :- sudo apt install wget unzip zip autoconf gcc libc6 make apache2-utils libgd-dev

2. Installing NAGIOS 4.3.4 CORE
Step4 :- useradd nagios
Step5 :- usermod -a -G nagios www-data
Step6 :- sudo wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.3.4.tar.gz
Check Website :- https://www.nagios.org/downloads/
Step7 :- sudo tar xzf nagios-4.3.4.tar.gz
Step8 :- sudo cd nagios-4.3.4/
Step9 :- sudo ls
Step10 :- sudo ./configure --with-httpd-conf=/etc/apache2/sites-enabled
Step11 :- sudo make all
Step12 :- sudo make install
Step13 :- sudo make install-init
Step14 :- sudo make install-commandmode
Step15 :- sudo systemctl enable nagios.service
Step16 :- sudo make install-config
Step17 :- sudo make install-webconf
Step18 :- sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
Step19 :- sudo a2enmod cgi
Step20 :- sudo systemctl restart apache2
Step21 :- sudo systemctl start nagios
Step22 :- sudo systemctl enable nagios

3. Installing NAGIOS 4.3.4 CORE
Step23 :- sudo apt install libmcrypt-dev make libssl-dev bc gawk dc build-essential snmp libnet-snmp-perl gettext libldap2-dev smbclient fping libmysqlclient-dev qmail-tools libpqxx3-dev libdbi-dev
Step24 :- sudo wget https://github.com/nagios-plugins/nagios-plugins/archive/release-2.2.1.tar.gz
Check Website :- https://www.nagios.org/downloads/
Step25 :- sudo tar xfz release-2.2.1.tar.gz
Step26 :- sudo cd nagios-plugins-release-2.2.1/
Step27 :- sudo ./tools/setup
Step28 :- sudo ./configure
Step29 :- sudo make
Step30 :- sudo make install
Step31 :- sudo ls /usr/local/nagios/libexec/
Step32 :- sudo systemctl restart nagios.service

Log into Nagios Check Services
Step34 :- sudo a2enmod ssl
Step35 :- sudo a2ensite default-ssl.conf
Step36 :- sudo systemctl restart apache2

Open the Configuration File
Step37 :- sudo nano /etc/apache2/sites-enabled/000-default.conf
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*) https://%{HTTP_HOST}/$1

Step38 :- sudo systemctl restart apache2.service

http://DOMAIN or IP ADDRESS/nagios

If you have any problem you can command below to my video or email me on itcloudnet@gmail.com with screenshot


please "SUBSCRIBE!" to cloud network channelSTART SERIES FROM THE BEGINNING: https://goo.gl/kXkmdp
WATCH THE NEXT VIDEO:
GO TO THE HINDI YOUTUBE CHANNEL: https://goo.gl/gTHiw2
SUBSCRIBE: https://goo.gl/LjKGzc

I am Willing Make a Website, if YOU WANT ME TO MAKE A VIDEOS ON Different Technologies/field I WILL DO IT..

Watch Others Videos and Have any Queries Email to me on (itcloudnet@gmail.com)

####--------------------------­------------------------------­------------------------------­####

Subscribe to Cloud Network :- http://goo.gl/LjKGzc

Website :- http://www.cloudnetwork.in

Like us on Facebook :- http://facebook.com/itcloudnetwork

Follow us on Twitter :- http://twitter.com/itcloudnet

Circle us on Google+ :- https://goo.gl/StVdHb

Add us on LinkedIn :- http://in.linkedin.com/pub/itcloudnet

Skype Id :- cloud.network1

E-Mail Id :- itcloudnet@gmail.com

####--------------------------­------------------------------­------------------------------­--####

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




Other Videos By Cloud Network


2017-12-19Here's How to Check if Someone Has Logged into Your Windows 10
2017-12-19Here's How to Share a Story From Archive | Instagram Add Stories Archive and Stories Highlights
2017-12-18Instagram Has Rolled Out New Creative Tools for the Stories Archive, Holidays, Hashtags, Sticker
2017-12-18How to Disable Unwanted Startup Applications or Programs In Windows 7 and Windows 10
2017-12-18How to Enable or Disable Grayscale Mode in Windows 10 | How to Turn On or Off Color Filters in W 10
2017-12-14How to Solve Gradle Project Sync Failed in Android Studios | Gradle Failed to Resolve Dependency
2017-12-12How to Clean Windows 10 Fall Creator Update without Losing DATA (Files,Folders)
2017-12-12How to Install Kali Linux in Docker Using Windows 10 Fall Creator Update
2017-12-11How to Install Mozilla Firefox 57.0.2 Quantum in Ubuntu 17.10
2017-12-11How to Solve Unable to Locate Package Php 7.0 | Couldn't find any package glob libapache2-mod-php7.0
2017-12-11How to Install Nagios Monitoring 4.3.4 & Nagios Plugins 2.2.1 in Ubuntu 17.10 and Debian 8.3
2017-12-03How to Solve Window Cannot be Installed to this Disk The Selected Disk is of the GPT Partition Style
2017-12-03How to Download & Install MYSQL 5.7.20 (64-bit) in Windows 10 Fall Creator Update
2017-12-03How to Download & Install EDB POSTGRES ENTERPRISE 10 (64-bit) in Windows 10 Fall Creator Update
2017-12-03How to Download & Install ECLIPSE OXYGEN 4.7 (64-bit) in Windows 10 Fall Creator Update
2017-12-03How to Download & Install BOOTSTRAP v4.0.0 (64-bit) in Windows 10 Fall Creator Update
2017-12-03How to Download & Install ATOM 1.22.1 (64-bit) in Windows 10 Fall Creator Update
2017-12-03How to Download & Install FILEZILLA v9.60 (64-bit) in Windows 10 Fall Creator Update
2017-12-01How to Unlock Accounts and Reset New Passwords for (SYSTEM & SYS) Oracle DB 12C in Windows 10
2017-12-01How to Install Debian GNU/Linux v9.2.1 (64-bit) in Virtualbox
2017-12-01How to Download & Install XAMPP (Apache + MariaDB + PHP + Perl) in Windows 10 Fall Creator Update