Service dependancy - circular execution

Ints intsm at hot.ee
Tue Sep 18 11:27:02 CEST 2007


Hi!

I noticed that it's not possible for 2 hosts to have depend
on the same service on each other, but it's troublesome as I don't want
to have it notify if the service is running on 1 of the hosts, here's an
example:
define
servicedependency{
       
host_name                      
server0
       
dependent_host_name            
server1
       
dependent_service_description  
service0
       
service_description            
service0
       
inherits_parent                
0
       
execution_failure_criteria     
n
       
notification_failure_criteria  
o
        }
define
servicedependency{
       
host_name                      
server1
       
dependent_host_name            
server0
       
dependent_service_description  
service0
       
service_description            
service0
       
inherits_parent                
0
       
execution_failure_criteria     
n
       
notification_failure_criteria  
o
        }
Basically, the
service must run on 1 of the servers, it'll NEVER run on both at the
same time and while it's running on 1 but not on the other, I don't want
to have notifies sent for the service not running on one of the hosts. I
understand why it could result in a deadlock, but it won't in my case,
so unless there's some hidden option to bypass this security error
(which I haven't found in 3.0b1) I'd like to have such an option for
servicedependancy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20070918/d8d2a9d1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list