Service Dependencies doesn't WORK????

Miguel A. Torres matorres at prisacom.com
Mon May 12 18:44:24 CEST 2003


Hello all,

I have a problem with the Service Dependencies. I'm configuring a simple test of this feature but it doesn`t work. The configuration that I'm trying is the following:

I have 2 servers with apache
============================

define service{
  host_name server1
  service_description MYSQL
}
 
define service{
  host_name server2
  service_description WEB
}

For check this feature I put this servicedependency in the file "dependicies.cfg".   

define servicedependency{
    host_name                           server1
    service_description                 MYSQL
    dependent_host_name                 server2
    dependent_service_description       WEB
    execution_failure_criteria          w,u,c
    notification_failure_criteria       w,u,c
    }

With this configuration I want when the MYSQL service in server1 turn on warnnig, unreachable or critical state the WEB service in server2 turn in the same state that de MYSQL service. But ..... this DOESN'T WORK.

My question is: is this configuration correct?? should I do something more?

Thanks in advance.



 


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.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