THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - i (takeshi)
Attached to Project - sip-router Summary - Errors in snmpstats KAMAILIO-TC Task Type - Bug Report Category - Module Status - Unconfirmed Assigned To - Operating System - All Severity - Low Priority - Normal Reported Version - Development Due in Version - Undecided Due Date - Undecided Details - When I use snmpget to get snmpstats, I get this:
[root@LAB002185-FLIP-SERVER SIP-Trunking]# snmpget -v2c -c public 192.168.2.185 kamailioCurNumDialogs.0 2013-11-06 21:07:46 Expected "(" (_): At line 65 in /usr/share/snmp/mibs/KAMAILIO-TC 2013-11-06 21:07:46 Bad operator ((): At line 65 in /usr/share/snmp/mibs/KAMAILIO-TC 2013-11-06 21:07:46 Did not find 'KamailioSIPMethodIdentifier' in module KAMAILIO-TC (/usr/share/snmp/mibs/KAMAILIO-SIP-COMMON-MIB.txt) 2013-11-06 21:07:46 Did not find 'KamailioSIPEntityRole' in module KAMAILIO-TC (/usr/share/snmp/mibs/KAMAILIO-SIP-COMMON-MIB.txt) 2013-11-06 21:07:46 Did not find 'X731UsageState' in module KAMAILIO-TC (/usr/share/snmp/mibs/KAMAILIO-MIB.txt) 2013-11-06 21:07:46 Did not find 'X731AlarmStatus' in module KAMAILIO-TC (/usr/share/snmp/mibs/KAMAILIO-MIB.txt) 2013-11-06 21:07:46 Did not find 'X731AlarmState' in module KAMAILIO-TC (/usr/share/snmp/mibs/KAMAILIO-MIB.txt) KAMAILIO-MIB::kamailioCurNumDialogs.0 = Gauge32: 0
The command doesn't fail, as data is reported correctly, but the error messages are annoying.
I compared, KAMAILIO-TC with the old OPENSER-TC, and found some issues.
I have created a patch (see attachment) for commit: 0fbdb8cf7a7687d6ecc8049dfdcb1244abd726af
After that, it works as expected:
[root@LAB002185-FLIP-SERVER SIP-Trunking]# snmpget -v2c -c public 192.168.2.185 kamailioCurNumDialogs.0 KAMAILIO-MIB::kamailioCurNumDialogs.0 = Gauge32: 0
Obs: my only doubt is about the line for --sctp_tls(5). I am just commenting it to disable it (the problem is that the parser doesn't like the underscore in the word) but maybe it must be corrected differently.
One or more files have been attached.
More information can be found at the following URL: http://sip-router.org/tracker/index.php?do=details&task_id=363
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.