[Devmon] [hobbit] Re: Devmon causing core dumps
Mario Andre Panza
rower.master at gmail.com
Mon Apr 5 23:11:49 CEST 2010
Hi all,
I´m getting a lot of core files because of devmon if_load tests for a cisco
6509.
I´m running xymon4.3.0-beta2, I´ve already tried xymon-4.3.0.-beta2 latest
branch with do_devmon.c revision 6222 with no success.
My rrdtool version is 1.3.9.
This core is generated with the default package from xymon-4.3.0-beta2
#0 0x0063b402 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 0x08069e93 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 0x0804e6e4 in do_devmon_rrd (hostname=0xb7b42207 "neuss-r1",
testname=0xb7b42210 "if_load",
classname=0xb7b42244 "imat/imat_network/Infrastructure_Devices",
pagepaths=0x807009e "",
msg=0xb7b42273 "status neuss-r1.if_load green Mon Apr 5 14:20:17 2010",
tstamp=1270488357) at rrd/do_devmon.c:83
#7 0x080598c4 in update_rrd (hostname=0xb7b42207 "neuss-r1",
testname=0xb7b42210 "if_load",
msg=0xb7b42273 "status neuss-r1.if_load green Mon Apr 5 14:20:17 2010",
tstamp=1270488357, sender=0xb7b421f8 "199.200.11.51",
ldef=0x8506588, classname=0xb7b42244
"imat/imat_network/Infrastructure_Devices", pagepaths=0x807009e "") at
do_rrd.c:649
#8 0x0804a400 in main (argc=3, argv=0xbf88c524) at hobbitd_rrd.c:349
Does anyone here is facing the same problem?
Thanks in advance,
Mario.
On Wed, Mar 31, 2010 at 5:28 PM, Mario Andre Panza
<rower.master at gmail.com>wrote:
> Buchan,
>
>
> The revision 164 do_devmon.c from the devmon svn was working good with
> 4.2.3
>
> After upgrade to 4.3.0 beta2 the revision 6171 and 6222 ( from xymon svn)
> do not work.
> Even with the last branch 4.3.0 from the svn I'm having lot of core files
> and rrdctl. files?
> Do you know why the rrdctl files?
>
> But my question is what changes are really necessary at the revision 164 in
> order to work with 4.3.0 ?
>
>
> The diff is between 164(devmon) and 6222(svn xymon) :
>
> diff xymon-4.2.3/hobbitd/rrd/do_devmon.c diff/6222
> 4c4
> < /* Copyright (C) 2004-2006 Henrik Storner <henrik at hswn.dk>
> */
> ---
> > /* Copyright (C) 2004-2009 Henrik Storner <henrik at hswn.dk>
> */
> 14c14
> < int do_devmon_rrd(char *hostname, char *testname, char *msg, time_t
> tstamp)
> ---
> > int do_devmon_rrd(char *hostname, char *testname, char *classname, char
> *pagepaths, char *msg, time_t tstamp)
> 18c18
> < static char *devmon_tpl = NULL;
> ---
> > static void *devmon_tpl = NULL;
> 68,69d67
> < devmon_params[0] = "rrdcreate";
> < devmon_params[1] = rrdfn;
> 74c72
> < devmon_params[numds+2] =
> xstrdup(columns[numds]);
> ---
> > devmon_params[numds] =
> xstrdup(columns[numds]);
> 78,82c76
> < devmon_params[numds+2] = rra1;
> < devmon_params[numds+3] = rra2;
> < devmon_params[numds+4] = rra3;
> < devmon_params[numds+5] = rra4;
> < devmon_params[numds+6] = NULL;
> ---
> > devmon_params[numds] = NULL;
> 115,116c109
> < snprintf(rrdfn, sizeof(rrdfn)-1, "%s.%s.rrd", rrdbasename,
> ifname);
> < rrdfn[sizeof(rrdfn)-1] = '\0';
> ---
> > setupfn2("%s.%s.rrd", rrdbasename, ifname);
> 118c111
> < create_and_update_rrd(hostname, rrdfn, devmon_params,
> devmon_tpl);
> ---
> > create_and_update_rrd(hostname, testname, classname,
> pagepaths, devmon_params, devmon_tpl);
> 127a121
> >
>
> Thanks in advance,
>
> Mario.
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100405/6e68915f/attachment.html>
More information about the Xymon
mailing list