-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNMP Tables not populated #669
Comments
This was tested against V2.1.1. |
The problem is the same with V1.8.5. |
Hi @dsandras , I set up snmpd and, having one user registered, I get the following output from
RegUserTable
ContactLastUpdated
So everything is working ok there. As concerns openserSIPStatusCodesTable, the implementation is different and it looks like that table should be populated from outside OpenSIPS. If it helps you in any
Edit: Forgot to say that I use the latest opensips build from github, but should make no difference since there's been no real change(involving code additions/rework) in snmpstats for a long time. |
Hi,
|
@dsandras , DB only is 3, not 2. Still, DB-only mode has some know limitations - like expire callbacks do not work. Because of that, the SNMP part also does not work, as SNMP relies on the usrloc callbacks (AOR created and destroyed ) in order to keep its parallel list with the registered AORs. So, if mode 3 -> no expire callbacks -> no list in SNMP. |
Hi Bogdan, I have limited network access currently, but we are indeed
|
We have working SNMP support in 2.1:
root@golgoth05:~/beip-bx# snmpwalk -v 2c -c beip localhost openserSIPEntityType.0
OPENSER-SIP-COMMON-MIB::openserSIPEntityType.0 = BITS: 38 proxyServer(2) redirectServer(3) registrarServer(4)
However, tables remain desperately empty:
root@golgoth05:~/beip-bx# snmptable -Ci -v 2c -c beip localhost openserSIPStatusCodesTable
OPENSER-SIP-COMMON-MIB::openserSIPStatusCodesTable: No entries
root@golgoth05:~/beip-bx# snmptable -Ci -v 2c -c beip localhost openserSIPContactTable
SNMP table: OPENSER-SIP-SERVER-MIB::openserSIPContactTable
index openserSIPContactDisplayName openserSIPContactURI openserSIPContactLastUpdated openserSIPContactExpiry openserSIPContactPreference
1.1 DefaultUser DefaultUser 0-0-0,0:0:0.0 0-0-0,0:0:0.0 -0.01
root@golgoth05:~/beip-bx# snmptable -Ci -v 2c -c beip localhost openserSIPRegUserTable
SNMP table: OPENSER-SIP-SERVER-MIB::openserSIPRegUserTable
index openserSIPUserUri openserSIPUserAuthenticationFailures
1 DefaultUser 0
The text was updated successfully, but these errors were encountered: