SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
NAGIOS
Nagios is a powerful monitoring system that enables organizations to identify
and resolve IT infrastructure problems before they affect critical business
processes.
Capabilities to monitor applications, services, operating systems, network
protocols, system metrics and infrastructure components with a single tool
Centralized view of entire monitored IT infrastructure
Detailed status information available through web interface
Alert acknowledgments provide communication on known issues and problem
response
Event handlers allow automatic restart of failed applications and services
#yum install httpd php
#yum install gcc glibc glibc-common
#yum install gd gd-devel
#/usr/sbin/useradd -m nagios
#passwd nagios
#/usr/sbin/groupadd nagcmd
#/usr/sbin/usermod -a -G nagcmd nagios
#/usr/sbin/usermod -a -G nagcmd apache
Configure mail server
Download Nagios and plugins
: - http://www.nagios.org/download/
Create a directory for storing the downloads.
mkdir ~/downloads
cd ~/downloads
Extract the Nagios source code tarball.
cd ~/downloads
#tar xzf nagios­3.2.2.tar.gz
#cd nagios­3.2.2
./configure ­­with­command­group=nagcmd
       make all
        make install
        make install­init
        make install­config
        make install­commandmode
Don't start Nagios yet ­ there's still more that needs to be done...
     #vim /usr/local/nagios/etc/objects/contacts.cfg
     make install­webconf
#htpasswd ­c /usr/local/nagios/etc/htpasswd.users nagiosadmin
     #service httpd restart
     #cd ~/downloads
     #tar xzf nagios­plugins­.tar.gz
      #cd nagios­plugins
./configure ­­with­nagios­user=nagios –with­nagios­group=nagios
     make
     make install
     chkconfig ­­add nagios
chkconfig nagios on
Verify the sample Nagios configuration files.
#/usr/local/nagios/bin/nagios ­v /usr/local/nagios/etc/nagios.cfg
If there are no errors, start Nagios.
#service nagios start
#vim /etc/selinux/config
                                      Login to the Web Interface
You should now be able to access the Nagios web interface at the URL below.
You'll be prompted for the username (nagiosadmin) and password you specified
earlier.
http://localhost/nagios/
Permission Error Then
#chown nagios.nagiocmd /usr/local/nagios/var/rw
#chmod g+rwx /usr/local/nagios/var/rw
#chmod g+s /usr/local/nagios/var/rw
Configuration Of Nagios
Below line number
# vim /usr/local/nagios/etc/objects/contacts.cfg
30 define contact{
31 contact_name nagiosadmin ; Short name of user
32 use generic-contact ; Inherit default values from generic- contact template (d
efined above)
33 alias Nagios Admin ; Full name of user
35 email support@pawan.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS **
36 }
#vim /usr/local/nagios/etc/objects/localhost.cfg
change Below line number
29 host_name pawan.com
30 alias pawan
31 address 192.168.0.55
32 }
49 members pawan.com
You can define monitor services in :-----
#vim /usr/local/nagios/etc/objects/localhost.cfg
For example:- in last line
# Define a service to check FTP on the local machine.
# Disable notifications for this service by default, as not all users may have FTP enabled.
define service{
use local-service ; Inherit default values from a template
host_name pawan.com
service_description ftp
check_command check_ftp
}
Nagios pawan kumar- stpl 30042012

Contenu connexe

En vedette

Presentation2
Presentation2Presentation2
Presentation2
yupuak
 
Sljhrm training and development
Sljhrm  training and developmentSljhrm  training and development
Sljhrm training and development
uttaridevika2005
 
How to build a research program social media
How to build a research program social mediaHow to build a research program social media
How to build a research program social media
UWPHINEX
 
Presentation1
Presentation1Presentation1
Presentation1
yupuak
 
同窓会入会式2013
同窓会入会式2013同窓会入会式2013
同窓会入会式2013
Toshikazu Ito
 
Fb images 1st to 5th july
Fb images 1st to 5th julyFb images 1st to 5th july
Fb images 1st to 5th july
wilsonrd1987
 
Nearfuture
NearfutureNearfuture
Nearfuture
mrs2261
 
Hewlett Packard Enterprise SW catalogue 2016
Hewlett Packard Enterprise SW catalogue 2016Hewlett Packard Enterprise SW catalogue 2016
Hewlett Packard Enterprise SW catalogue 2016
Anatoliy Arkhipov
 
Presentation1
Presentation1Presentation1
Presentation1
yupuak
 
E tancsads szakmai megvalsulsai ma magyarorszgon
E tancsads szakmai megvalsulsai ma magyarorszgonE tancsads szakmai megvalsulsai ma magyarorszgon
E tancsads szakmai megvalsulsai ma magyarorszgon
Bernadette Gelsei
 

En vedette (18)

Presentation2
Presentation2Presentation2
Presentation2
 
Ppt najma tekno
Ppt najma teknoPpt najma tekno
Ppt najma tekno
 
Sljhrm training and development
Sljhrm  training and developmentSljhrm  training and development
Sljhrm training and development
 
How to build a research program social media
How to build a research program social mediaHow to build a research program social media
How to build a research program social media
 
