[hobbit] bb-histlog.sh

Henrik Stoerner henrik at hswn.dk
Thu Aug 3 14:36:31 CEST 2006


On Thu, Aug 03, 2006 at 02:17:11PM +0200, cits.bogajewski at daimlerchrysler.com wrote:
> Hello hobbits,
> 
> I've noticed some problems displaying logged event data using 
> bb-histlog.sh (hobbitsvc.cgi --historical). I am running 4.2-RC-20060712 
> with the latest all-in-one patch applied. While some events can be 
> displayed without problems, calling the historical data for some other 
> produces apache 500 server error. 
> [Thu Aug 03 13:57:50 2006] [error] [client xx.xx.xx.xx] Premature end of 
> script headers: bb-histlog.sh, referer: 
> http://myhost/hobbit-cgi/bb-hist.sh?HISTFILE=myhost.procs&ENTRIES=50&IP=xx.xx.xx.xx&DISPLAYNAME=myhost

The interesting stuff is in the URL that doesn't work. If you cut the
part of the URL after the '?', what happens if you run (by hand):

REQUEST_METHOD=GET \
SCRIPT_NAME=bb-histlog.sh \
QUERY_STRING="<everything after the ? from the link that doesnt work>"
~hobbit/cgi-bin/bb-histlog.sh


Regards,
Henrik




More information about the Xymon mailing list