<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>Setting up service dependencies</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hello all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm trying to set up service dependencies in Nagios. For example, I don't want alerts about an HTTP service being down on a host if the host isn't pingable.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">So far, the only way I've found to do this is to set it up for each host individually. That would be difficult with the hundreds of hosts that my nagios is currently monitoring.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I tried creating a servicedependency object with a hostgroup_name and a dependent_hostgroup_name. This seems to make each host in hostgroup_name dependent on EVERY host in dependent_hostgroup_name. For example, if my hostgroup has 7 hosts in it, it seems it's making each of those 7 hosts dependent on each other, making 7x7=49 dependencies. (Stragely, Nagios reports 98 dependencies. Why 2x?) </FONT></P>
<P><FONT SIZE=2 FACE="Arial">Any suggestions on how to make a service dependencies local to each host and not a group of hosts without lots and lots of dependency objects?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Jeff</FONT>
</P>
</BODY>
</HTML>