Internet Detection

Fernando Lima flima at slb.com
Tue Aug 16 16:57:30 CEST 2005


This is exactly as I do.

In my opinion is the better way to check your Internet activity. As well
check you dns (primary and secondary, just in case).

Fernando Lima
Schlumberger
Security Engineer
flima at slb.com <mailto:flima at slb.com>

Office: +55 21 3824 6954
Mobile. : +55 21 9888 9046
(GMT: -03:00)


-----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 11: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.

Thanks

Miles




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



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




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