[OpenSIPS-Users] opensips 1.11.5-tls , SNMP not working - No Such Object available on this agent at this OID

Ionut Ionita ionutionita at opensips.org
Wed Jan 13 15:17:03 CET 2016


Hi Игорь Павлов,

     Tried to set up snmp from scratch. Followed the tutorial in 
OpenSIPS[0], managed to start snmp but had a hard
time setting up the opensips mibs. Found out this tutorial [1] which 
told to put the mibs in "/var/lib/mibs/ietf/",
and adapted the command from there

snmpbulkwalk -O s -v 2c -c  voip_monitoring localhost 
OPENSER-SIP-COMMON-MIB::openserSIPCommonObjects

to get what you wanted:

snmpbulkwalk -O s -v 2c -c  voip_monitoring localhost 
OPENSER-SIP-SERVER-MIB::openserSIPRegStats

and got the following output:

openserSIPRegStats
openserSIPRegAcceptedRegistrations.0 = Counter32: 0
openserSIPRegRejectedRegistrations.0 = Counter32: 0 .

Also for the openserSIPRegUserTable the output is:

openserSIPRegUserTable
openserSIPUserUri.1 = STRING: DefaultUser
openserSIPUserAuthenticationFailures.1 = Counter32: 0.

I will update the documentation accordingly.

Regards,
Ionut Ionita

[0] http://www.opensips.org/html/docs/modules/2.2.x/snmpstats.html
[1] 
http://saevolgo.blogspot.ro/2012/09/opensips-monitoring-using-snmp-part-i.html

On 12/22/2015 08:10 AM, Игорь Павлов wrote:
> snmpget -v 2c -c public localhost openserSIPRegStats




More information about the Users mailing list