depends & conn test
Daniel Bourque
dbourque at weatherdata.com
Tue Oct 9 23:52:13 CEST 2007
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 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 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 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 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 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 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 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 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 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071009/0b8b537c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: red.gif
Type: image/gif
Size: 1579 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071009/0b8b537c/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clear.gif
Type: image/gif
Size: 884 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071009/0b8b537c/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: green.gif
Type: image/gif
Size: 118 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071009/0b8b537c/attachment-0002.gif>
More information about the Xymon
mailing list