Xymon Mailing List Archive search

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

6 messages in this thread

list Lars Ebeling · Sun, 10 Apr 2005 06:43:14 +0200 (CEST) ·
Hi,
 
the menuitem "Demo site" has disappeared from http://www.hswn.dk/hobbit/
 
I wanted to download all patches since my tests doesn't change from blue to yellow.  To see if there were any patches for that.
 
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.
 
/Lars


Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
list Henrik Størner · Sun, 10 Apr 2005 08:56:02 +0200 ·
On Sun, Apr 10, 2005 at 06:43:14AM +0200, lars ebeling wrote:
 
the menuitem "Demo site" has disappeared from
 http://www.hswn.dk/hobbit/
Ah - yes, I really need to get the menu_items.js file flagged as a
configuration file in the Debian package.
quoted from Lars Ebeling
I wanted to download all patches since my tests doesn't change from
blue to yellow.  To see if there were any patches for that.

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.
For the color to change, the server must start sending in status
messages (i.e. you must start the BB client). But I suppose it does
that as soon as it is booted. So it sounds odd. I'll check if the same
thing happens here.


Regards,
Henrik
list Lars Ebeling · Sun, 10 Apr 2005 09:19:58 +0200 (CEST) ·
It's the same script that starts bb and then enable all tests. The color should turn yellow since the machine is recently rebooted, but the color doesn't change until the hour is ended.
 
/Lars

Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

Från: Henrik Stoerner[SMTP:user-ce4a2c883f75@xymon.invalid]
Skickat: den 10 april 2005 08:56:02
Till: user-ae9b8668bcde@xymon.invalid
Ämne: Re: [hobbit] "Demo site", Tests doesn't change from blue to yellow
Automatiskt vidarebefordrat av en regel
quoted from Lars Ebeling
On Sun, Apr 10, 2005 at 06:43:14AM +0200, lars ebeling wrote:
the menuitem "Demo site" has disappeared from
http://www.hswn.dk/hobbit/
Ah - yes, I really need to get the menu_items.js file flagged as a
configuration file in the Debian package.
I wanted to download all patches since my tests doesn't change from
blue to yellow. To see if there were any patches for that.

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.
For the color to change, the server must start sending in status
messages (i.e. you must start the BB client). But I suppose it does
that as soon as it is booted. So it sounds odd. I'll check if the same
thing happens here.


Regards,
Henrik


Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
list Henrik Størner · Sun, 10 Apr 2005 17:09:24 +0200 ·
quoted from Lars Ebeling
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
list Lars Ebeling · Sun, 10 Apr 2005 17:23:43 +0200 (CEST) ·
quoted from Henrik Størner
--- Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
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.
It's on a client, so hobbit is never shutdown. Disable
and enable works fine the tests goes all blue. And the
green test go green. But for cpu it says that machine
recently rebooted, and for ntp it says that ntp is
running but not synchronized, so color should go
yellow. But color doesn't change until "the recently
rebooted" times out or ntp synchronized. I have now
applied all patches and am currently rebooting the
client.


I'm running the bb19e client.


Regards
Lars

PS
If you like to telnet and have a look I will open for you.
quoted from Lars Ebeling

Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
list Lars Ebeling · Sun, 10 Apr 2005 17:33:07 +0200 (CEST) ·
quoted from Lars Ebeling
--- I have now applied all patches and am currently
rebooting the
client.
Sorry for bother, but now the cpu-test turnesd yellow.
quoted from Lars Ebeling

Lars


Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)