On 29/08/06, Jayaprakasha Guddenahalli Naganna <[EMAIL PROTECTED]> wrote: > I am able to register same oid twice with different context and single > (same) callback function (var_*) from one agentx subagent.
Correct. That's the purpose of the context field. > By using the above technique can I support multiple instance of same OID by > passing context name ..... Yes > ..... to "var_ipForwardSingle" function…? Probably not. That sounds as if you're using the older v4 UCD-style module API. I don't believe that API supports the use of contexts. Have a look at the newer v5 handler-based modules. That API should support non-default contexts, *without* needing to change the API itself (which would not be acceptable). > Will this be an efficient and valid solution with respect to all > circumstances? Is there any drawback with above solution? There is no way that we would contemplate changing an established API. But the newer v5 approach should support this OK. Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
