Re: Alignment traps on snmpd 5.7.1 build for ARM9

2012-06-18 Thread Tyler Olmstead
Here's a patch that fixes the problem. I have only tested it on my target (arm926ejs), so tests on other architectures would be worthwhile. Hope this helps, and let me know if I can do anything else. -- Tyler diff --git a/agent/mibgroup/ip-mib/data_access/defaultrouter_linux.c b/agent/mibgroup/ip

RE: Solaris libtool Error on Make

2012-06-18 Thread Lomax, Michael P.
Niels, Boy things have been crazy here lately and I did not get a chance to test until just now. You crle suggestion did work. These servers are in a lab so there is no telling what has been done to them. But I can tell you that I did try on an idle customer system and got the same response.

Re: CFV: Include patch 3526599 in 5.{4,5}.2 releases

2012-06-18 Thread Wes Hardaker
Dave Shield writes: > I'm just getting ready to roll out the rc2 versions of these two releases, > and have been looking through the recent Bug and Patch trackers entries, > to see whether there's anything been reported that needs fixing first. +1, assuming you fix the C++ style comment. -- Wes

Re: CFV: fix bug 3479740: mibgroup/host: fix hrSWRunPerfCPU and hrSWRunPerfMem for Linux

2012-06-18 Thread Wes Hardaker
Niels Baggesen writes: > The attached patch is a modified version of the patch attached to the > bug. In addition to finding the right data, it also uses atol to fetch > the data instead of atoi. And then it adds the proper scaling to the > cpu value ... abstain... the patch is fairly complex f

CFV: fix bug 3532090 and high-index crashes in hrDeviceDescr

2012-06-18 Thread Wes Hardaker
As discussed today over IRC, here's 2 patches for consideration in inclusion for the 5.[56].* upcoming releases. Patch #1 is simple and just increases the shift variable allowing for 16 bits of index values instead of the previous 8 (which wrapped >256 on some systems). Patch #2 is a bit more co

CFV: fix bug 3479740: mibgroup/host: fix hrSWRunPerfCPU and hrSWRunPerfMem for Linux

2012-06-18 Thread Niels Baggesen
The attached patch is a modified version of the patch attached to the bug. In addition to finding the right data, it also uses atol to fetch the data instead of atoi. And then it adds the proper scaling to the cpu value ... The V5-6 and 5-7 versions of the source are identical, and the 5-5 ve

Fwd: Re: Help with creating a dymically loaded module

2012-06-18 Thread Niels Baggesen
Oprindelig meddelelse Subject: Re: Help with creating a dymically loaded module Date: Mon, 18 Jun 2012 19:48:59 +0200 From: Niels Baggesen To: Cyrus Virus CC: net-snmp-coders@lists.sourceforge.net Den 13-06-2012 20:18, Cyrus Virus skrev: >> sudo snmpd -f -L nstAgentPluginObj

Re: Help with creating a dymically loaded module

2012-06-18 Thread Niels Baggesen
Den 13-06-2012 20:18, Cyrus Virus skrev: >> sudo snmpd -f -L nstAgentPluginObject.so, dldmod You lost the -D when copying from the wiki, and added a significant blank ... % snmpd -f -L -DnstAgentPluginObject,dlmod /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The

Re: Help with creating a dymically loaded module

2012-06-18 Thread Dave Shield
On 13 June 2012 19:18, Cyrus Virus wrote: > I can compile the code using the make file, but when I try to run it I > get this error: > >> sudo snmpd -f -L nstAgentPluginObject.so, dldmod Where did you find that command? The instructions for loading the dynamic module in the tutorial you mentioned

Help with creating a dymically loaded module

2012-06-18 Thread John Doe
Hi, I'm trying to create a dynmically loaded object for a course assignment. I have installed net-snmp on Ubuntu 10.04 32bit from the default repository and verfied that it has support for dynamic modules by running 'snmpd -H'. I'm using the exact code from this tutorial: http://www.net-snmp.org/w

Help with creating a dymically loaded module

2012-06-18 Thread Cyrus Virus
Hi, I'm trying to create a dynmically loaded object for a course assignment. I have installed net-snmp on Ubuntu 10.04 32bit from the default repository and verfied that it has support for dynamic modules by running 'snmpd -H'. I'm using the exact code from this tutorial: http://www.net-snmp.org/w