<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:d.tom.schmitt@L-3com.com">d.tom.schmitt@L-3com.com</a> wrote:
<blockquote
 cite="mid:2B2CEF0E4EE10B449E5D9BB95E6DA0E8FD116A@MAIL2.csw.l-3com.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal">I have been trying to setup dependencies:<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I want to have only one alert from the 116
switch if all 3
go down – simulation of losing a router/link:<o:p></o:p></p>
  <p class="MsoNormal">I don’t want alerts from the 117 and 118
switches
unless they go down independently.<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">FIRST try using ‘depends’:<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">I have three old
Linksys switches
setup on a smaller switch attached to the network.<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">I created the
following bb-hosts
entries:<o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.116 
Linksys-116            
# conn<o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.117 
Linksys-117            
# depends=(conn:Linksys-116/conn)<o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.118 
Linksys-118            
# depends=(conn:Linksys-116/conn)<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><o:p> </o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">RESULT:   If I
disconnect
all switches, all turn RED and all alert<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">                  
If one goes down it shows RED and alerts<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><o:p> </o:p></p>
  <p class="MsoNormal">SECOND try using ‘route’”<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.116 
Linksys-116             
# conn<o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.117 
Linksys-117             
# route:128.170.41.116<o:p></o:p></p>
  <p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.118 
Linksys-118             
# route:128.170.41.116<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><o:p> </o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">RESULT:  Same as
depends, no difference<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  </div>
</blockquote>
Try:<br>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.116 
Linksys-116             
# conn<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.117 
Linksys-117             
# route:Linksys-116<o:p></o:p></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;">128.170.41.118 
Linksys-118             
# route:Linksys-116<o:p></o:p></p>
<p class="MsoNormal" style="text-indent: 0.5in;"><o:p><br>
I have route: working fine for me in my network. You need to use the
host names not IP addresses.<br>
</o:p></p>
<p class="MsoNormal" style="text-indent: 0.5in;"><o:p><br>
David. <br>
</o:p></p>
<br>
<blockquote
 cite="mid:2B2CEF0E4EE10B449E5D9BB95E6DA0E8FD116A@MAIL2.csw.l-3com.com"
 type="cite">
  <div class="Section1">
  <p class="MsoNormal">These are the entries in the hobbit-alerts.cfg
file:<o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">HOST=Linksys-116
SERVICE=conn
REPEAT=4d RECOVERED<o:p></o:p></p>
  <p class="MsoNormal">                      MAIL
<a class="moz-txt-link-abbreviated" href="mailto:D.Tom.Schmitt@L-3Com.com">D.Tom.Schmitt@L-3Com.com</a><o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">HOST=Linksys-117
SERVICE=conn
REPEAT=4d RECOVERED<o:p></o:p></p>
  <p class="MsoNormal">                      MAIL
<a class="moz-txt-link-abbreviated" href="mailto:D.Tom.Schmitt@L-3Com.com">D.Tom.Schmitt@L-3Com.com</a><o:p></o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;">HOST=Linksys-118
SERVICE=conn
REPEAT=4d RECOVERED<o:p></o:p></p>
  <p class="MsoNormal">                       MAIL
  <a moz-do-not-send="true" href="mailto:D.Tom.Schmitt@L-3Com.com">D.Tom.Schmitt@L-3Com.com</a><o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I must not be understanding how to make a
dependency
structure work?<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">I am running XYMON 4.3.0-0.beta2.<o:p></o:p></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><b><i><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";">Thanks,<o:p></o:p></span></i></b></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><b><i><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";"><o:p> </o:p></span></i></b></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><b><i><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";">Tom Schmitt<o:p></o:p></span></i></b></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><i><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";">Senior IT
Staff -
R&D</span></i><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";"><o:p></o:p></span></p>
  <p class="MsoNormal" style="text-indent: 0.5in;"><span
 style="font-size: 8pt; font-family: "Arial","sans-serif";">Phone (801)
  <i>594-3030</i><o:p></o:p></span></p>
  </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
David Baldwin - IT Unit
Australian Sports Commission          <a class="moz-txt-link-abbreviated" href="http://www.ausport.gov.au">www.ausport.gov.au</a>
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          Leverrier Street Bruce ACT 2617
</pre>
<br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information.  If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful.  If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>