On Fri, Jan 20, 2017 at 10:48:12PM +0000, Matthew Newton wrote:
If it's useful, a version of the script I wrote to do this is at https://gist.github.com/mcnewton/8c6c54ffc04acf031a08. It lacks comments I'm afraid. Supposed to be run from cron every minute.
I should add - to use this the ad_auth_check_ok would need to be replaced with a function to do e.g. radtest or eapol_test and check for the Access-Accept, or whatever else you need to look for. It also checks disc space - in my case if I'm over 95% usage I keep FR stopped, which means clients move over to other RADIUS servers. Otherwise things can go bad. But... you get the idea. May be better to do this sort of thing than to check your proxy servers. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>