notification suppression

Mascardo, Erwin Erwin.Mascardo at intelsat.com
Thu Jul 28 16:16:18 CEST 2005



>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net 
>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of 
>Miles Scruggs
>Sent: Wednesday, 27 July, 2005 16:48
>To: nagios-users at lists.sourceforge.net
>Subject: RE: [Nagios-users] notification suppression
>
>
>
>I want to monitor a host, but have it dependent on a group of hosts  ie
>google.com Microsoft.com etc, and if the host goes down, no 
>notifications
>will be sent out unless at least one of the hosts in that 
>group is up  (ie
>there is connection to the internet for sure)

One way to do this sort of thing is to write a script that checks to see
if your selected hosts are alive. If just one is up, return 0 and a "the
Internet is up" message. If they're all unreachable, return 2 and a "the
Internet is down, time to panic" message. But don't make google.com and
friends monitored hosts in and of themselves.

--Erwin
############################################################

Intelsat is a global communications provider offering flexible and 
secure services to customers in over 220 countries and territories.  
Intelsat has maintained a leadership position for over 40 years by 
distributing video, voice, and data for television and content providers, 
government and military entities, major corporations, telecommunications carriers, 
and Internet service providers. Intelsat's reach, power and expanding solutions 
portfolio deliver information reliably and quickly to every corner of the globe.  

For more information, visit www.intelsat.com.

############################################################
This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or 
distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by reply email and 
destroy all copies of the original message.  Any views 
expressed in this message are those of the individual 
sender, except where the sender specifically states them 
to be the views of Intelsat, Ltd. and its subsidiaries.
############################################################


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list