"Demo site", Tests doesn't change from blue to yellow
list Lars Ebeling
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
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
list Lars Ebeling
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
▸
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
▸
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
▸
--- 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.
▸
Hobbithobbyist
"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
list Lars Ebeling
▸
--- I have now applied all patches and am currently rebooting the
client.
Sorry for bother, but now the cpu-test turnesd yellow.
▸
Lars
Hobbithobbyist
"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)