<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I have tried o play a bit with the service
dependencies list and defined the following:</font>
<br>
<br><font size=2 face="sans-serif">define servicedependency{</font>
<br>
<br><font size=2 face="sans-serif">        dependent_host_name
            WS1</font>
<br><font size=2 face="sans-serif">        dependent_service_description
  CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage</font>
<br><font size=2 face="sans-serif">        host_name
                     
WS1</font>
<br><font size=2 face="sans-serif">        service_description
            PING</font>
<br><font size=2 face="sans-serif">        execution_failure_criteria
     w,u,c</font>
<br><font size=2 face="sans-serif">        notification_failure_criteria
  w,u,c</font>
<br>
<br><font size=2 face="sans-serif">        }</font>
<br>
<br><font size=2 face="sans-serif">So when the host WS1 is not reachable
via PING, other services should not be checked or notified. Works fine.</font>
<br>
<br><font size=2 face="sans-serif">Now I did the following using hostgroups</font>
<br>
<br><font size=2 face="sans-serif">define servicedependency{</font>
<br>
<br><font size=2 face="sans-serif">        dependent_hostgroup_name
            workstations</font>
<br><font size=2 face="sans-serif">        dependent_service_description
  CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage</font>
<br><font size=2 face="sans-serif">        host_name
                     
workstations</font>
<br><font size=2 face="sans-serif">        service_description
            PING</font>
<br><font size=2 face="sans-serif">        execution_failure_criteria
     w,u,c</font>
<br><font size=2 face="sans-serif">        notification_failure_criteria
  w,u,c</font>
<br>
<br><font size=2 face="sans-serif">        }</font>
<br>
<br><font size=2 face="sans-serif">And it does what I expect it to do,
but not what's needed: make each service on any of the workstations group
dependent by any PING service on any host in the group.</font>
<br>
<br><font size=2 face="sans-serif">My question is: is there any way to
use variables in such a way that the other services on a host are dependent
only on the PING on the same host?:</font>
<br>
<br><font size=2 face="sans-serif">In a large environment, using the first
example and copy paste is really time consuming.</font>
<br>
<br><font size=2 face="sans-serif">Thanks!</font>
<br>