Ok, I have resorted to reading the source code. It looks like rejected_ registrations is only updated if save() fails, which does not exactly fit my needs - I need a counter to log authentication failures.
Does anyone know if there is an SNMP counter that could help me to achieve this? Or should I just call save() with some invalid parameters, to trigger the update?

Any advice?

Thank you,
Anatoly.




On Wed, Oct 3, 2012 at 3:28 PM, Anatoly Ivanov <anatoly.ivanov@gmail.com> wrote:
Hi,

I am observing weird behavior of snmpstats.so - I see openserSIPRegAcceptedRegistrations being updated, but openserSIPRegRejectedRegistrations stays at zero.
Could somebody please explain under what conditions this counter is being incremented?

I am using auth_radius, so I suspect I simply do not reject failed registartions the 'proper' way, thus causing the counter to stay at 0.

Thank you,
Anatoly.