Meaning of zero queue size in a Freeradius prod environment

Fekete Tamás fektom at
Mon Feb 4 09:34:02 CET 2019


I would like to develop a Nagios check for Freeradius which periodically
checks the queue.

My idea it to use radclient with statistics type 16 (or similar) and grep
out the useful informations.

I queried our prod server which handles about 3000-5000 requests in a
minute and got a result that the queue is zero:

[root at radius1 sites-enabled]# echo "Message-Authenticator = 0x00,
FreeRADIUS-Statistics-Type = 16, Response-Packet-Type = Access-Accept" |
radclient -x localhost:18121 status <somethingpass>
Sent Status-Server Id 230 from to length 50
Message-Authenticator = 0x00
FreeRADIUS-Statistics-Type = Internal
Response-Packet-Type = Access-Accept
Received Access-Accept Id 230 from to length 128
FreeRADIUS-Stats-Start-Time = "Feb  4 2019 08:33:06 CET"
FreeRADIUS-Stats-HUP-Time = "Feb  4 2019 08:33:06 CET"
FreeRADIUS-Queue-Len-Internal = 0
FreeRADIUS-Queue-Len-Proxy = 0
FreeRADIUS-Queue-Len-Auth = 0
FreeRADIUS-Queue-Len-Acct = 0
FreeRADIUS-Queue-Len-Detail = 0
FreeRADIUS-Queue-PPS-In = 0
FreeRADIUS-Queue-PPS-Out = 0

I am asking just for the sure understanding.
Does Freeradius show me zero values regardless of the load because the
operation of the program is so quick and all the requests are handled less
than a second so it is hard to catch a queue value different than 0?

- Tamas Fekete

More information about the Freeradius-Users mailing list