Xymon Mailing List Archive search

Couple questions on hobbit functionality

2 messages in this thread

list Lee J. Imber · Wed, 5 Oct 2005 13:52:06 -0400 ·
I have a few questions on the how much I can tweak the configs.

For example:

[bbretest]
         ENVFILE /usr/home/lee/Hobbit/server/etc/hobbitserver.cfg
         NEEDS hobbitd
         CMD $BBHOME/ext/bbretest-net.sh
         LOGFILE $BBSERVERLOGS/bb-retest.log
         INTERVAL 1m


Can I make the Interval <1m like 10seconds 10s?


Also, I want to test services through a ssh tunnel.
Can I have bb-hosts file to test ssh on localhost port 2222?

127.0.0.1 foo.bar.com    # BBDISPLAY
127.0.0.1 remote.machine.com # ssh:2222

Something like that?

Thanks,

Lee
list Henrik Størner · Wed, 5 Oct 2005 22:09:57 +0200 ·
quoted from Lee J. Imber
On Wed, Oct 05, 2005 at 01:52:06PM -0400, Lee J. Imber wrote:
I have a few questions on the how much I can tweak the configs.

[bbretest]
        ENVFILE /usr/home/lee/Hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD $BBHOME/ext/bbretest-net.sh
        LOGFILE $BBSERVERLOGS/bb-retest.log
        INTERVAL 1m

Can I make the Interval <1m like 10seconds 10s?
If you just write a number (no "s"), it will be treated as 
seconds. I believe there's a built-in limit of minimum 
5 seconds before two successive runs of the same taks.
quoted from Lee J. Imber
Also, I want to test services through a ssh tunnel.
Can I have bb-hosts file to test ssh on localhost port 2222?

127.0.0.1 foo.bar.com    # BBDISPLAY
127.0.0.1 remote.machine.com # ssh:2222

Something like that?
Yep, just like that.


Oh - and both settings are described in the man-pages ...


Henrik