148
Chapter 10: Nagios Integration
Nagiosisapowerful,highlyextensibleopensourcetoolformonitoringnetworkhostsandservices.ThecoreNagiossoftware
packagewilltypicallybeinstalledonaserverorvirtualserver,thecentralNagiosserver.
TrippLiteConsoleServerscanoperateinconjunctionwithacentral/upstreamNagiosservertoprovidedistributingmonitoring
ofattachednetworkhostsandserialdevices.TheConsoleServerscanembedtheNSCA(NagiosServiceChecksAcceptor)
andNRPE(NagiosRemotePlug-inExecutor)add-ons.ThisallowsthemtocommunicatewiththecentralNagiosserver,
eliminatingtheneedforadedicatedSlaveNagiosserveratremotesites.
TheConsoleServersembedabasicsetofdistributedmonitoringadd-onsandcanbeuploadedwithadditionalcustomizable
distributed monitoring.
Note: If you have an existing Nagios deployment, you may wish to use the Console Server in a distributed monitoring server
capacity only. In this case and if you are already familiar with Nagios, skip ahead to section 10.3.
10.1 Nagios Overview
Nagiosprovidescentralmonitoringofthehostsandservicesinyourdistributednetwork.Nagiosisfreelydownloadable,
opensourcesoftware.ThissectionoffersaquickbackgroundofNagiosanditscapabilities.Acompleteoverview,FAQand
comprehensive documentation are available at: http://www.nagios.org
NagiosformsthecoreofmanyleadingcommercialsystemmanagementsolutionssuchasGroundWork:http://www.
groundworkopensource.com
Nagiostakessometimetoinstallandcongure,butonceitisupandrunning,itprovidesanoutstandingnetworkmonitoring
system.WithNagiosyoucan:
• Displaytablesshowingthestatusofeachmonitoredserverandnetworkserviceinrealtime
• Useawiderangeoffreelyavailableplug-instomakedetailedchecksofspecicservices,e.g.,don'tjustcheckifa
databaseisacceptingnetworkconnections,checkthatitcanactuallyvalidaterequestsandreturnrealdata
• Displaywarningsandsendwarninge-mails,pagerorSMSalertswhenaservicefailureordegradationisdetected
• Assigncontactgroupswhoareresponsibleforspecicservicesinspecictimeframes