Re: [SR-Users] [snmpstats] openserSIPRegRejectedRegistrations not being updated

2012-10-10 Thread Anatoly Ivanov
Thanks Daniel. I find it surprising that i am the only one interested in monitoring the failed registrations. The most obvious and easiest solution for me would be to make a one-line patch to count failed authentications as rejected regs in snmp stats. I cannot see any disadvantages to this, excep

Re: [SR-Users] [snmpstats] openserSIPRegRejectedRegistrations not being updated

2012-10-05 Thread Daniel-Constantin Mierla
Hello, there is no pre-defined statistic for that. You can define custom statistics by using statistics module, still it will not be exported via snmpstats, but you can fetch it via xmlrpx (or mi/rpc commands). This new stats has to be updated when authentication function fails, based on re

Re: [SR-Users] [snmpstats] openserSIPRegRejectedRegistrations not being updated

2012-10-04 Thread Anatoly Ivanov
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

[SR-Users] [snmpstats] openserSIPRegRejectedRegistrations not being updated

2012-10-03 Thread Anatoly Ivanov
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