RE: activating snmp proxy during run-time

2008-05-13 Thread Asaf Henig
_mib" call after calling "proxy_free_config". -Original Message- From: Magnus Fromreide [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 10:29 PM To: Asaf Henig Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: activating snmp proxy during run-time On tis, 2008-05-13 at 14

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

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