Service Dependencies - how to make a new one

Merrett, Mike mike.merrett at whitehorse.ca
Wed Apr 18 00:48:31 CEST 2007


Hi:
    Does anyone know how to make a service dependency work globally?
For example I want to do this but it doesn't seem to work (at least in
3.0a3)
 
define servicedependency {
  hostgroups       2003-servers, 200-servers, XP-servers
  service_description    NT_Stats_Port
  dependent_service_description UPTIME
  notification_failure_criteria w,c,u,p
}

WITH
 
define service{
   hostgroup_name                2003-servers, 2000-servers, XP-servers
   service_description           UPTIME
   check_command                 check_nt_uptime
   use          generic-service
}
 
AND
define service{
   hostgroup_name                2003-servers, 2000-servers, XP-servers
   service_description           NT_Stats_Port
   check_command                 check_tcp!1248
   use          generic-service
}
 
I get 2 errors:
Error: A circular notification dependency (which could result in a
deadlock) exists for service 'NT_Stats_Port' on host 'hosta'!
Error: A circular notification dependency (which could result in a
deadlock) exists for service 'UPTIME' on host 'hosta'!

 
 
Thanks in advance
 
    Mike Merrett
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070417/dd1a8c3b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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