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.<div>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?</div>

<div><br></div><div>Any advice?</div><div><br></div><div>Thank you,</div><div>Anatoly.</div><div><br></div><div><br><div><div><br><br><div class="gmail_quote">On Wed, Oct 3, 2012 at 3:28 PM, Anatoly Ivanov <span dir="ltr">&lt;<a href="mailto:anatoly.ivanov@gmail.com" target="_blank">anatoly.ivanov@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I am observing weird behavior of snmpstats.so - I see openserSIPRegAcceptedRegistrations being updated, but openserSIPRegRejectedRegistrations stays at zero.</div>

<div>Could somebody please explain under what conditions this counter is being incremented?</div>
<div><br></div><div>I am using auth_radius, so I suspect I simply do not reject failed registartions the &#39;proper&#39; way, thus causing the counter to stay at 0.</div><div><br></div><div>Thank you,</div><div>Anatoly.</div>


<div><br></div>
</blockquote></div><br></div></div></div>