[OpenSIPS-Users] SNMPStats and usrloc db_mode 3

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jun 22 13:02:49 CEST 2011

Hi John,

In db_mode 3 (DB ONLY), as the location data is not also stored in 
memory, the statistics are not available, so they are not exported via SNMP.

This is an know issue when using usrloc with only DB support.


On 06/22/2011 01:36 PM, John Quick wrote:
> Trying to use SNMP to monitor the number of registered users using the
> scalar openserSIPRegCurrentUsers (OID
> When db_mode for usrloc is set to 3 the SNMP monitor always shows zero
> registrations. If I set db_mode to 1 then it shows the correct number. I
> guess the difference is that the SNMP data are being read by inspection of
> the cached registration data and in db_mode 3 it is not cached. Is there any
> way of overcoming this? I am testing it on v1.6.2.
> In case you ask, I require db_mode 3 because I have two opensips servers as
> a cluster both accessing data from a single MySQL cluster.
> John Quick
> Smartvox Limited
> Web: www.smartvox.co.uk
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Bogdan-Andrei Iancu
OpenSIPS solutions and "know-how"

More information about the Users mailing list