RE: Questions about status counters

2011-08-15 Thread Tamás Becz
, 2011 3:14 PM To: FreeRadius users mailing list Subject: Re: Questions about status counters Here might be a start... https://github.com/alandekok/freeradius-server/tree/master/scripts/snmp-proxy -Arran On 12 Aug 2011, at 14:54, Tamás Becz wrote: Hi, I'm trying to collect some statistics

RE: Questions about status counters

2011-08-15 Thread Tamás Becz
Hi Alan, The values are taken from the SNMP MIBs for RADIUS. See doc/rfc/ Thanks, that'll do. You don't need to restart the server to update clients. See raddb/sites-available/dynamic-clients, and raddb/modules/dynamic_clients I will, thanks for the pointer. Wait a bit for 2.1.12. I

Questions about status counters

2011-08-12 Thread Tamás Becz
Hi, I'm trying to collect some statistics about my freeradius servers with nagios. Before I've been doing this with some perl code digging through the logs, and doing stats (plus generating gnuplot graphs out etc) but I'd rather have something more flexible, so I tought I'd put together some

Re: Questions about status counters

2011-08-12 Thread Arran Cudbard-Bell
Here might be a start... https://github.com/alandekok/freeradius-server/tree/master/scripts/snmp-proxy -Arran On 12 Aug 2011, at 14:54, Tamás Becz wrote: Hi, I'm trying to collect some statistics about my freeradius servers with nagios. Before I've been doing this with some perl code

Re: Questions about status counters

2011-08-12 Thread Alan DeKok
Tamás Becz wrote: 1) Is there some documentation on the values I got there? I of course see dictionary.freeradius, and the names are pretty self-explanatory, but we all know devil is in the details :) The values are taken from the SNMP MIBs for RADIUS. See doc/rfc/ 2) If I understand

Re: Status counters

2008-12-21 Thread Alan DeKok
for status. This is why I spelled out the 3 Status counters I did. sigh There are no 3 status counters. This has been explained. Starting with a Status-Request, not an Access-Request. There is no Status-Request packet. Why are you inventing it? I my mind, the result of that is either

Re: Status counters

2008-12-21 Thread Anders Holm
earlier email. The one you argued with. No, nothing is asking for access. Something is asking for status. This is why I spelled out the 3 Status counters I did. sigh There are no 3 status counters. This has been explained. Starting with a Status-Request, not an Access-Request

Re: Status counters

2008-12-21 Thread Alan DeKok
Anders Holm wrote: all I'm trying to do is talk things over. You take that as arguing. Q: How does this work? A: It works like this. Q: I think it works like that. A: No, I said like this. In detail. Q: But I really think it works like that! A: Stop it. Q: Stop what? sigh I have understood

Re: Status counters

2008-12-20 Thread Alan DeKok
Anders Holm wrote: Looking a tad at the counters and how they get incremented I see the following: Sending Access-Accept of id 20 to 127.0.0.1 port 32772 FreeRADIUS-Total-Access-Requests = 0 FreeRADIUS-Total-Access-Accepts = 36 FreeRADIUS-Total-Access-Rejects = 0

Re: Status counters

2008-12-20 Thread Anders Holm
Alan DeKok wrote: Anders Holm wrote: Looking a tad at the counters and how they get incremented I see the following: Sending Access-Accept of id 20 to 127.0.0.1 port 32772 FreeRADIUS-Total-Access-Requests = 0 FreeRADIUS-Total-Access-Accepts = 36

Re: Status counters

2008-12-20 Thread Alan DeKok
Anders Holm wrote: So, for Access-Requests we ignore Status-Server packets, but Status-Server packets do increment Access-Accept? Perhaps you didn't see my message or read the names of the counters. One counter counts Access-Requests, and another one counts Access-Accepts. There is no

Re: Status counters

2008-12-20 Thread Anders Holm
Alan DeKok wrote: Anders Holm wrote: So, for Access-Requests we ignore Status-Server packets, but Status-Server packets do increment Access-Accept? Perhaps you didn't see my message or read the names of the counters. One counter counts Access-Requests, and another one counts

Re: Status counters

2008-12-20 Thread Alan DeKok
Anders Holm wrote: Heh. I sure did. Though, I'm thinking slightly differently I suppose.. How can something be accepted which has not been requested?. That is the definition of how Status-Server works. This definition goes back to 1996 in a number of RADIUS servers. It is now being

Status counters

2008-12-19 Thread Anders Holm
Hi folks. Looking a tad at the counters and how they get incremented I see the following: Sending Access-Accept of id 20 to 127.0.0.1 port 32772 FreeRADIUS-Total-Access-Requests = 0 FreeRADIUS-Total-Access-Accepts = 36 FreeRADIUS-Total-Access-Rejects = 0

Re: Status counters

2008-12-19 Thread Anders Holm
Of course, I'm silly enough to expect others know what versions I'm running .. *doh* This is with FreeRADIUS 2.1.1 compiled from source. //anders 2008/12/19 Anders Holm anders.h...@sysadmin.ie Hi folks. Looking a tad at the counters and how they get incremented I see the following: