SlideShare a Scribd company logo
How install Nagios in Ubuntu 15.04
To setup Nagios your Ubuntu serve with the help of given below command you
must be install servers like this. But you need update server before, install
server.
# apt-get update
# apt-get install apache2 -y mysql-server-5.6 php5 libapache2-mod-php5
During the installing process, you will be asked to configure the password of
MySQL server. Press “OK” after setting up the password and then repeat the
same upon next prompt.
We need to install the few other packages that are necessary for fully
functional Nagios setup and to monitor the “localhost”. Run the below
command to install these packages on Ubuntu.
# apt-get install -y snmp snmpd rrdtool
To easy in configure nagios you should install VIM.
# apt-get install vim
gu then you are need install server monitoring packages for function on
localhost, you are have rights in chose versions monitoring following type as
well as nagios3 nagios4 and a lots. Right now I’ll show about Nagios3. Run the
below command to install.
# apt-get install –y nagios-nrpe-plugin
# apt-get install –y nagios3 nagios-nrpe-plugin
Press on Tab to contiues.
Click on internet site and then press on Tab to continue.
For mail name you can put your email and press Tab to continue.
Password for nagios.
Restart few servers other that has installed.
You’ll be asked to enter a password for the nagiosadmin user. The user’s
credentials are stored in /etc/nagios3/htpasswd.users. Run the below
command.
# htpasswd –c /etc/nagio3/htpasswd.users nagiosadmin
For adding a user into localhost run the below command.
# htpasswd –c /etc/nagio3/htpasswd.users steve
By default Nagios in configured to check HTTP, disk space. SSH, current users,
processes, and load on the localhost. Nagios will also ping check the gateway.
# cd /etc/nagios3/con.d
Create host for file on server2.
# cp localhost_nagios2.cfg TP-S1.cfg
Edit host.
# vim TP-S1.cfg
And then save and exit.
Restart nagios3 service for new configuration.
# systemctl restart nagios3.service
Testing on browser.
For log into browser you can write hostname or IP address up to you.
For example, http://machine/nagios3 or http://192.168.44.170/nagios3
How install nagios in ubuntu 15.04, 16.04
How install nagios in ubuntu 15.04, 16.04
If your process monitoring has problem ERROE, please into
hostgroups_nagios2.cfg and then close hostgroup by use assign # in front of.
For example # vim hostgroup_nagios2.cfg
How to add parents to host other you do like this.
# vim TP-S1.cfg
How to add picture to host by, run below command.
#c vim TP-S1.cfg
# cp TP-S1.png /usr/share/nagio3/htdosc/image/logos/
Restart service.
Testing show picture hosts.
Try again and again to success <>Nice thing never last

More Related Content

PDF
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
PDF
Jones_Lamp_Tutorial
PPTX
Install PostgreSQL on CentOS
ODP
Elastic search
PPT
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
TXT
DOCX
Uable to do ssh from the RedHat Linux machine to Netapp filer 7 mode storage ...
PDF
Ajenti control panel
Magento 2 Seminar - Miguel Balparda - M2 with PHP 7 and Varnish
Jones_Lamp_Tutorial
Install PostgreSQL on CentOS
Elastic search
How To Deploy A Cloud Based Webserver in 5 minutes - LAMP
Uable to do ssh from the RedHat Linux machine to Netapp filer 7 mode storage ...
Ajenti control panel

What's hot (17)

DOCX
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
PDF
PDF
Step by-step installation of a secure linux web dns- and mail server
PPTX
Cse 241
PDF
How to install nginx vs unicorn
PDF
mail server
PPS
Squidinstallation
PDF
NSClient++ Workshop: 06 Scripting
ODT
Squid file
PPSX
Linux02 install SSh
DOCX
Lamp configuration u buntu 10.04
PPTX
Denial of service attack part 2
PDF
NSClient Workshop: 04 Protocols
PDF
Dev ops on startup environment
PDF
PHP at Density and Scale
PPT
Ns-2.35 Installation
DOCX
How to install squid proxy on server or how to install squid proxy on centos o
Instalasi Network Monitoring System (Nagios) Ubuntu 12.04
Step by-step installation of a secure linux web dns- and mail server
Cse 241
How to install nginx vs unicorn
mail server
Squidinstallation
NSClient++ Workshop: 06 Scripting
Squid file
Linux02 install SSh
Lamp configuration u buntu 10.04
Denial of service attack part 2
NSClient Workshop: 04 Protocols
Dev ops on startup environment
PHP at Density and Scale
Ns-2.35 Installation
How to install squid proxy on server or how to install squid proxy on centos o
Ad

Similar to How install nagios in ubuntu 15.04, 16.04 (20)

