Xymon Mailing List Archive search

bb-histlog.sh

list Henrik Størner
Thu, 3 Aug 2006 14:36:31 +0200
Message-Id: <user-37fa176b8ace@xymon.invalid>

On Thu, Aug 03, 2006 at 02:17:11PM +0200, user-4d3800b5a33a@xymon.invalid 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