servicedependency bug

Pradeep Hodigere pradeep.hodigere at gmail.com
Thu Dec 2 04:00:25 CET 2004


Hi,

  I have service dependency between 3 services (on the same host) in the
order:
  C => B => A

  and i set the execution_failure_criteria in B's and C's
service dependency definitions to 'n' (listed below are the three
definitions). When A's state changes to CRITICAL, nagios stops
checking B and C services. nagios logs don't point to execution of these
services or alert messages indicating B and C have failed (they
are going to fail as they depend on A to succed).

 Please let me know if this is a known problem and if its been fixed. This
behaviour is seen from a build using the latest cvs snapshot.

thanks,
-pradeep


define service {
    name                         a
    service_description     A

    .. other directives ..
}

define service {
    name                        b
    service_description     B
}

define servicedependency {
    host_name                                  localhost
    service_description                       A
    dependent_host_name                  localhost
    dependent_service_description       B
    execution_failure_criteria               n
    notification_failure_criteria             w,c,u
    register                                       1
}

define service {
    name                                   c
    service_description               C
}

define servicedependency {
    host_name                                  localhost
    service_description                      B
    dependent_host_name                 localhost
    dependent_service_description       C
    execution_failure_criteria          n
    notification_failure_criteria       w,c,u
    register                            1
}


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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