Request for feedback: python pass_persist script

2007-07-07 Thread Andre LaBranche
Greetings, I'm writing a python pass_persist script as part of a project I'm working on, and I couldn't help but notice a lack of public examples of python pass_persist scripts. Accordingly, I'd like to submit mine to net-snmp, but first I'd like to get some feedback. I'm also new to pytho

probably bug in _snmp_build()

2007-07-07 Thread Aleksandr Lomanov
Probably bug. ... #endif /* NETSNMP_USE_REVERSE_ASNENCODING */ /* * Save current location and build SEQUENCE tag and length * placeholder for SNMP message sequence * (actual length will be inserted later) */ -

Re: Scalar value questions

2007-07-07 Thread Dave Shield
On 06/07/07, Need Help <[EMAIL PROTECTED]> wrote: > typedef struct MIB_OCTET_STRING_s { >u_long length; >u_char textStr[50]; > > } MIB_OCTET_STRING; Note that 'textStr' is effective a "char *", pointing to the start of the string value. > snmp_set_var_typed_value(requests->req

r16589 broke 5.2.x

2007-07-07 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > Revision: 16589 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=16589&view=rev > Author: rstory > Date: 2007-07-05 04:05:36 -0700 (Thu, 05 Jul 2007) > > Log Message: > --- > skip stats parsing on interfaces with no statistics > > Modified Pat