dependencies not working?

Sheeri Kritzer sheeri.kritzer at tufts.edu
Mon Oct 25 22:49:42 CEST 2004


Hey there,

I have host dependencies working, that is, using the "parents" keyword in a host 
configuration.

However, I'd like to set up dependencies for services -- for instance, having 
DISK on machine1 be dependent on NFS from machine2, because it mounts the disk 
from machine2 (and we don't have DISK monitoring on machine2).

I set that up, and then firewalled the NFS server off the nagios server, so 
every service was down (well, actually the whole host is down).  

This is my service dependency

define servicedependency{
        host_name                       machine1
        service_description             DISK
        dependent_host_name             machine2
        dependent_service_description   NFS
        execution_failure_criteria      c,u
        notification_failure_criteria   w,c,u
}

And nagios still went red for DISK on machine1, even after machine2 was down.  
>From my understanding of execution_failure_criteria, it shouldn't even bother to 
execute a check on DISK for machine1, because NFS on machine2 is down.

Is this just because the whole host (machine2) was down?  Is that a bug?  Or did 
I configure this dependency wrong?

-Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
sheeri.kritzer at tufts.edu






-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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