Hello,
been trying to run two sip-router proxies in parallel and to feed data from them to snmpd via agentx. But it looks like snmpd deamon directly routes snmp request just to one (probably first connected) proxy. What ways this can be solved? Currenly i am thinking like running two concurrent snmpd daemons binded to specific IP addresses. Is there a better way to do it?
best regards, -- Antanas Masevicius
There is a SNMP module in Kamailio (http://kamailio.org/docs/modules/stable/modules_k/snmpstats.html)
Why didn't you query Kamailio directly? Each one in his own IP/port? Isn't that doable???
Edson.
Em 23/09/2011 11:47, Antanas Masevicius escreveu:
Hello,
been trying to run two sip-router proxies in parallel and to feed data from them to snmpd via agentx. But it looks like snmpd deamon directly routes snmp request just to one (probably first connected) proxy. What ways this can be solved? Currenly i am thinking like running two concurrent snmpd daemons binded to specific IP addresses. Is there a better way to do it?
best regards,
Antanas Masevicius
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
Hello Edson,
as i understand this, Kamailio module SNMPstats does not provide SNMP protocol itself it just binds with snmpd via agentx. Thus if you want to query with snmp client you have to do it via snmp deamon which only relays client requests to kamailio (please correct me if i am wrong here). Problem here is that i don't know how to bind more than one kamailio instance to single snmpd instance.
best regards, Antanas Masevicius
On 2011.09.23 18:55, Edson - Lists wrote:
There is a SNMP module in Kamailio (http://kamailio.org/docs/modules/stable/modules_k/snmpstats.html)
Why didn't you query Kamailio directly? Each one in his own IP/port? Isn't that doable???
Edson.
Em 23/09/2011 11:47, Antanas Masevicius escreveu:
Hello,
been trying to run two sip-router proxies in parallel and to feed data from them to snmpd via agentx. But it looks like snmpd deamon directly routes snmp request just to one (probably first connected) proxy. What ways this can be solved? Currenly i am thinking like running two concurrent snmpd daemons binded to specific IP addresses. Is there a better way to do it?
best regards,
Antanas Masevicius
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
Hello,
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?
best regards,
Antanas Masevicius
On 2011.09.26 08:45, Antanas Masevicius wrote:
Hello Edson,
as i understand this, Kamailio module SNMPstats does not provide SNMP protocol itself it just binds with snmpd via agentx. Thus if you want to query with snmp client you have to do it via snmp deamon which only relays client requests to kamailio (please correct me if i am wrong here). Problem here is that i don't know how to bind more than one kamailio instance to single snmpd instance.
best regards, Antanas Masevicius
On 2011.09.23 18:55, Edson - Lists wrote:
There is a SNMP module in Kamailio (http://kamailio.org/docs/modules/stable/modules_k/snmpstats.html)
Why didn't you query Kamailio directly? Each one in his own IP/port? Isn't that doable???
Edson.
Em 23/09/2011 11:47, Antanas Masevicius escreveu:
Hello,
been trying to run two sip-router proxies in parallel and to feed data from them to snmpd via agentx. But it looks like snmpd deamon directly routes snmp request just to one (probably first connected) proxy. What ways this can be solved? Currenly i am thinking like running two concurrent snmpd daemons binded to specific IP addresses. Is there a better way to do it?
best regards,
Antanas Masevicius
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
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
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
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