Dependency Stuff

Roy S. Rapoport rsr at inorganic.org
Wed Mar 26 06:34:31 CET 2003


I suspect this was answered before on the mailing list, but I can't search it
right now.

I'm trying to get statusmap to show hosts in a way that corresponds with the
dependency file (so, for example, the next hop is shown connected in a line to
my gateway, not directly to the nagios system).

My dependency file is:
define servicedependency {
        host_name                       gw
        service_description             ALIVE
        dependent_host_name             nexthop
        dependent_service_description   ALIVE
        execution_failure_criteria      w,u,c
        notification_failure_criteria   w,u,c
}

define hostdependency   {
        host_name                       gw
        dependent_host_name             nexthop
        notification_failure_criteria   d,u
}

gw is my first hop, nexthop is, well, my next hop.

I haven't tested a failure to see if Nagios will do the right thing yet, but
statusmap shows gw and nexthop on the same 'level'.  What am I missing?

-roy



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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