Questions about status counters

Alan DeKok aland at deployingradius.com
Fri Aug 12 16:15:15 CEST 2011


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 well, then these counters are simply monotonously increasing values. I can live with that of course, and do the math. I just like to see if my assumption is correct.

  Yes.  That's what the MIBs say.

> 3) Also, I see that if the server is restarted, the values are reset to 0. Can freeradius be told not to do this, but retain the values? Currently we do restarts on a regular basis now and then, to update a clients.conf file. I suppose I more or less could handle this, but at least would lose the stats that happened after the last check, but before the restart.

  Where?

  You don't need to restart the server to update clients.  See
raddb/sites-available/dynamic-clients, and raddb/modules/dynamic_clients

> 4) I'm I looking at the good direction at all, or should I rather start reading up how accounting works or something else?

  It should all work.

> Really, I'm good with and RTFM as long as you could point me to where to look :)
> 
> (Oh, I'm using 2.1.10, but plan to update to 2.1.11 in the near future).

  Wait a bit for 2.1.12.

  Alan DeKok.



More information about the Freeradius-Users mailing list