[OpenSIPS-Users] SNMPStats and usrloc db_mode 3
john.quick at smartvox.co.uk
Wed Jun 22 12:36:43 CEST 2011
Trying to use SNMP to monitor the number of registered users using the
scalar openserSIPRegCurrentUsers (OID 126.96.36.199.4.1.274188.8.131.52.184.108.40.206).
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.
More information about the Users