How to Install & Configure Nagios Core 4.1.0rc1 & Plugins 2.0.3 in Ubuntu 15.04 Server - Part 2

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



Category:
Tutorial
Duration: 13:21
2,357 views
4


Hello Everyone,

In this tutorial,

Let Us Install & Configure Nagios Core 4.1.0rc1 & Plugins 2.0.3 in Ubuntu 15.04 Server - Part 2 in - 64Bit

Note :- First Part of Video Can Click Below Link ...
How to Install & Configure Nagios Core 4.1.0rc1 & Plugins 2.0.3 in Ubuntu 15.04 Server - Part 1....................
https://youtu.be/F9oL_0DaG9Y


Step21:- make install-webconf ---- apache and nagiso config file install

1. In this step, we will be creating a password for “nagiosadmin"
2. Keep it remember because this password will be used when you login in the Nagios Web interface.

Step:- htpasswd -s -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

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

11. Unzip the download nagios
Step25:- cd /home/download or cd /root/nagios
Step26:- tar xvf nagios-4.1.0rc1.tar.gz
Step27:- cd nagios-4.1.0rc1.tar.gz
Step28:- ./configure --with-nagios-user=nagios --with-nagios-group=nagios
Step29:- make all
Step30:- make install

12. Copy and link Nagios Apache configuration
Step31:- sudo cp /etc/apache2/conf.d/nagios.conf /etc/apache2/sites-available/nagios
Step32:- sudo ln -s /etc/apache2/sites-available/nagios /etc/apache2/sites-enabled/nagios

14. Check Nagios configuration for errors
Step33:- sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

15. Make Nagios and Apache start at boot
Step34:- sudo ln -s /etc/init.d/nagios /etc/rcS.d/S98nagios
Step35:- sudo ln -s /etc/init.d/apache2 /etc/rcS.d/S99apache2
Step36:- chkconfig -add nagios
Step37:- chkconfig nagios on

16. Start Nagios Core 4.1.0rc1 Service
step38 :- sudo service nagios start

17. Start Apache Service
step39 :- sudo service apache2 start

TESTING TIME

Visit Nagios URL in your browser
http://IPADDRESS/nagios or http://domainname.cm/nagios
username:- nagiosadmin and password:- created in step 8

18. To Add New User & Reset Password
The user's credentials password are stored in
/etc/nagios3/htpasswd.users

19. To change the nagiosadmin password.
step43:- sudo htpasswd /etc/nagios3/htpasswd.users nagiosadmin

20. To add a user
step44:- sudo htpasswd /etc/nagios3/htpasswd.users steve

ERROR
Error 1 after login :- error could not read object configuration data nagios 4 run nagios as daemon.

Step40:- sudo /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Error 1 after login:- It appears as though you do not have permission to view information for any of the hosts you requested.

Step41:- sudo nano /usr/local/nagios/etc/cgi.cfg
Step42:- sudo service nagios restart


NOTE :- For Any Clarification Please 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-06-06How to Install CentOS Web Panel (All-in-One Free Web Hosting CWP) in CentOS 7 & Fedora Server 22
2015-06-06How to Upgrade Fedora 21 to Fedora 22 Workstation
2015-06-06How to Install LAMP(Apache, Nginx, MySQL, MariaDB, PHP and PhpMyAdmin) in Ubuntu Server 15.04
2015-06-02How to Install VMware Workstation 11 to Create Virtual Machines Fedora 23/22 Desktop - 64/32-Bit
2015-05-31Top 5 Things to Do After Installing Fedora 22 Live Workstation
2015-05-31How to Install Fedora Server 22 on Virtual Box
2015-05-31How to Install Nagios Log Server in Redhat Linux 7, CentOS 7 and Fedora Server 22, 21, 20 - 64bit
2015-05-28How to Configure ‘DNF’ Fork of Yum 27 Commands for RPM Package Management in Fedora 22 & CentOS 7
2015-05-28How to Install Fedora Workstation Live 22 With Full Screen Resolution
2015-05-25How to Install Debian 8 (Jessie) GNU/Linux on Virtual Box - 32/64-Bit
2015-05-24How to Install & Configure Nagios Core 4.1.0rc1 & Plugins 2.0.3 in Ubuntu 15.04 Server - Part 2
2015-05-24How to Install NSClient++ in Windows 7,8,10 to Add Host in Nagios Server to Monitor Remote
2015-05-24How to Install & Configure Nagios Core 4.1.0rc1 & Plugins 2.0.3 in Ubuntu 15.04 Server - Part 1
2015-05-21How to Configure ThunderBird 31.7.0 with POP3, IMAP & SMTP in Ubuntu 14.04, 14.10, 15.04 & 15.10
2015-05-20How to Install Ubuntu 15.10 in Virtual Box - 32/64-Bit
2015-05-12How to Install WordPress 4.2.2 (Apache, PhpMyAdmin & MySql) in Linux Mint 17.2 & Ubuntu 15.04/15.10
2015-05-12How to Install Visual Studio Code in Ubuntu 15.10/15.04 & Linux Mint 17.2 - 32/64-Bit
2015-05-12Shell Script to Monitor Network, Disk Usage, Uptime, Load Average and RAM Usage in Linux/Ubuntu
2015-05-06How to Install ‘PhpVirtualBox’ to Manage Virtual Machines via Web Browser in Ubuntu 15.04
2015-05-06How to install Kubuntu 15.04 (Vivid Vervet) on Virtual Box with Full Screen Resolution
2015-05-06How to Install VMware Workstation 11 to Create Virtual Machines on Ubuntu 15.04/15.10



Tags:
CentOS
Oracle
Linux
Server (Film Character)
Ubuntu (Operating System)
Plug-in (Software Genre)
Nagios (Software)
Tutorial
Maker
Desktop
Computer
ubuntu
Ubuntu Software Center (Software)
Ubuntu One (Software)
How-to (Website Category)
Software (Industry)