disabled monitors showing purple occasionally on web ui
list Bruce Lysik
Hi, I've noticed this problem for a while now: Occasionally I see a host showing on the monitor page which is all purple (minus the info and trends column), and it disappears when hobbit regens the html. This host is always one which is disabled. This doesn't generate any pages, but is definitely confusing for anyone keeping an eye on the web gui. Has anyone else noticed this problem? Note that I haven't applied the RC3 patch yet, so apologies if this is a resolved bug. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer
list Robert Edeker
▸
On Fri, 25 Feb 2005 10:36:08 -0800, Bruce Lysik <user-4e63a10f8934@xymon.invalid> wrote:
I've noticed this problem for a while now: Occasionally I see a host showing on the monitor page which is all purple (minus the info and trends column), and it disappears when hobbit regens the html. This host is always one which is disabled. This doesn't generate any pages, but is definitely confusing for anyone keeping an eye on the web gui. Has anyone else noticed this problem? Note that I haven't applied the RC3 patch yet, so apologies if this is a resolved bug.
Just patched to RC3 yesterday and am noticing occasional purple today. I currently have 4 disabled hosts, but I can't remember if it was showing purple for all 4. As you mentioned a page regen clears it up. -robert
list Bruce Lysik
▸
Just patched to RC3 yesterday and am noticing occasional purple today. I currently have 4 disabled hosts, but I can't remember if it was showing purple for all 4. As you mentioned a page regen clears it up.
I have a lot of disabled hosts, so it's definitely not showing all of them. I think I've seen at most four of these phantom purples at one time. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer
list Robert Edeker
▸
On Fri, 25 Feb 2005 10:56:23 -0800, Bruce Lysik <user-4e63a10f8934@xymon.invalid> wrote:
I have a lot of disabled hosts, so it's definitely not showing all of them. I think I've seen at most four of these phantom purples at one time.
Just happened again. I'm down to two disabled and only one shows purple. (the other is connection only) Also, only select services go purple. The rest remain blue. (info/trend are green) purple: cpu, disk, msgs, procs blue: conn, ftp, http, smtp, ssh (btw, this is with the post-rc3 patch applied as well [applied late yesterday since there seemed to be more than one release of the patch]) -r
list Henrik Størner
▸
In <user-8d6e189ee74c@xymon.invalid> "Bruce Lysik" <user-4e63a10f8934@xymon.invalid> writes:
I've noticed this problem for a while now: Occasionally I see a host showing on the monitor page which is all purple (minus the info and trends column), and it disappears when hobbit regens the html. This host is always one which is disabled.
This doesn't generate any pages, but is definitely confusing for anyone keeping an eye on the web gui.
I'll look into that. The purple handling is pretty gross, because BB and Hobbit do it very differently (Hobbit handles it inside the daemon, in BB it's done by the webpage update task sending status updates). If you click on one of these phantom purples to get the detailed status page, is that one blue or purple ? Since no page-messages are triggered, I suspect it's a problem with the way bbgen decides to go purple (so I'd expect the detailed status to be blue).
▸
Note that I haven't applied the RC3 patch yet, so apologies if this is a resolved bug.
I'd suggest waiting until Sunday - RC3 was pretty bad, so I'll send out an RC4 patch during the week-end. Just to get everyone running the same baseline after all the patches that have been flying around this past week. Henrik
list Bruce Lysik
▸
If you click on one of these phantom purples to get the detailed status page, is that one blue or purple ? Since no page-messages are triggered, I suspect it's a problem with the way bbgen decides to go purple (so I'd expect the detailed status to be blue).
Yep. If I click on a phatom purple, the detailed status page is blue. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer
list Robert Edeker
▸
On Fri, 25 Feb 2005 22:34:14 +0000 (UTC), Henrik Storner <user-ce4a2c883f75@xymon.invalid> wrote:
If you click on one of these phantom purples to get the detailed status page, is that one blue or purple ? Since no page-messages are triggered, I suspect it's a problem with the way bbgen decides to go purple (so I'd expect the detailed status to be blue).
The status detail for all the phantom purples is blue for me. -r
list Henrik Størner
▸
On Fri, Feb 25, 2005 at 10:36:08AM -0800, Bruce Lysik wrote:
I've noticed this problem for a while now: Occasionally I see a host showing on the monitor page which is all purple (minus the info and trends column), and it disappears when hobbit regens the html. This host is always one which is disabled.
OK, I found out why - when a host was disabled, hobbit's "valid until" timestamp for the statusreport was not being updated; so to bbgen it appeared as if the status message was no longer valid, hence it would show up purple. This would actually trigger a status update so the "valid until" timestamp was refreshed, and it would stay blue for another 30 minutes. Cute interaction between the hobbit daemon and bbgen. Regards, Henrik
list Bruce Lysik
▸
OK, I found out why - when a host was disabled, hobbit's "valid until" timestamp for the statusreport was not being updated; so to bbgen it appeared as if the status message was no longer valid, hence it would show up purple. This would actually trigger a status update so the "valid until" timestamp was refreshed, and it would stay blue for another 30 minutes. Cute interaction between the hobbit daemon and bbgen.
Cool. Were you able to fix this in RC4? Because I just installed RC4, and it looks like it's still there. Or at least a similar problem is. At the moment I have three disabled purple monitors showing. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer
list Bruce Lysik
Cool. Were you able to fix this in RC4? Because I just installed RC4, and it looks like it's still there. Or at least a similar problem is. At the moment I have three disabled purple monitors showing.
Actually, the problem has changed. Now it appears that ALL the disabled monitors are showing up as purple. Ack. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer
list Henrik Størner
▸
On Mon, Feb 28, 2005 at 06:40:27PM -0800, Bruce Lysik wrote:
Cool. Were you able to fix this in RC4? Because I just installed RC4, and it looks like it's still there. Or at least a similar problem is. At the moment I have three disabled purple monitors showing.Actually, the problem has changed. Now it appears that ALL the disabled monitors are showing up as purple. Ack.
If these were disabled before you installed RC4, then there's a bad timestamp stored that still makes them go purple. Either re-disable them, or apply this patch which fixes up the timestamps and restart Hobbit. Henrik -------------- next part -------------- --- hobbitd/hobbitd.c 2005/02/27 12:00:50 1.117 +++ hobbitd/hobbitd.c 2005/03/01 06:40:24 @@ -2076,6 +2076,10 @@ ltail = ltail->next; } + /* Fixup validtime in case of ack'ed or disabled tests */ + if (validtime < acktime) validtime = acktime; + if (validtime < enabletime) validtime = enabletime; • ltail->test = t; ltail->host = htail; ltail->origin = origin;
list Bruce Lysik
▸
Actually, the problem has changed. Now it appears that ALL the disabled monitors are showing up as purple. Ack.If these were disabled before you installed RC4, then there's a bad timestamp stored that still makes them go purple. Either re-disable them, or apply this patch which fixes up the timestamps and restart Hobbit.
The patch did the trick. Running RC4 with no disabled purples showing up. Thanks. -- Bruce Z. Lysik <user-4e63a10f8934@xymon.invalid> Operations Engineer