No statistics being returned with 3.1.x status site

Graham Clinch g.clinch at lancaster.ac.uk
Tue Oct 18 00:20:14 CEST 2016


Hi Folks,

Is anybody succeessfully getting statistics from a 'status' type port 
using v3.1.x?  It works as expected with 3.0.x, but with 3.1 I only get 
a plain 'Access-Accept'

-=-
$ echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 3" | 
radclient -x localhost:18121 status adminsecret
Sent Status-Server Id 101 from 0.0.0.0:44494 to 127.0.0.1:18121 length 50
	Message-Authenticator = 0x00
	FreeRADIUS-Statistics-Type = Auth-Acct
Received Access-Accept Id 101 from 127.0.0.1:18121 to 0.0.0.0:0 via lo 
length 20
-=-

The only change to the stock config is linking sites-available/status 
into sites-enabled:

-=-
[...]
server status { # from file /usr/local/etc/raddb/sites-enabled/status
} # server status
radiusd: #### Opening IP addresses and Ports ####
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on status address 127.0.0.1 port 18121 bound to server status
Listening on proxy address * port 60122
Listening on proxy address :: port 59166
Ready to process requests
(1)  Received Status-Server Id 101 from 127.0.0.1:44494 to 
127.0.0.1:18121 via lo length 50
(1)    Message-Authenticator = 0xc7dc212dc934b93eba6845d5ca0d9594
(1)    FreeRADIUS-Statistics-Type = Auth-Acct
(1)  Running Autz-Type Status-Server from file 
/usr/local/etc/raddb/sites-enabled/status
(1)    Autz-Type Status-Server {
(1)      ok (ok)
(1)    } # Autz-Type Status-Server (ok)
(1)  Processing SNMP stats request
(1)  Sent Access-Accept Id 101 from 127.0.0.1:18121 to 127.0.0.1:44494 
via lo length 0
(1)  Finished request
Waking up in 4.9 seconds.
(1)  Cleaning up request packet ID 101 with timestamp +10
Ready to process requests
-=-

ta,

Graham


More information about the Freeradius-Users mailing list