<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for the reply ,<br>
<br>
    Unfortunately for me, it appears that "route" only affects ping (
"conn" ) tests. So, I can't use route for the ssh checks, and I can't
make the ssh test depend on another host's conn test.  I could setup a
yahoo www test, and try to use that as a dependency, hopefully that
works. <br>
<br>
thanks<br>
<br>
<pre class="moz-signature" cols="72">-Dan
</pre>
<br>
<br>
Geoff Hallford wrote:
<blockquote
 cite="mid78ca5ea20710091924p780004fewfcc7078e288f4ee9@mail.gmail.com"
 type="cite">
  <meta http-equiv="Context-Type"
 content="text/html; charset=ISO-8859-1">
  <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>On 10/9/07, <b>Daniel Bourque</b> <<a
 href="mailto:dbourque@weatherdata.com">dbourque@weatherdata.com</a>>
wrote:</span>
  <blockquote>
    <div>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 href="http://www.yahoo.com/">www.yahoo.com</a>
as a host and added  depends=(ssh:<a href="http://www.yahoo.com/conn">
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
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:25_2007">
    <img moz-do-not-send="true" title="red" alt="red"></a>0:00:43 <br>
Tue Oct 09 16:43:15 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:15_2007">
    <img moz-do-not-send="true" title="clear" alt="clear"></a>0:00:10 <br>
Tue Oct 09 16:38:20 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:20_2007">
    <img moz-do-not-send="true" title="red" alt="red"></a>0:04:55 <br>
Tue Oct 09 16:38:15 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:15_2007">
    <img moz-do-not-send="true" title="clear" alt="clear"></a>0:00:05 <br>
Tue Oct 09 16:34:16 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:34:16_2007">
    <img moz-do-not-send="true" title="red" alt="red"></a>0:03:59 <br>
Tue Oct 09 16:33:15 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:33:15_2007">
    <img moz-do-not-send="true" title="clear" alt="clear"></a>0:01:01 <br>
Tue Oct 09 16:29:07 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:29:07_2007">
    <img moz-do-not-send="true" title="red" alt="red"></a>0:04:08 <br>
Tue Oct 09 16:28:12 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:28:12_2007">
    <img moz-do-not-send="true" title="clear" alt="clear"></a>0:00:55<br>
Tue Oct 09 15:55:20 2007 <a
 href="http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_15:55:20_2007">
    <img moz-do-not-send="true" title="green" alt="green"></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>
  </blockquote>
  </div>
  <br>
  <br>
  <br>
-- <br>
'If my answers frighten you then you should cease asking scary
questions.' --Sam Jackson </blockquote>
</body>
</html>