From: White, B. <be...@fe...> - 2010-04-06 13:21:40
|
Mario, I am running on Red Hat 5.2 with Xymon 4.3.0-beta2, Devmon 0.3.1-beta1, rrd 1.2.23-1 without any core dumps. I am monitoring a cisco 6509 and all graphs are working fine. .....Bruce Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | be...@fe... | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -----Original Message----- From: Mario Andre Panza [mailto:row...@gm...] Sent: Monday, April 05, 2010 4:12 PM To: dev...@li...; ho...@hs... Subject: Re: [Devmon] [hobbit] Re: Devmon causing core dumps 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 <row...@gm...>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 <he...@hs...> */ > --- > > /* Copyright (C) 2004-2009 Henrik Storner <he...@hs...> > */ > 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. > > > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |