[hobbit] RE : [hobbit] Problems since upgrading from bbgen to Hobbit

Frédéric Mangeant frederic.mangeant at steria.com
Tue Nov 29 14:58:58 CET 2005


FIGARO Nicolas a écrit :
> A good way of solving this is to run the script bb-hist.sh with a -x option directly from the command line. 
>
> There is only a call to the cgi. 
>
> So you can then try a truss like this one : 
> export QUERY_STRING="HISTFILE=cronos.AHD&ENTRIES=50&IP=10.50.80.44&DISPLAYNAME=cronos"
> . /usr2/hobbit/server/etc/hobbitcgi.cfg
> script /tmp/truss.txt 
> truss  /usr2/hobbit/server/bin/bb-hist.cgi $CGI_HIST_OPTS
>
> Hope this'll help, et bon courage.

Merci pour l'info Nicolas.

Running bb-hist.cgi returns 1000+ lines, and ends with :

read(3, " 2005 green   1121362283 877\nThu"..., 4096) = 4096
read(3, "0:59 2005 red   1121389259 12\nFr"..., 4096) = 4096
read(3, "2005 clear   1121415369 12\nFri J"..., 4096) = 4096
brk(0x84c1000)                          = 0x84c1000
read(3, "5 green   1121440956 879\nFri Jul"..., 4096) = 4096
read(3, "2005 red   1121467928 10\nSat Jul"..., 4096) = 4096
read(3, "08:07:14 2005 clear   1121494034"..., 4096) = 4096
read(3, "Sat Jul 16 15:22:19 2005 green  "..., 4096) = 4096
read(3, "1546235 880\nSat Jul 16 22:51:55 "..., 4096) = 4096
read(3, " red   1121573209 10\nSun Jul 17 "..., 4096) = 4096
read(3, "1:56 2005 clear   1121599316 10\n"..., 4096) = 4096
read(3, "Jul 17 20:37:04 2005 green   112"..., 4096) = 4096
read(3, "520 879\nMon Jul 18 04:06:39 2005"..., 4096) = 4096
read(3, "   1121678494 10\nMon Jul 18 11:2"..., 4096) = 4096
read(3, "592\nMon Jul 18 18:36:50 2005 gre"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


This external script's color changes very frequently (I use this to open 
"fake" tickets in Computer Associates USPSD).
The ~data/hist/cronos.AHD file is more than 4 Mb, maybe I should change 
one of the "MAXMSG_*" settings in hobbitserver.cfg ?

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis






More information about the Xymon mailing list