<html>
<head>
</head>
<body>
This might help you out.  You can use the hostdependency object with "hostgroup_name"
and "dependent_hostgroup_name" definitions:<br>
<br>
<a class="moz-txt-link-freetext" href="http://nagios.sourceforge.net/docs/1_0/templatetricks.html#hostdependency">http://nagios.sourceforge.net/docs/1_0/templatetricks.html#hostdependency</a><br>
<br>
Russell Scibetti<br>
Quadrix Solutions Inc.<br>
<br>
Hochberg, Keith wrote:<br>
<blockquote type="cite" cite="mid:5F29693503507B4FB4032686ADF862670772B3@mtviny25.mtvi.com">
  <meta name="Generator" content="MS Exchange Server version 6.0.6249.1">
  <title>hostgroup escalations?</title>
<!-- Converted from text/rtf format -->
  <p><font size="2" face="Arial">I've read through all of the docs and FAQ's
and I am not sure this can be done.  For future ease of administration I
would like to be able to set up hostgroup dependencies, such as:</font></p>
  <p><font size="2" face="Arial">define hostgroupdependency{</font><br>
  <font size="2" face="Arial">        host_name                              
        network device</font><br>
  <font size="2" face="Arial">        dependent_hostgroup_name          
hostgroup</font><br>
  <font size="2" face="Arial">        notification_failure_criteria          
d,u</font><br>
  <font size="2" face="Arial">        }</font></p>
  <p><font size="2" face="Arial">I manage a rather large Nagios build (over
2,000 checks) and would like to just be able to change hosts in my hostgroups
file and have the host dependencies already set up.  I have service and host
dependencies set up but when I tried to set up the hostgroup dependency it
didn't like the syntax.  Do you know any way around this?  I guess I can
just copy and paste straight from the hostgroups.cfg directly to the dependencies.cfg
but I figured this would be a cleaner way to do it.</font></p>
  <p><font size="2" face="Arial">btw, I found this FAQ very helpful... I
have seen many questions on the difference between parent/child relationship
and host dependencies on this list and elsewhere:   <a href="http://www.nagios.org/faqs/viewfaq.php?faq_id=145">
http://www.nagios.org/faqs/viewfaq.php?faq_id=145</a>
  </font></p>
  <p><font size="2" face="Arial">Any help you can give me would be much appreciated!</font></p>
  <p><font size="2" face="Arial">Thanks!</font></p>
  <p><font size="2" face="Arial">-Keith</font></p>
  ------------------------------------------------------- Enterprise Linux
Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated
to issues related to Linux enterprise solutions <a class="moz-txt-link-abbreviated" href="http://www.enterpriselinuxforum.com">www.enterpriselinuxforum.com</a> 
 _______________________________________________ Nagios-users mailing list 
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a> 
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.  ::: Messages without supporting info will risk being sent to
/dev/null   </blockquote>
  <br>
  <pre class="moz-signature" cols="$mailwrapcol">-- 
Russell Scibetti
Quadrix Solutions, Inc.
<a class="moz-txt-link-freetext" href="http://www.quadrix.com">http://www.quadrix.com</a>
(732) 235-2335, ext. 7038
</pre>
  <br>
  </body>
  </html>