<div dir="ltr"><div><div>Hi Scot,<br><br></div>Thanks for your help.<br>I´ve used your example and the dependency worked using the http test.<br></div><div>So then, I´ve changed the depends tag configuration to use the conn test and this didn't work.<br><br></div><div>First test (worked as expected!): <br>- Stopping apache on "6030" the result was a clear status on 6030/http as 5030/http was up.  <br> <br>0.0.0.0  6030 # <a href="http://paq">http://paq</a> depends=(http:5030/http) noconn<br>0.0.0.0  5030 # <a href="http://fara">http://fara</a>  noconn <br></div><div><br></div><div>Second test (connectivity configuration on depends): This test didn´t work. <br>- I´ve changed the IP from 6030 to a non pingable IP and let an available/online IP on "5030" and the depends tag didn´t work.<br><br></div><div>10.0.0.139  6030 # <a href="http://paq">http://paq</a> depends=(conn:5030/conn) testip<br>10.0.0.137  5030 # <a href="http://fara">http://fara</a>  testip <br><br><br></div><div>Do you have a dependency configuration based on connectivity test working on your system?<br></div><div><br><br><br></div><div>Thanks & Regards,<br></div><div>Mario <br></div><div><br><br></div><div><br><br></div><div><br></div><div><br><br> <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 28, 2016 at 4:45 PM, Scot Kreienkamp <span dir="ltr"><<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sure.  Here is a working config:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span>0.0.0.0<span style="font:7.0pt "Times New Roman"">   
</span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">6030 # http:// 6030:8090/Main/ depends=(http:5030/http)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">0.0.0.0  5030 # <a href="http://5030" target="_blank">http://5030</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So I’ve defined an HTTP test on 5030 and 6030, and set the HTTP test result on 6030 to depend on the HTTP test on 5030.  In my case, 5030 is the DB server and
 serves up a web page if the database is up.  If the database is down there’s no way the HTTP test will succeed on 6030, so I don’t really care if 6030 is alerting me in that case. 
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you have any more trouble it would be helpful to see your configuration.  I saw you mention ICMP earlier… keep in mind that depends sets a test dependent
 on another test, so if you want ICMP you have to set it to depend on the conn test.  You can’t use ICMP in the depends.  It has to be a column name. 
</span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p style="FONT-FAMILY:Arial"><span style="FONT-SIZE:8pt;FONT-FAMILY:Calibri;LETTER-SPACING:normal"><strong><span style="font-size:9pt">Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br>
</span><span style="FONT-SIZE:8pt;FONT-FAMILY:Calibri;LETTER-SPACING:normal">One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: <a href="tel:734-384-6403" value="+17343846403" target="_blank">734-384-6403</a> | | Mobile: <a href="tel:7349151444" value="+17349151444" target="_blank">7349151444</a> | Email: <a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a></span></p>
</span><p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Mario<br>
<b>Sent:</b> Monday, March 28, 2016 3:04 PM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] Depends tag working configuration</span></p><span class="">
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Hi,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanks, Scot.</p>
</div>
<p class="MsoNormal" style="margin-left:.5in">Yes, that´s what I´m doing here. <br>
The test configuration was done with only core network tests and that are directly running on the core server and it´s not working.</p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
Do you have this configuration working on your server? Could you share it?<br>
<br>
</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanks & Regards,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Mario </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><br>
<br>
 </p>
</div>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</p>
</div>
</div>
</span><div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
<div><span class="">
<p class="MsoNormal" style="margin-left:.5in">On Mon, Mar 28, 2016 at 3:43 PM, Scot Kreienkamp <<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>> wrote:</p>
</span><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div><span class="">
<p class="MsoNormal" style="margin-left:.5in">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The depends tag works, but only for tests done by the core network tester itself.  It will not work on any external tests. 
</span></p>
</span><p class="MsoNormal" style="margin-left:1.0in">
<b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Mario<span class=""><br>
<b>Sent:</b> Monday, March 28, 2016 2:41 PM<br>
<b>To:</b><a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] Depends tag working configuration</span></span></p><span class="">
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
 </p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:1.0in">
Hi All,</p>
</div>
<p class="MsoNormal" style="margin-left:1.0in">
I´m trying to make the "depends=" hosts.cfg tag to work on Xymon version 4.3.24.</p>
</div>
<p class="MsoNormal" style="margin-left:1.0in">
Reading some old threads here, it became not clear to me if this configuration tag currently works or not.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Has someone here have the depends tag working?</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
I know I can use the route tag, but my intention it´s to use another network protocol and not ICMP for the dependency.
</p>
</div>
<p class="MsoNormal" style="margin-left:1.0in">
 </p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:1.0in">
 </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Thanks & Regards,</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
Mario </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
 </p>
<div>
<p class="MsoNormal" style="margin-left:1.0in">
 </p>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div><span class="">
<p style="margin-left:.5in;line-height:10.5pt"><span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:black">This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information
 which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have
 received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you</span><span style="font-size:8.0pt;font-family:"Arial Narrow","sans-serif"">.</span></p>
</span></div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div>