I've seen a similar behavior. In version 4.2.0 standard (no patches).
Sometimes, when viewing full history and clicking one of the non-green historical dots, it will try to download bb-histlog.sh rather than execute it. But I've only seen this using Firefox, never with IE. And only when clicking non-green dots. Green ones always execute the script. I figured it wasa browser issue, but that does't explain why it always works with the green dowts but not the other colors.
-----Original Message----- From: John Glowacki [mailto:jg2727 at gmail.com] Sent: Monday, April 07, 2008 7:56 PM To: hobbit at hswn.dk Subject: Re: [hobbit] purple status bug in 3/27/08 snapshot
On Mon, Apr 7, 2008 at 9:31 AM, Tom Georgoulias <tomg at mcclatchyinteractive.com> wrote:
We're seeing a weird bug in the 3/27/08 snapshot. When you click on the info column for a host who's status color is purple, the web browser tries to download the "bb-hostsvc.sh" script instead of executing it. This doesn't happen when the host is any other color.
Anyone else seen this?
Tom
I am using 4/5/08 snapshot and info icon worked OK. I was able to duplicate the problem. I turned off my hobbitclient and waited for client statuses to go purple. Then I got the error by clicking on the info icon. I think it may happen before it turns purple too, if the hobbit server is restarted with the client not reporting or after about 10-15 minutes. When I uncomment the hobbitclient process the info icon works again.
[Mon Apr 07 21:14:12 2008] [error] [client 127.0.0.1] Premature end of script headers: bb-hostsvc.sh, referer: http://localhost/hobbit/bb.html
What I am also seeing that is similar is when I click on any yellow cpu icons in status history or event log report it wants to download bb-histlog.sh.
apache2 error.log - clicked on yellow cpu history icon Mon Apr 07 19:48:53 2008] [error] [client 127.0.0.1] Premature end of script headers: bb-histlog.sh, referer: http://localhost/hobbit-cgi/bb-hist.sh?HISTFILE=debian.cpu&ENTRIES=50&IP =127.0.0.1&DISPLAYNAME=debian
apache2 error.log - clicked on yellow cpu event log icon [Mon Apr 07 20:23:31 2008] [error] [client 127.0.0.1] Premature end of script headers: bb-histlog.sh, referer: http://localhost/hobbit-cgi/bb-eventlog.sh?MAXTIME=&FROMTIME=2008%2F04%2 F01%4000%3A00%3A00&TOTIME=&MAXCOUNT=100&HOSTMATCH=&EXHOSTMATCH=&PAGEMATC H=&EXPAGEMATCH=&TESTMATCH=&EXTESTMATCH=&COLORMATCH=&Send=View+log
I went back and checked 65 events since the 5th and these links have the same problem. Seems a little random at the moment.
Mon Apr 7 21:13:22 2008 debian cpu green From -> To purple http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBU F=Mon_Apr_7_21:13:22_2008 Mon Apr 7 21:13:22 2008 debian procs clear From -> To purple http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=procs&TIME BUF=Mon_Apr_7_21:13:22_2008 Mon Apr 7 19:06:48 2008 debian cpu green From -> To yellow http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBU F=Mon_Apr_7_19:06:48_2008 Sun Apr 6 17:06:35 2008 debian cpu green From -> To yellow http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBU F=Sun_Apr_6_17:06:35_2008 Sat Apr 5 18:58:05 2008 debian hrtask green From -> To purple http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=hrtask&TIM EBUF=Sat_Apr_5_18:58:05_2008 Sat Apr 5 17:37:45 2008 debian procs unknown From -> To clear http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=procs&TIME BUF=Sat_Apr_5_17:37:45_2008 Sat Apr 5 17:37:45 2008 debian cpu unknown From -> To green http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBU F=Sat_Apr_5_17:37:45_2008
John
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk