Please take a look at the documentation:<div><br></div><div><a href="http://kamailio.org/docs/modules/1.3.x/snmpstats.html#AEN172">http://kamailio.org/docs/modules/1.3.x/snmpstats.html#AEN172</a></div><div><br></div><div>Specifically, items 1.6.2 and 1.6.3. </div>
<div><br></div><div>You should be able to run two different instances. </div><div><br></div><div>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.<br>
<br><div class="gmail_quote">On Fri, Sep 30, 2011 at 5:09 PM, Jeffrey Magder <span dir="ltr"><<a href="mailto:jeff.magder@gmail.com">jeff.magder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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?<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Fri, Sep 30, 2011 at 11:01 AM, Henning Westerholt <span dir="ltr"><<a href="mailto:hw@kamailio.org" target="_blank">hw@kamailio.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Friday 30 September 2011, Antanas Masevicius wrote:<br>
> it looks like this functionality can be implemented using SNMPv3<br>
> contexts. This way snmp agentx subagents would be able to register the<br>
> same OID tree with different from default context. The only change we<br>
> need is to patch snmpstats module with register context call as<br>
> described here:<br>
><br>
> <a href="http://www.net-snmp.org/wiki/index.php/FAQ:Coding_21" target="_blank">http://www.net-snmp.org/wiki/index.php/FAQ:Coding_21</a><br>
><br>
> We would probably also need some kamailio exported parameter to specify<br>
> subagent context. This parameter would only be needed to set if SNMPv3<br>
> is about to be used, otherwise default context would be set.<br>
><br>
> If someone is willing to do it, drop me a note. If not, i would try to<br>
> implement this change myself a bit later.<br>
> Is there a chance that such change would be accepted into main tree?<br>
<br>
</div>Hi Antanas,<br>
<br>
if you don't break existing functionality and add the necessary module<br>
documentation then it should be no problem to accept in the master tree. Just<br>
add the patch for the module if you're ready to our tracker.<br>
<br>
Best regards,<br>
<font color="#888888"><br>
Henning<br>
</font><div><div></div><div><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br></div>