Re: SVN trunk multi-platform build errors

2011-01-11 Thread Magnus Fromreide
On Mon, 2011-01-10 at 23:41 +0100, Thomas Anders wrote: Also, building trunk on HP-UX 11.00 currently fails with: - --- snip --- making all in /my/build/5.7svn/hpux/snmplib gmake[1]: Entering directory `/my/build/5.7svn/hpux/snmplib' /bin/sh ../libtool --mode=compile

Re: snmpd footprint just under 2MB !! - is this usual?

2011-01-11 Thread Abraham Varricatt
I'm working on code minimization right now that should help reduce it even further. The 5.7 release will support even more configure flags to help you remove extra features that aren't needed. We're close to moving in the new work into the SVN trunk, but right there it's not yet present.

Re: snmpd footprint just under 2MB !! - is this usual?

2011-01-11 Thread Niels Baggesen
On Mon, Jan 10, 2011 at 03:03:28PM +0530, Abraham Varricatt wrote: The first time, it produced some error about not recognizing the file format. Took me a while to realize that I was running my host-system's strip utility and not my target's one. With that correction, I've reduced the

Re: Net-snmp 5.6 uses the wrong interface on a multi-homed box with asymmetric routing

2011-01-11 Thread Jan Safranek
On 12/22/2010 03:42 AM, Bill Fenner wrote: On Wed, Dec 15, 2010 at 4:28 AM, Jan Safranekjsafr...@redhat.com wrote: On 12/13/2010 11:21 PM, Robert Story wrote: On Mon, 13 Dec 2010 11:16:54 -0500 Bill wrote: BFI'm not sure what to suggest as a solution. For those who use BFnet-snmp as

RE: My Subagent is not working after some long time

2011-01-11 Thread Prakash
Thanks All, But what are the cases to cause this situation. I haven’t started snmpd/subagent when already they are running. Regards, Prakash Raju -Original Message- From: Bill Fenner [mailto:fen...@gmail.com] Sent: Sunday, January 09, 2011 4:49 AM To: PrakashRaju Meka Cc: Wes

API function to extract integer from netsnmp_request_info ?

2011-01-11 Thread Abraham Varricatt
I'm playing around with mib2c and am a bit confused with SET commands. I've run this (part of net-snmp examples MIB), mib2c -c mib2c.scalar.conf netSnmpExampleInteger And in the generated code there is a function called snmp_set_var_typed_value(). From experimentation (and code study), I've

Re: API function to extract integer from netsnmp_request_info ?

2011-01-11 Thread Dave Shield
On 11 January 2011 15:52, Abraham Varricatt abraham.varricatt+s...@googlemail.com wrote: there is a function called snmp_set_var_typed_value().. I've figured out that we essentially pass the result of a GET operation into this function, so the snmpd agent will report it back. Correct.

Re: SVN trunk multi-platform build errors

2011-01-11 Thread Dave Shield
On 11 January 2011 07:23, Niels Baggesen n...@users.sourceforge.net wrote: after Dave's mighty BSD job FreeBSD still compiles, NetBSD and OpenBSD still doesn't. But until further I will leave to him to complete it OK - I've now applied all of the patches where I feel that I understand

Re: API function to extract integer from netsnmp_request_info ?

2011-01-11 Thread Abraham Varricatt
Is there any function in net-snmp that will let me extract the integer data value that comes with a SET operation out of this structure? requests-requestvb is the varbind structure (of type netsnmp_variable_list) so the value is held in the (union) structure requests-requestvb-val So