From: mario a. <row...@gm...> - 2010-02-09 18:41:28
|
Hi Bunchan, I've got lot of core with rev 6222. -------------------- Core files with do_devmon.c from revision 6222 [root@isslu410 core_old]# gdb ../../bin/hobbitd_rrd core.6545 GNU gdb Fedora (6.8-37.el5) Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... Cannot access memory at address 0x524149 (gdb) bt #0 0x0086a402 in ?? () #1 0x00513040 in ?? () #2 0x0062eff4 in ?? () #3 0xb7f636c0 in ?? () #4 0xbf94c2c8 in ?? () #5 0x00514a21 in ?? () #6 0x00000006 in ?? () #7 0xbf94c23c in ?? () #8 0x00000000 in ?? () ----------------- COre files with original do_devmon.c from xymon 4.3.0 beta2 (gdb) bt #0 0x00fc7402 in __kernel_vsyscall () #1 0x00513040 in raise () from /lib/i686/nosegneg/libc.so.6 #2 0x00514a21 in abort () from /lib/i686/nosegneg/libc.so.6 #3 0x08069eb3 in sigsegv_handler (signum=11) at sig.c:57 #4 <signal handler called> #5 0x0055a4c9 in strcat () from /lib/i686/nosegneg/libc.so.6 #6 0x0804e704 in do_devmon_rrd (hostname=0xb7f0f6ab "Cisco_4507R_02", testname=0xb7f0f6ba "if_load", classname=0xb7f0f6ee "cosc/network/601_El_Camino_Real,cosc/temp", pagepaths=0x80700be "", msg=0xb7f0f718 "status Cisco_4507R_02.if_load green Wed Feb 3 20:12:57 2010", tstamp=1265256364) at rrd/do_devmon.c:83 #7 0x080598e4 in update_rrd (hostname=0xb7f0f6ab "Cisco_4507R_02", testname=0xb7f0f6ba "if_load", msg=0xb7f0f718 "status Cisco_4507R_02.if_load green Wed Feb 3 20:12:57 2010", tstamp=1265256364, sender=0xb7f0f69b "172.29.186.131", ldef=0x8f4cb08, classname=0xb7f0f6ee "cosc/network/601_El_Camino_Real,cosc/temp", pagepaths=0x80700be "") at do_rrd.c:649 #8 0x0804a420 in main (argc=2, argv=0xbfc803a4) at hobbitd_rrd.c:349 Thanks in advance, Mario. On Tue, Feb 9, 2010 at 12:10 PM, mario andre <row...@gm...> wrote: > Hello Bunchan, > > First of all sorry to not write to the list first. > The revision 6222 compiled well. I will keep monitoring if other > hobbitd_rrd fatal errors occurs again. > > When you say "use the version in xymon / hobbitmon 4.3.0 branch svn" where > I can get this version? > What's the difference between branch and beta2? > I would like to be a contributor of henrik xymon. I've made a lot of > customizations and reports that I think can improve xymon tool. > > Best regards, > > Mario. > > > > > > > On Mon, Feb 8, 2010 at 6:41 PM, Buchan Milne <bg...@st...>wrote: > >> On Monday, 8 February 2010 16:37:35 mario andre wrote: >> > Hi Buchan, How are you? >> >> Please keep mail on the mailing lists. >> >> > My friend I've upgrade to xymon 4.3.0 beta2 because I was needing the >> new >> > features reports from this version. >> >> Please use the version in xymon / hobbitmon 4.3.0 branch svn. >> >> > But after I upgrade I came with the hobbitd_rrd fatal errors as I have >> > before talking to you and install the do_devmon.c revision 164. >> >> The fixes didn't make it into 4.3.0-beta2. >> >> > The do_devmon.c version from henrik package is different from the >> revision >> > 164 that I was using and produced the hobbitd_rrd errors. >> >> Yes, some changes were made to the API for the RRD changes in 4.3.x, so >> the >> version(s) for 4.2.x won't compile. >> >> > I've tried to >> > compile the do_devmon.c rev 164 but I'm getting the folowing errors: >> > >> > In file included from do_rrd.c:567: >> > rrd/do_devmon.c: In function 'do_devmon_rrd': >> > rrd/do_devmon.c:78: error: 'rra1' undeclared (first use in this >> function) >> > rrd/do_devmon.c:78: error: (Each undeclared identifier is reported only >> > once rrd/do_devmon.c:78: error: for each function it appears in.) >> > rrd/do_devmon.c:79: error: 'rra2' undeclared (first use in this >> function) >> > rrd/do_devmon.c:80: error: 'rra3' undeclared (first use in this >> function) >> > rrd/do_devmon.c:81: error: 'rra4' undeclared (first use in this >> function) >> > rrd/do_devmon.c:84: warning: assignment from incompatible pointer type >> > rrd/do_devmon.c:118: warning: passing argument 3 of >> 'create_and_update_rrd' >> > from incompatible pointer type >> > rrd/do_devmon.c:118: error: too few arguments to function >> > 'create_and_update_rrd' >> > do_rrd.c: In function 'update_rrd': >> > do_rrd.c:649: warning: passing argument 4 of 'do_devmon_rrd' makes >> integer >> > from pointer without a cast >> > do_rrd.c:649: error: too many arguments to function 'do_devmon_rrd' >> > make[1]: *** [do_rrd.o] Error 1 >> > make[1]: Leaving directory `/home/xymon/xymon-4.3.0-beta2/hobbitd' >> > make: *** [hobbitd-build] Error 2 >> >> I haven't personally tested, but the changes I committed in rev 6222 of >> the >> hobbitmon svn repo should address both: >> >> http://hobbitmon.svn.sf.net/viewvc/hobbitmon?view=rev&revision=6222 >> >> Please let me know if it works for you. >> >> Regards, >> Buchan >> > > |