PDF
Installing nagios core_from_source
PDF
How to configure Nagios in Fedora ?
PDF
Install nagios
PDF
Install nagios
PDF
Install nagios
PDF
How tos nagios - centos wiki
ODP
Tutorial: Install Nagios in Fedora
PPTX
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
ODP
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
PDF
Nagios 3
PDF
Nagios 3
PDF
Learning Nagios module 1
PPTX
NagiOs.pptxhjkgfddssddfccgghuikjhgvccvvhjj
PDF
Nagios pawan kumar- stpl 30042012
PPTX
Nagios
PDF
linux installation.pdf
PPTX
Nagios intro
PDF
Staying Sane with Nagios
PDF
Graphing Nagios services with pnp4nagios
ODP
Nagios Conference 2013 - Spenser Reinhardt - Securing Your Nagios Server
Installing nagios core_from_source
How to configure Nagios in Fedora ?
Install nagios
Install nagios
Install nagios
How tos nagios - centos wiki
Tutorial: Install Nagios in Fedora
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Eric Mislivec - Getting Started With Nagios Core
Nagios 3
Nagios 3
Learning Nagios module 1
NagiOs.pptxhjkgfddssddfccgghuikjhgvccvvhjj
Nagios pawan kumar- stpl 30042012
Nagios
linux installation.pdf
Nagios intro
Staying Sane with Nagios
Graphing Nagios services with pnp4nagios
Nagios Conference 2013 - Spenser Reinhardt - Securing Your Nagios Server
Ad

Recently uploaded (20)

PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
Digital Literacy And Online Safety on internet
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PPTX
artificial intelligence overview of it and more
PPTX
Internet___Basics___Styled_ presentation
PPTX
Funds Management Learning Material for Beg
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
presentation_pfe-universite-molay-seltan.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
DOCX
Unit-3 cyber security network security of internet system
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
Introduction to Information and Communication Technology
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Module 1 - Cyber Law and Ethics 101.pptx
Digital Literacy And Online Safety on internet
Decoding a Decade: 10 Years of Applied CTI Discipline
WebRTC in SignalWire - troubleshooting media negotiation
Triggering QUIC, presented by Geoff Huston at IETF 123
artificial intelligence overview of it and more
Internet___Basics___Styled_ presentation
Funds Management Learning Material for Beg
An introduction to the IFRS (ISSB) Stndards.pdf
international classification of diseases ICD-10 review PPT.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
presentation_pfe-universite-molay-seltan.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
Unit-3 cyber security network security of internet system
522797556-Unit-2-Temperature-measurement-1-1.pptx
Introuction about ICD -10 and ICD-11 PPT.pptx
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Introduction to Information and Communication Technology
Introduction about ICD -10 and ICD11 on 5.8.25.pptx

How install nagios in ubuntu 15.04, 16.04

  • 1. How install Nagios in Ubuntu 15.04 To setup Nagios your Ubuntu serve with the help of given below command you must be install servers like this. But you need update server before, install server. # apt-get update # apt-get install apache2 -y mysql-server-5.6 php5 libapache2-mod-php5 During the installing process, you will be asked to configure the password of MySQL server. Press “OK” after setting up the password and then repeat the same upon next prompt.
  • 2. We need to install the few other packages that are necessary for fully functional Nagios setup and to monitor the “localhost”. Run the below command to install these packages on Ubuntu. # apt-get install -y snmp snmpd rrdtool To easy in configure nagios you should install VIM. # apt-get install vim
  • 3. gu then you are need install server monitoring packages for function on localhost, you are have rights in chose versions monitoring following type as well as nagios3 nagios4 and a lots. Right now I’ll show about Nagios3. Run the below command to install. # apt-get install –y nagios-nrpe-plugin
  • 4. # apt-get install –y nagios3 nagios-nrpe-plugin Press on Tab to contiues.
  • 5. Click on internet site and then press on Tab to continue. For mail name you can put your email and press Tab to continue.
  • 6. Password for nagios. Restart few servers other that has installed.
  • 7. You’ll be asked to enter a password for the nagiosadmin user. The user’s credentials are stored in /etc/nagios3/htpasswd.users. Run the below command. # htpasswd –c /etc/nagio3/htpasswd.users nagiosadmin For adding a user into localhost run the below command. # htpasswd –c /etc/nagio3/htpasswd.users steve
  • 8. By default Nagios in configured to check HTTP, disk space. SSH, current users, processes, and load on the localhost. Nagios will also ping check the gateway. # cd /etc/nagios3/con.d Create host for file on server2. # cp localhost_nagios2.cfg TP-S1.cfg
  • 9. Edit host. # vim TP-S1.cfg And then save and exit. Restart nagios3 service for new configuration. # systemctl restart nagios3.service Testing on browser. For log into browser you can write hostname or IP address up to you. For example, http://machine/nagios3 or http://192.168.44.170/nagios3
  • 12. If your process monitoring has problem ERROE, please into hostgroups_nagios2.cfg and then close hostgroup by use assign # in front of. For example # vim hostgroup_nagios2.cfg How to add parents to host other you do like this. # vim TP-S1.cfg How to add picture to host by, run below command. #c vim TP-S1.cfg
  • 13. # cp TP-S1.png /usr/share/nagio3/htdosc/image/logos/ Restart service.
  • 15. Try again and again to success <>Nice thing never last