[hobbit] bb-histlog.sh

cits.bogajewski at daimlerchrysler.com cits.bogajewski at daimlerchrysler.com
Mon Aug 14 13:22:04 CEST 2006


Henrik,

still working on this issue I've got this problem nearby solved. 

Looking on this 2 lines of debug I've inserted HOBBITDREL="4.2.0" within 
hobbitserver.cfg. 

> #2  0x0000a44c in expand_env (s=0x2442c "4.2.0") at environ.c:293
> #3  0x0000a038 in xgetenv (name=0x25d10 "HOBBITDREL") at environ.c:165

Now, all histlogs can be displayed well. 

So the final question is why i got this trouble using default install 
while anyone else on the list seems to be happy with their variables. 
Hm...

Greetings,
Anatoli Bogajewski



cits.bogajewski at daimlerchrysler.com schrieb am 11.08.2006 11:41:17:

> Hi Henrik,
> 
> i was disposed to believe that this problem is resolved, but it seems 
like 
> not. Although i couldn't observe any problems with the pre- release 
> snapshot, today i got similar results while testing the new release. 
Prior 
> to install of 4.2 I've restarted the snapshot and noticed that no one of 

> the histlog events could be displayed after this. Prior i was able to 
view 
> any of them (about 50 i produced for testing purpose), so this is why i 
> was believing the problem is resolved. After the installation of 4.2 i 
> also can't view any histlogs for tests, which have changed their status 
at 
> least once . Those tests which don't changed, having thus only one 
histlog 
> entry, works fine. 
> 
> apache reporting
> 
> [Fri Aug 11 11:22:25 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
> 
> leaving a core file
> 
> myhost:/opt/hobbit/cgi-bin # gdb /opt/hobbit/server/bin/hobbitsvc.cgi 
core
> GNU gdb 5.3
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you 

> are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "hppa2.0w-hp-hpux11.11"...
> Core was generated by `hobbitsvc.cgi'.
> Program terminated with signal 11, Segmentation fault.
> 
> warning: The shared libraries were not privately mapped; setting a
> breakpoint in a shared library will not work until you rerun the 
program.
> 
> Reading symbols from /usr/local/lib/libpcre.sl...done.
> Reading symbols from /usr/lib/libnsl.1...done.
> Reading symbols from /usr/lib/libxti.2...done.
> Reading symbols from /usr/lib/libc.2...done.
> Reading symbols from /usr/lib/libdld.2...done.
> #0  0xc019833c in _sigfillset () from /usr/lib/libc.2
> (gdb) bt
> #0  0xc019833c in _sigfillset () from /usr/lib/libc.2
> #1  0xc019b364 in free () from /usr/lib/libc.2
> #2  0x0000a44c in expand_env (s=0x2442c "4.2.0") at environ.c:293
> #3  0x0000a038 in xgetenv (name=0x25d10 "HOBBITDREL") at environ.c:165
> #4  0x0000e044 in headfoot (output=0x77fdd438, template=0x26488 
"histlog", 
> pagepath=0x264a4 "", head_or_foot=0x4000fffc "", bgcolor=4) at 
> headfoot.c:1107
> #5  0x0000fb84 in generate_html_log (hostname=0x40006b60 "myhost", 
> displayname=0x40006b60 "myhost", service=0x40006b78 "disk",
>     ip=0x40009e90 "xx.xx.xx.xx", color=4, sender=0x40008278 
"xx.xx.xx.xx", 
> flags=0x22488 "", logtime=0, timesincechange=0x77ff08a8 "0.00 minutes",
>     firstline=0x40008218 "yellow Fri Aug 11 11:02:58 METDST 2006 - 
> Filesystems NOT ok",
>     restofmsg=0x40007eb4 "&yellow /sourcen (90% used) has reached the 
> WARNING level (90%)\n\nFilesystem          1024-blocks  Used  Available 
> Capacity Mounted on\nmyhost2:/cdrom       204504   163328    41176 80% 
> /cdrom\n/de"..., acktime=0, ackmsg=0x0, acklist=0x0, disabletime=0, 
> dismsg=0x0, is_history=1,
>     wantserviceid=0, htmlfmt=0, hobbitd=0, multigraphs=0x223d8 
> ",disk,inode,qtree,",
>     linktoclient=0x40006cc8 
> "/hobbit-cgi/bb-histlog.sh?CLIENT=myhost&TIMEBUF=1055286990", 
> nkprio=0x0, nkttgroup=0x0, nkttextra=0x0, output=0x77fdd438)
>     at htmllog.c:150
> #6  0x00004d40 in do_request () at hobbitsvc.c:421
> #7  0x00005128 in main (argc=4, argv=0x77ff06c4) at hobbitsvc.c:518
> 
> henrik at hswn.dk schrieb am 07.08.2006 23:05:24:
> 
> > Hi Anatoli,
> > 
> > things are being fixed quickly right now, so this compile-problem has 
> already
> > been solved. Your problem with the history logs is currently the only
> > unresolved issue so it does have my attention now.
> > 
> > 
> > Regards,
> > Henrik
> > 
> > 
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> > 
> > 
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 




More information about the Xymon mailing list