how to check routers?

Subhendu Ghosh sghosh at sghosh.org
Tue Jan 27 02:01:01 CET 2004


On Fri, 23 Jan 2004, Greg Alexander wrote:

> Hi -
> 
> We have a router that is listed as a "parent" in most of our host
> definitions, but if I take down any of these hosts, it doesn't seem
> to check if the parent is down.  The router remains at state:
> 
>      (Host assumed to be up)
> 
> The only service on this host is not rechecked, nor is the host status
> (apparently).  I still get notifications for the individual hosts, even
> though the parent is down.  Since it is a router, the only service check
> for this host is essentially a host check:
> 
> define service{
>         use                             generic-service
>         host_name                       gw-router
>         service_description             ALIVE
>         max_check_attempts              10
>         notification_options            n       ; our T1 is flakey
>         check_command                   check_ping!100.0,20%!500.0,60%
>         }
> 
> And it is not checked often enough to show a problem before the alerts
> are sent out.  Shouldn't a failure in a "child" host trigger a host
> check for the gw-router host even though none of the services on
> gw-router have indicated problems yet?
> 
> The T1 operates as a switch so the hosts appear as "DOWN" rather than
> "UNREACHABLE".  gw-router is actually a router on the other end of the
> T1 that conveniently goes AWOL with everything else (and that we trust
> to never crash of its own accord, knock on wood)...
> 

Not quite sure of yout topology: assuming the following...

Nagios -- router --- T1 ---- child hosts

If the router is the parent host for all the child hosts, and on of the 
child host goes down (host down), then yes the router should get a 
host check

what version are you running?
-- 
-sg



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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