Internet Detection

Marc Powell marc at ena.com
Tue Aug 16 16:51:47 CEST 2005


I agree with this approach. 'Think globally, act locally' used to be a
mantra that many people seem to have forgotten. Just because the
bandwidth that other people are paying for is there doesn't mean that
you have a right to consume it. In this example, one person pinging
these sites isn't a big deal but if 1,000 or 10,000 people were doing it
then it is. It just doesn't scale (think Slashdot effect). You're not
going to glean much more useful information than if you were pinging the
remote side of each of your Internet connections which is much
friendlier and only uses bandwidth that you are paying for and routers
that you have full or some control over. Additionally, you're dependent
on the policies of some third party you have no control over. If Google,
Dell or NASA suddenly decided to block ICMP, and I'm surprised they
don't already, then you'd have ambiguous results from your test that
additional testing would be required to interpret.

--
Marc

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Todd Barbera
> Sent: Tuesday, August 16, 2005 9:31 AM
> To: 'Miles Scruggs'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Internet Detection
> 
> Hi Miles,
> 
> Couldn't you simply check your upstream router from your ISP?
> 
> Todd
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Miles
> Scruggs
> Sent: Tuesday, August 16, 2005 10:26 AM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Internet Detection
> 
> >
> > Instead, you can use the check_icmp plugin in check_host mode and
give
> > it several hostnames to well-known sites, like so;
> >
> > ln -s check_icmp check_host
> > time ./check_host www.google.com www.dell.com www.nasa.gov
> > www.whitehouse.gov OK - www.google.com responds to ICMP. Packet 1,
rtt
> > 48.630ms
> > |pkt=1;0;0;0;5 rta=48.630;2000.000;2000.000;;
> >
> > real    0m0.170s
> > user    0m0.000s
> > sys     0m0.000s
> >
> 
> This is fine, but it returns critical if even one of the hosts is
down.
> Pretty much pointless for using multiple hosts for internet detection.
I
> want it to return critical only if all hosts are
down/unresponsive/slow.
> How would I do this?
> 
> Also I'm not sure what the point of using the time command is either.
> 


-------------------------------------------------------
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