advice to check WAN connection

Subhendu Ghosh sghosh at sghosh.org
Tue Sep 13 23:40:03 CEST 2005


On Tue, 13 Sep 2005, FM wrote:

> Hello,
> I created :
> # 'check_internet' command definition
> define command{
>   command_name    check_internet
>   command_line    $USER1$/check_http -H www.google.com
>
> define host{
>   use            generic-srv        ; Name of host template to use
>
>   host_name        Internet connection
>   address            64.233.167.99
>   check_command        check_internet
>   max_check_attempts    10
>   notification_interval    120
>   notification_period    24x7
>   notification_options    d,u,r
>   contact_groups        administrators
>   }
>
>
> now I want that the statusmap looks like :
>
> nagios --FIREWALL -- SERVEUR
>                  |
>               Internet Connection
>
> nagios--Firewall--serveur is already configured
>
>
> Thanks !!!
>


Don't use google.com - it is not net friendly
Check the interface of your upstream router.

The above check also depends on your local dns resolver succeeding.

-- 
-sg


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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