<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Matt Nelson wrote:
<blockquote
 cite="mid:148f6bb30905150904i51d91b2dq4a8838fc765932e8@mail.gmail.com"
 type="cite"><br>
Any help is greatly appreciated,<br>
  <br>
</blockquote>
Here's some dependencies that I've setup<br>
<br>
Here's how the setup is<br>
<br>
User --> Dansguardian --> Squid --> Internet<br>
So, Dansguardian relies on Squid Proxy<br>
Both are running on the same host, gw<br>
<br>
The Nagios definitions I use for this dependency are:<br>
<br>
define servicedependency   {<br>
   name                             std_dependency<br>
   execution_failure_criteria       w,c,p,u<br>
   notification_failure_criteria    w,c,p,u<br>
   inherits_parent                  1<br>
   register                         0<br>
   }<br>
define servicedependency   {<br>
   use                              std_dependency<br>
   dependent_host_name              gw<br>
   dependent_service_description    Dansguardian Process<br>
   host_name                        gw<br>
   service_description              Squid Process<br>
   }<br>
<br>
define servicedependency   {<br>
   use                              std_dependency<br>
   dependent_host_name              gw<br>
   dependent_service_description    Dansguardian<br>
   host_name                        gw<br>
   service_description              Squid<br>
   }<br>
<br>
<div class="moz-signature">-- <br>
<font size="2"><font face="Verdana">
<a href="http://www.smartmon.com.au">Smartmon System Monitoring</a><br>
<a class="moz-txt-link-abbreviated" href="http://www.smartmon.com.au">www.smartmon.com.au</a>
</font></font></div>
</body>
</html>