<div>I have never been able to get depends to work. You should use the 'route' tag on the host to have a dependency, such as:</div>
<div> </div>
<div><a href="http://1.1.1.1">1.1.1.1</a> foo</div>
<div><a href="http://2.2.2.2">2.2.2.2</a> bar # ssh noconn route:foo</div>
<div> </div>
<div>or more hops:</div>
<div> </div>
<div><a href="http://1.1.1.1">1.1.1.1</a> foo</div>
<div><a href="http://2.2.2.2">2.2.2.2</a> bar # ssh noconn route:router1,vpnrouter,vpnrouter2</div>
<div><a href="http://3.3.3.3">3.3.3.3</a> router1</div>
<div><a href="http://4.4.4.4">4.4.4.4</a> vpnrouter</div>
<div><a href="http://5.5.5.5">5.5.5.5</a> vpnrouter2<br> </div>
<div>This would assume the environment is like this: (hobbitserver and foo) > router1 > vpnrouter > vpnrouter2 > bar<br> </div>
<div> </div>
<div><span class="gmail_quote">On 10/9/07, <b class="gmail_sendername">Daniel Bourque</b> <<a href="mailto:dbourque@weatherdata.com">dbourque@weatherdata.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div bgcolor="#ffffff" text="#000000">Hi, <br><br>    I've looked up the list archive and there doesn't seem to be any answer to this problem, the "depends" doesn't work with the "conn" test.
<br><br>    I have a bunch of remote kiosks connected via vpn and other means. Some I can ping and some I can't. I can always ssh to them, therefore ssh is the main connectivity test for all them.<br><br>    I'm trying make those test dependent on our internet connection.
<br><br>   In my bb-hosts file, I've added <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.yahoo.com/" target="_blank">www.yahoo.com</a> as a host and added  depends=(ssh:<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.yahoo.com/conn" target="_blank">
www.yahoo.com/conn</a>)  to the kiosk machine definition in the bb-hosts file.<br><br>   In order to test that, I setup hosts foo and bar in my lab, defined the,as follow:<br><br>x.x.x.x foo<br>x.x.x.x bar # ssh noconn depends=(ssh:foor/conn)
<br><br><br>I unplug foo and bar's network cable, and sometimes later I get a page regarding the ssh on bar <br><br>interestingly, bar's ssh test history shows this:<br><br>Tue Oct 09 16:43:25 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:25_2007" target="_blank">
<img title="red" height="16" alt="red" width="16" border="0"></a>0:00:43 <br>Tue Oct 09 16:43:15 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:15_2007" target="_blank">
<img title="clear" height="16" alt="clear" width="16" border="0"></a>0:00:10 <br>Tue Oct 09 16:38:20 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:20_2007" target="_blank">
<img title="red" height="16" alt="red" width="16" border="0"></a>0:04:55 <br>Tue Oct 09 16:38:15 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:15_2007" target="_blank">
<img title="clear" height="16" alt="clear" width="16" border="0"></a>0:00:05 <br>Tue Oct 09 16:34:16 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:34:16_2007" target="_blank">
<img title="red" height="16" alt="red" width="16" border="0"></a>0:03:59 <br>Tue Oct 09 16:33:15 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:33:15_2007" target="_blank">
<img title="clear" height="16" alt="clear" width="16" border="0"></a>0:01:01 <br>Tue Oct 09 16:29:07 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:29:07_2007" target="_blank">
<img title="red" height="16" alt="red" width="16" border="0"></a>0:04:08 <br>Tue Oct 09 16:28:12 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:28:12_2007" target="_blank">
<img title="clear" height="16" alt="clear" width="16" border="0"></a>0:00:55<br>Tue Oct 09 15:55:20 2007 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_15:55:20_2007" target="_blank">
<img title="green" height="16" alt="green" width="16" border="0"></a>0:32:52<br><br><br>Anyone using the conn test as a dependency out there ? Can anyone confirm that is does or does NOT work ?<br><br>Thanks<br><br>-Dan </div>
<br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson