Nagios installation on AWS Linux machine-Hindi/Urdu | Lec-44 | How to install nagios on Linux

Опубликовано: 03 Ноябрь 2024
на канале: Technical Guftgu
64,285
2.1k

Lec-44 This #Nagios Installation Tutorial will help you to learn how to install Nagios Core on a Linux operating system and how to monitor more than one host. The same steps can be used for Nagios Installation on Ubuntu, Nagios Installation on Mac and Nagios Installation on Windows (using a linux VM). Below are the software that are required for this Nagios Installation:
1) Linux Operating System: In this Nagios Tutorial we have used a AWS EC2 Linux virtual machine to install Nagios Core.
2) Apache: In this Nagios Tutorial we have used Apache2 web server to install Nagios.
3) PHP: In this Nagios Tutorial we have used PHP for processing dynamic site content.

Link for Cloud Computing Master's program-https://www.simplilearn.com/cloud-sol...


*****************CODE USED FOR INSTALLATION*******************

sudo su
yum install httpd php
yum install gcc glibc glibc-common
yum install gd gd-devel

adduser -m nagios
passwd nagios

groupadd nagioscmd
usermod -a -G nagioscmd nagios
usermod -a -G nagioscmd apache

mkdir ~/downloads
cd ~/downloads

wget http://prdownloads.sourceforge.net/so...
wget http://nagios-plugins.org/download/na...

tar zxvf nagios-4.0.8.tar.gz
cd nagios-4.0.8

./configure --with-command-group=nagioscmd
make all


make install
make install-init
make install-config
make install-commandmode


make install-webconf

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
service httpd restart


cd ~/downloads
tar zxvf nagios-plugins-2.0.3.tar.gz
cd nagios-plugins-2.0.3

./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install


chkconfig --add nagios
chkconfig nagios on

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

service nagios start
service httpd restart

****************************END OF CODE *******************************

Now you can Donate us via Paypal or Google Pay
Paypal link : https://www.paypal.me/technicalguftgu
GooglePay/PhonePe/BHIM App UPI ID : bhupinderccs@okaxis

Do subscribe to TECHNICAL GUFTGU channel and Press Bell icon & get regular updates on videos, DIRECT LINK TO CHANNEL :    / technicalguftgu  

Here are direct links of My All the Playlist: MUST CHECK
IPv6 Complete Tutorial for beginners Link :    • IP Version 6 Tutorials in hindi/Urdu ...  

Microsoft Azure Tutorial for beginners in Hindi/Urdu AZ-103 and AZ-900 LINK :    • Microsoft Azure Tutorial for Beginner...  

Cloud computing tutorials For beginners Link :    • Cloud Computing Tutorial for Beginner...  

AWS Solution Architect-Associate complete Tutorials Link :    • AWS Solution Architect & Sysops Tutor...  

#Devops tutorials in Hindi:-
   • What are the Pre-requisite for Devops...  

CCNA Complete Tutorials /Computer Networking Link :    • CCNA Full course in Hindi/Urdu | Comp...  
This is the best channel for AWS Tutorials, Microsoft Azure tutorials, 2G,3G, LTE, CCNA, Cloud computing and for others topics related to cloud and computer networking. Technical Guftgu is the only platform, which provides you entire training on white board, so that you feels that, you are taking real time training.
Bhupinder Rajput Sir is having 8 Years of Experience in the field of technical trainings in entire india.
NOTE : If you would like to organise Bhupinder Rajput Sir workshop in your College or University, write mail to us.

For More Information:
Please write us at : [email protected]
Connect with us on facebook page-Technical Guftgu for his upcoming 5 Days workshops on cloud in india and Nepal. If you would like to donate and give support to our Channel, write mail to us.

Thanks For giving Your Valuable time.
Regards,
Technical Guftgu Team