Script execute if all Proxies are dead
Chris Taylor (chtaylo2)
chtaylo2 at cisco.com
Fri Jan 20 22:25:31 CET 2017
We’re using freeradius-2.2.6-6.el6_7 to proxy inbound radius requests to home servers.
proxy.conf
home_server_pool primary_radius_auth {
type = fail-over
home_server = server1.fqdn.com
home_server = server2.fqdn.com
home_server = server3.fqdn.com
home_server = server4.fqdn.com
}
Works great, until last night when we found all home servers were erroring in the log file.
Jan 19 21:48:55 proxy-server radiusd[17073]: No response to status check 16506 for home server 00.00.00.01 port 1812
Jan 19 21:48:57 proxy-server radiusd[17073]: No response to status check 16509 for home server 00.00.00.02 port 1812
Jan 19 21:49:00 proxy-server radiusd[17073]: No response to status check 16510 for home server 00.00.00.03 port 1812
Jan 19 21:49:00 proxy-server radiusd[17073]: No response to status check 16510 for home server 00.00.00.04 port 1812
After this was noticed, we restarted the radiusd service on, and it fixed the issue. My question is, any suggestions on how we could kick a shell script if the status check determines all home servers are down at a given point? I’d like to have it restart the service, in an attempt to self-heal.
Thanks
Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4054 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20170120/23814d0f/attachment-0001.bin>
More information about the Freeradius-Users
mailing list