register_premib_handler ?

2011-03-21 Thread sujata patra
Hi , I am going through the read_config api's But i could not find the proper one. I want to read few private tokens for my net-snmp agent from the subagent.conf file . It will be better If i can do that before the mib initialization . I tried through few api's like register_config_handler() but

Re: how to use "extend" and run-on-set?

2011-03-21 Thread Donald Russell
On Mon, Mar 21, 2011 at 02:40, Dave Shield wrote: > On 18 March 2011 23:52, Donald Russell wrote: > > I have net-snmp 5.3 on Linux and I've been able to use the "exec" and > > "extend" config statements with great success. > > > > "pass" on the other hand is driving me crazy... I can't get snmpwa

Re: default to enabling IPv6 in configure?

2011-03-21 Thread Magnus Fromreide
On Mon, Mar 21, 2011 at 11:29:35AM -0700, Wes Hardaker wrote: > > On Fri, 18 Mar 2011 08:22:16 +0100, Magnus Fromreide > > said: > > MF> * Split DTLSUDPDomain > > FYI, I think this is a bad idea... Though it wouldn't hurt (if I'm > predicting what you want to do correctly), it'd actual

Re: Running Net-SNMP regression tests under Valgrind

2011-03-21 Thread Wes Hardaker
> On Thu, 17 Mar 2011 08:28:45 +0100, Bart Van Assche > said: BVA> As promised during the latest Net-SNMP administrative meeting, I BVA> have added a page on the Net-SNMP Wiki about how to run the BVA> Net-SNMP regression tests under Valgrind: Cool, thanks! -- Wes Hardaker Please mail

Re: default to enabling IPv6 in configure?

2011-03-21 Thread Wes Hardaker
> On Fri, 18 Mar 2011 08:22:16 +0100, Magnus Fromreide > said: MF> * Split DTLSUDPDomain FYI, I think this is a bad idea... Though it wouldn't hurt (if I'm predicting what you want to do correctly), it'd actually be a fair amount of work for a short-term gain. It's expected that event

Re: installing only snmptranslate utility

2011-03-21 Thread Dave Shield
On 21 March 2011 15:32, Eric Smith wrote: > For my work, I need only snmptranslate and mib2c from the net-snmp package. > I see mib2c ships as such in the tarball (net-snmp-5.6.1/local/mib2c). > > Would like to know if it is possible to generate an executable version of > snmptranslate utility wit

installing only snmptranslate utility

2011-03-21 Thread Eric Smith
For my work, I need only snmptranslate and mib2c from the net-snmp package. I see mib2c ships as such in the tarball (net-snmp-5.6.1/local/mib2c). Would like to know if it is possible to generate an executable version of snmptranslate utility without going through the full install process. Eric -

Re: how to use "extend" and run-on-set?

2011-03-21 Thread Dave Shield
On 18 March 2011 23:52, Donald Russell wrote: > I have net-snmp 5.3 on Linux and I've been able to use the "exec" and > "extend" config statements with great success. > > "pass" on the other hand is driving me crazy... I can't get snmpwalk to walk > the OID I specify at all... What does your pass