[hobbit] "Demo site", Tests doesn't change from blue to yellow

Henrik Stoerner henrik at hswn.dk
Sun Apr 10 17:09:24 CEST 2005


On Sun, Apr 10, 2005 at 06:43:14AM +0200, lars ebeling wrote:

> When I shutdown a server I run a script from rc2.d to disable all
> tests, and when I startup a server I enable all test from rc3.d.
>
> The cpu test should then turn yellow, but it doesn't. It doesn't
> change until after one hour to green.

I've tried, but I cannot recreate this. Could you post the stop/start
commands you use in your scripts ? I've tried it with this

$ /usr/lib/hobbit/server/bin/bb 127.0.0.1 "disable osiris,hswn,dk.* 1h Shutting down"
$ sudo /etc/init.d/hobbit stop
Stopping hobbit: Hobbit stopped
hobbit.

[wait a few moments]

$ sudo /etc/init.d/hobbit start
Starting hobbit: Hobbit started
hobbit.
$ /usr/lib/hobbit/server/bin/bb 127.0.0.1 "enable osiris,hswn,dk.*"

and it works as expected - as soon as the status update arrives, the
test goes green (or yellow, depending on what the test reports).


Regards,
Henrik



More information about the Xymon mailing list