[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] depends & conn test
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] depends & conn test
- From: "Geoff Hallford" <geoff.hallford (at) gmail.com>
- Date: Tue, 9 Oct 2007 22:24:41 -0400
- Cc: "Mike Dunne" <dunne (at) math.psu.edu>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=k7qj991hQWlZM5kWWVoxa2Y5d0T/NtKOG8gTM8lPJrI=; b=EUngsip89F5RcLSlgtwvE4yr1ZAI3xLx7YBPAqO3qVXPfh0W3BqQceCdPoDNcueiGEx0Pv6HEi1EhQaBIKPf+VLEbKRvDOpN0sRcMuRx5J1kazrGTokCh08XpLEcNyFHmK5H1MkAdyvZTBsDkgDpAWFoWe8EYFfvEsXoqD8WdeA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=duP9qvZcG0T6M69XkIZiacOTYsnM3kgHk8lU94viUsAgn8quLVoSR7jm/sh+CBr99MXHoVQ/O5qWLn3Y52ckjo52sZNt4YvvYpIw6dtTaYS2j+HFnX851E3TJ1XACRXvBCpFnmDSTDyHV0WZ6ej6RTST+2qGa9v3z+x0KBtTM/0=
- References: <470BF80D.7070703 (at) weatherdata.com>
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:
1.1.1.1 foo
2.2.2.2 bar # ssh noconn route:foo
or more hops:
1.1.1.1 foo
2.2.2.2 bar # ssh noconn route:router1,vpnrouter,vpnrouter2
3.3.3.3 router1
4.4.4.4 vpnrouter
5.5.5.5 vpnrouter2
This would assume the environment is like this: (hobbitserver and foo) >
router1 > vpnrouter > vpnrouter2 > bar
On 10/9/07, Daniel Bourque <dbourque (at) weatherdata.com> wrote:
>
> Hi,
>
> 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.
>
> 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.
>
> I'm trying make those test dependent on our internet connection.
>
> In my bb-hosts file, I've added www.yahoo.com as a host and added
> depends=(ssh:www.yahoo.com/conn) to the kiosk machine definition in the
> bb-hosts file.
>
> In order to test that, I setup hosts foo and bar in my lab, defined
> the,as follow:
>
> x.x.x.x foo
> x.x.x.x bar # ssh noconn depends=(ssh:foor/conn)
>
>
> I unplug foo and bar's network cable, and sometimes later I get a page
> regarding the ssh on bar
>
> interestingly, bar's ssh test history shows this:
>
> Tue Oct 09 16:43:25 2007 [image: red]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:25_2007>0:00:43
>
> Tue Oct 09 16:43:15 2007 [image: clear]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:43:15_2007>0:00:10
>
> Tue Oct 09 16:38:20 2007 [image: red]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:20_2007>0:04:55
>
> Tue Oct 09 16:38:15 2007 [image: clear]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:38:15_2007>0:00:05
>
> Tue Oct 09 16:34:16 2007 [image: red]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:34:16_2007>0:03:59
>
> Tue Oct 09 16:33:15 2007 [image: clear]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:33:15_2007>0:01:01
>
> Tue Oct 09 16:29:07 2007 [image: red]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:29:07_2007>0:04:08
>
> Tue Oct 09 16:28:12 2007 [image: clear]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_16:28:12_2007>
> 0:00:55
> Tue Oct 09 15:55:20 2007 [image: green]<http://lisa.wdi-net.com/hobbit-cgi/bb-histlog.sh?HOST=daim01&SERVICE=ssh&TIMEBUF=Tue_Oct_9_15:55:20_2007>
> 0:32:52
>
>
> Anyone using the conn test as a dependency out there ? Can anyone confirm
> that is does or does NOT work ?
>
> Thanks
>
> -Dan
>
>
--
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson