Asking freeradius for the status
Hi, I am just digging into the status server of freeradius. I read man radclient and the comments of status server. But it seems I do nat have the right clue: 1) Copying the example from the man pages of radclient: $ echo "Message-Authenticator = 0x00" | radclient localhost sta tus testing123 results in: Received response ID 137, code 2, length = 20 and not, as described in the manual. What is my error? The logfile of radiusd is: rad_recv: Status-Server packet from host 127.0.0.1 port 32770, id=137, length=38 Message-Authenticator = 0xf068e18b120a18d84d00a1dba1cba97d Sending Access-Accept of id 137 to 127.0.0.1 port 32770 Finished request 0. Cleaning up request 0 ID 137 with timestamp +6 Going to the next request Ready to process requests. 2) How to get other status info from the server? Using the FreeRADIUS-Statistics-Type attribute? How exactly? Please post an example. Thanks for any hints. Sincerely, Michael Schwartzkopff.
Michael Schwartzkopff wrote:
$ echo "Message-Authenticator = 0x00" | radclient localhost sta tus testing123
results in: Received response ID 137, code 2, length = 20 and not, as described in the manual. What is my error?
Nothing. The man page is wrong. The Reply-Message was removed quite a while ago.
2) How to get other status info from the server? Using the FreeRADIUS-Statistics-Type attribute? How exactly? Please post an example. Thanks for any hints.
In doc/ChangeLog: ... * SNMP statistics are available through Status-Server packets. See raddb/sites-available/status ... Alan DeKok.
participants (2)
-
Alan DeKok -
Michael Schwartzkopff