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...
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%2F01%...
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&TIMEBUF=Mo... Mon Apr 7 21:13:22 2008 debian procs clear From -> To purple http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=procs&TIMEBUF=... Mon Apr 7 19:06:48 2008 debian cpu green From -> To yellow http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBUF=Mo... Sun Apr 6 17:06:35 2008 debian cpu green From -> To yellow http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBUF=Su... Sat Apr 5 18:58:05 2008 debian hrtask green From -> To purple http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=hrtask&TIMEBUF... Sat Apr 5 17:37:45 2008 debian procs unknown From -> To clear http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=procs&TIMEBUF=... Sat Apr 5 17:37:45 2008 debian cpu unknown From -> To green http://localhost/hobbit-cgi/bb-histlog.sh?HOST=debian&SERVICE=cpu&TIMEBUF=Sa...
John