Xymon Mailing List Archive search

bb-histlog.sh

list Anatoli Bogajewski
Thu, 03 Aug 2006 14:17:11 +0200
Message-Id: <user-72a5f2e95966@xymon.invalid>

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. 
apache error _log:
bb-histlog.sh[6]: --no-pin:  not found.
[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
bb-histlog.sh[6]: --no-pin:  not found.
[Thu Aug 03 13:48:01 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.disk&ENTRIES=50&IP=xx.xx.xx.xx&DISPLAYNAME=myhost

" --no-pin?" was producing by this line within hobbitcgi.cfg. But is not my problem obviously.
CGI_ACK_OPTS="--env=/opt/hobbit/server/etc/hobbitserver.cfg" --no-pin
small bug :-) shift apostroph. 
Nothing in any hobbit logs. I cant notice any differences between those entries which can be displayed and those which cant. Never seen this also before using previous versions. This is the content of ../hobbit/data/histlogs/myhost/procs 
-rw-rw-rw-   1 hobbit     users        13499 Jul 21 14:06 Fri_Jul_21_14:06:51_2006
-rw-rw-rw-   1 hobbit     users        14311 Jul 25 14:06 Tue_Jul_25_14:06:14_2006
-rw-rw-rw-   1 hobbit     users        15192 Jul 26 15:37 Wed_Jul_26_15:37:01_2006

http://myhost/hobbit-cgi/bb-histlog.sh?HOST=myhost&SERVICE=procs&TIMEBUF=Tue_Jul_25_14:06:14_2006 works fine.
http://myhost/hobbit-cgi/bb-histlog.sh?HOST=myhost&SERVICE=procs&TIMEBUF=Fri_Jul_21_14:06:51_2006 does not.

Someone noticed same behavior?
Any tips for troubleshooting?


Thanks

Mit freundlichen Grüßen / Yours sincerely
 Anatoli Bogajewski