I have always used "route" and it works perfectly if conn is all you care about. I have never actually gotten "depends" to work. It doesn't make the ping go through any host you put in route and it also chains properly to make it easier. Example:<br>
<br>10.10.10.10  server1 # conn route:network1<br>20.20.20.20  network1 # conn route:network2<br>30.30.30.30  network2 # conn <br><br>If the route to server1 is: hobbit -> network2 -> network1 -> server1<br><br>The above statement works, that if network2 is down ... network1 and server1 go blank :)<br>
<br><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 2:35 PM,  <span dir="ltr"><<a href="mailto:wiskbroom@hotmail.com">wiskbroom@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I have nothing to add to this thread, but it looks like "depends" might be helpful for a problem I am currently having with a pair of servers, whereby one at a time will show a process as running, the other not.  So as long as one of these machines is running this app, the color should stay green.<br>

<br>
.vp<br>
<div class="im"><br>
> I've not experienced that behavior. Use this for dsl/cable modems and<br>
> our routers for 3+ years.<br>
><br>
> Josh Luthman<br>
> Office: 937-552-2340<br>
> Direct: 937-552-2343<br>
> 1100 Wayne St<br>
> Suite 1337<br>
> Troy, OH 45373<br>
><br>
> “Success is not final, failure is not fatal: it is the courage to<br>
> continue that counts.”<br>
> --- Winston Churchill<br>
><br>
><br>
><br>
</div><div class="im">> On Tue, Jul 6, 2010 at 1:54 PM, Patrick Nixon  wrote:<br>
>> I read somewhere that if you use route, it does something weird with<br>
>> the pings so they go through that host or something?<br>
>><br>
>> Let me test it and see how it behaves<br>
>><br>
>> --patrick<br>
>><br>
>> On Tue, Jul 6, 2010 at 1:46 PM, Josh Luthman<br>
</div><div class="im">>>  wrote:<br>
>>> I'm not certain of this because I've always used FQDN.<br>
>>><br>
>>> If you have FQDN=true and are not using them, maybe the DEPENDS tag<br>
>>> isn't finding eto correct?<br>
>>><br>
>>> In your case, as it is conn, you can use route<br>
>>><br>
>>> 1.2.32.4    <a href="http://customer.router.com" target="_blank">customer.router.com</a> # testip route:<a href="http://customer.cablemodem.com" target="_blank">customer.cablemodem.com</a><br>
>>><br>
>>> Josh Luthman<br>
>>> Office: 937-552-2340<br>
>>> Direct: 937-552-2343<br>
>>> 1100 Wayne St<br>
>>> Suite 1337<br>
>>> Troy, OH 45373<br>
>>><br>
>>> “Success is not final, failure is not fatal: it is the courage to<br>
>>> continue that counts.”<br>
>>> --- Winston Churchill<br>
>>><br>
>>><br>
>>><br>
</div><div class="im">>>> On Tue, Jul 6, 2010 at 1:42 PM, Patrick Nixon  wrote:<br>
>>>> Josh,<br>
>>>>  Not sure what you were saying there?<br>
>>>><br>
>>>>  My goal is that if eto's conn goes red, that standby's conn should go<br>
>>>> clear if it also fails.<br>
>>>><br>
>>>>  Does my depends statement not appear to work in that fashion?<br>
>>>><br>
>>>> --Patrick<br>
>>>><br>
>>>> On Tue, Jul 6, 2010 at 1:32 PM, Josh Luthman<br>
</div><div class="im">>>>>  wrote:<br>
>>>>> In stanby's DEPENDS statement referring to eto - not the testing of the host.<br>
>>>>><br>
>>>>> Josh Luthman<br>
>>>>> Office: 937-552-2340<br>
>>>>> Direct: 937-552-2343<br>
>>>>> 1100 Wayne St<br>
>>>>> Suite 1337<br>
>>>>> Troy, OH 45373<br>
>>>>><br>
>>>>> “Success is not final, failure is not fatal: it is the courage to<br>
>>>>> continue that counts.”<br>
>>>>> --- Winston Churchill<br>
>>>>><br>
>>>>><br>
>>>>><br>
</div><div class="im">>>>>> On Tue, Jul 6, 2010 at 12:49 PM, Patrick Nixon  wrote:<br>
>>>>>> They're both testip<br>
>>>>>><br>
>>>>>> On Tue, Jul 6, 2010 at 12:41 PM, Josh Luthman<br>
</div><div class="im">>>>>>>  wrote:<br>
>>>>>>> Looks right to me, maybe domain related (FQDN)?<br>
>>>>>>><br>
>>>>>>> Josh Luthman<br>
>>>>>>> Office: 937-552-2340<br>
>>>>>>> Direct: 937-552-2343<br>
>>>>>>> 1100 Wayne St<br>
>>>>>>> Suite 1337<br>
>>>>>>> Troy, OH 45373<br>
>>>>>>><br>
>>>>>>> “Success is not final, failure is not fatal: it is the courage to<br>
>>>>>>> continue that counts.”<br>
>>>>>>> --- Winston Churchill<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
</div><div class="im">>>>>>>> On Tue, Jul 6, 2010 at 12:34 PM, Patrick Nixon  wrote:<br>
>>>>>>>> Hey all,<br>
>>>>>>>>  I'm trying to get depends working, but it's not working the way I expect it to.<br>
>>>>>>>><br>
>>>>>>>><br>
</div><div><div></div><div class="h5">>>>>>>>> 10.18.16.172            standby                 # conn testip<br>
>>>>>>>> depends=(conn:eto/conn)<br>
>>>>>>>> 10.18.16.174            eto            # conn ssh snmp testip<br>
>>>>>>>><br>
>>>>>>>> eto is currently red, but standby, which is down as well, is also red.<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> anything specific wrong with my depends statement?  Any reason why<br>
>>>>>>>> conn wouldn't be able to depend on something else?<br>
>>>>>>>><br>
>>>>>>>> Thanks!<br>
>>>>>>>> --Patrick<br>
>>>>>>>><br>
>>>>>>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>>>>>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>><br>
>>>>>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>>>>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>><br>
>>>>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>>>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>><br>
>>>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>>><br>
>>>><br>
>>>><br>
>>><br>
>>> To unsubscribe from the hobbit list, send an e-mail to<br>
>>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>>><br>
>>><br>
>>><br>
>><br>
>> To unsubscribe from the hobbit list, send an e-mail to<br>
>> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
>><br>
>><br>
>><br>
><br>
> To unsubscribe from the hobbit list, send an e-mail to<br>
> <a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
><br>
><br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br>