Please take a look at the documentation:
http://kamailio.org/docs/modules/1.3.x/snmpstats.html#AEN172
Specifically, items 1.6.2 and 1.6.3.
You should be able to run two different instances.
It has been years since I've worked on this but it should be straight forward to add SNMP v3 context to the SNMPStats module. If I recall correctly (again its been years), its just the matter of specifying an extra parameter when connecting to the master snmpd process. However, this may break SNNPv2 compatibility.
On Fri, Sep 30, 2011 at 5:09 PM, Jeffrey Magder jeff.magder@gmail.comwrote:
Its been a very long time since I've looked at this, but isn't there a a parameter that you can launch the application with to specify which port to use for AgentX?
On Fri, Sep 30, 2011 at 11:01 AM, Henning Westerholt hw@kamailio.orgwrote:
On Friday 30 September 2011, Antanas Masevicius wrote:
it looks like this functionality can be implemented using SNMPv3 contexts. This way snmp agentx subagents would be able to register the same OID tree with different from default context. The only change we need is to patch snmpstats module with register context call as described here:
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_21
We would probably also need some kamailio exported parameter to specify subagent context. This parameter would only be needed to set if SNMPv3 is about to be used, otherwise default context would be set.
If someone is willing to do it, drop me a note. If not, i would try to implement this change myself a bit later. Is there a chance that such change would be accepted into main tree?
Hi Antanas,
if you don't break existing functionality and add the necessary module documentation then it should be no problem to accept in the master tree. Just add the patch for the module if you're ready to our tracker.
Best regards,
Henning
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users