Νίκος Καββαδίας
Νίκος ΚαββαδίαςΝίκος Καββαδίας
Νίκος Καββαδίας
 
Presentation1
Presentation1Presentation1
Presentation1
 
同窓会入会式2013
同窓会入会式2013同窓会入会式2013
同窓会入会式2013
 
teachin ESP
teachin ESPteachin ESP
teachin ESP
 
Fb images 1st to 5th july
Fb images 1st to 5th julyFb images 1st to 5th july
Fb images 1st to 5th july
 
Nearfuture
NearfutureNearfuture
Nearfuture
 
Hewlett Packard Enterprise SW catalogue 2016
Hewlett Packard Enterprise SW catalogue 2016Hewlett Packard Enterprise SW catalogue 2016
Hewlett Packard Enterprise SW catalogue 2016
 
Presentation1
Presentation1Presentation1
Presentation1
 
E tancsads szakmai megvalsulsai ma magyarorszgon
E tancsads szakmai megvalsulsai ma magyarorszgonE tancsads szakmai megvalsulsai ma magyarorszgon
E tancsads szakmai megvalsulsai ma magyarorszgon
 
Daily option news letter 01 aug
Daily option news letter 01 augDaily option news letter 01 aug
Daily option news letter 01 aug
 
Responsive: From Design to Philosophy
Responsive: From Design to PhilosophyResponsive: From Design to Philosophy
Responsive: From Design to Philosophy
 
Special Report On MCX By Theequicom
Special Report On MCX By TheequicomSpecial Report On MCX By Theequicom
Special Report On MCX By Theequicom
 
Ophthalmic data & Databse
Ophthalmic data & DatabseOphthalmic data & Databse
Ophthalmic data & Databse
 
Raquele Collares Gregoletto
Raquele Collares GregolettoRaquele Collares Gregoletto
Raquele Collares Gregoletto
 

Similaire à Nagios pawan kumar- stpl 30042012

26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
Freddy Buenaño
 
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Opersys inc.
 

Similaire à Nagios pawan kumar- stpl 30042012 (20)

Learning Nagios module 1
Learning Nagios module 1Learning Nagios module 1
Learning Nagios module 1
 
nagios.ppt
nagios.pptnagios.ppt
nagios.ppt
 
Automating cloud security - Jonny Griffin
Automating cloud security - Jonny GriffinAutomating cloud security - Jonny Griffin
Automating cloud security - Jonny Griffin
 
Nagios En
Nagios EnNagios En
Nagios En
 
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICESCENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation report
 
8 Tools for Troubleshooting Windows 8
8 Tools for Troubleshooting Windows 8 8 Tools for Troubleshooting Windows 8
8 Tools for Troubleshooting Windows 8
 
System monitoring
System monitoringSystem monitoring
System monitoring
 
Aci dp
Aci dpAci dp
Aci dp
 
Security Gateway CP R70
Security Gateway CP R70Security Gateway CP R70
Security Gateway CP R70
 
Nagios Conference 2014 - Shamas Demoret - An Overview of Nagios Solutions
Nagios Conference 2014 - Shamas Demoret - An Overview of Nagios SolutionsNagios Conference 2014 - Shamas Demoret - An Overview of Nagios Solutions
Nagios Conference 2014 - Shamas Demoret - An Overview of Nagios Solutions
 
Deploy Application Files with Git
Deploy Application Files with GitDeploy Application Files with Git
Deploy Application Files with Git
 
Microsoft System center Configuration manager 2012 sp1
Microsoft System center Configuration manager 2012 sp1Microsoft System center Configuration manager 2012 sp1
Microsoft System center Configuration manager 2012 sp1
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
 
Cloud-native Java EE-volution
Cloud-native Java EE-volutionCloud-native Java EE-volution
Cloud-native Java EE-volution
 
PRTG
PRTGPRTG
PRTG
 
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
 
Heroku
HerokuHeroku
Heroku
 
Nagios intro
Nagios intro Nagios intro
Nagios intro
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and Tuning
 

Plus de Pawan Kumar (7)

Apache ofbiz
Apache ofbizApache ofbiz
Apache ofbiz
 
monitoring linux system
monitoring linux system monitoring linux system
monitoring linux system
 
Ftp server linux
Ftp server linuxFtp server linux
Ftp server linux
 
Virtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerVirtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic Server
 
MySQL with DRBD/Pacemaker/Corosync on Linux
 MySQL with DRBD/Pacemaker/Corosync on Linux MySQL with DRBD/Pacemaker/Corosync on Linux
MySQL with DRBD/Pacemaker/Corosync on Linux
 
My sql 5.6 master slave and master-master replication.step by step configurat...
My sql 5.6 master slave and master-master replication.step by step configurat...My sql 5.6 master slave and master-master replication.step by step configurat...
My sql 5.6 master slave and master-master replication.step by step configurat...
 
My sql 5.6 installation and upgradation steps in centos
My sql 5.6 installation and upgradation steps in centosMy sql 5.6 installation and upgradation steps in centos
My sql 5.6 installation and upgradation steps in centos
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

Nagios pawan kumar- stpl 30042012