Urgent - Unknown User Name

2008-05-13 Thread Pachiappan D
Hello, I have written an API to add a snmpv3 user.( Like net-snmp-config ) Before starting the agent,my API appends the two lines in appropriate files as below, createUser admin MD5 "intelinside" DES - /var/net-snmp/snmpd.conf rwuser admin - /usr/local/share/snmp/snmpd.conf #

activating snmp proxy during run-time

2008-05-13 Thread Asaf Henig
Hello all. I would like to use net-snmp proxy code to activate snmp proxy to a given OID during run-time (not only on startup). It appears that calling the function "proxy_parse_config" in proxy.c with the compatible params is good enough (though it works only on an exact OID and not on subtre

Re: dlmod error

2008-05-13 Thread Magnus Fromreide
On mån, 2008-05-12 at 14:48 +0800, Tewen Hsieh wrote: > Hi, > > When I loaded wpWlsCore.so and wpWlsBridge.so, I got following error: > > /not/usr/sbin> ./snmpd -f -L -DwpWlsCore,dlmod > dlmod: register mib > dlmod: dlmod_path: /not/usr//lib/snmp/dlmod > dlmod: dlmod_create_module > dlmod: dlmod_

Re: activating snmp proxy during run-time

2008-05-13 Thread Magnus Fromreide
On tis, 2008-05-13 at 14:37 +0300, Asaf Henig wrote: > Hello all. > > I would like to use net-snmp proxy code to activate snmp proxy to a > given OID during run-time (not only on startup). Edit the config file to add the new proxy. Send the agent a SIGHUP to make it reread the config. > It appe

RE: activating snmp proxy during run-time

2008-05-13 Thread Asaf Henig
Hello Magnus. Thanks for replying my mail. It appers I didn't explain my self enough. I don't want to use the proxy functions by rereading the config file I simply calling them from another function I wrote and send them the proper args. Anyhow I think I found my bug. The proxy functions that w

Re: r16909 broke RH7.1 build for all branches

2008-05-13 Thread Dave Shield
2008/5/11 Thomas Anders <[EMAIL PROTECTED]>: > That change broke the build on at least RedHat Linux 7.1 (kernel 2.4.20) > for all branches (affecting both 5.2.5.rc1 and 5.4.2.pre1): That's a very old release, so I'm not *too* bothered about breaking it. But it would be easy enough to fix: #ifn