ttls: return channel bindings on half round trip success
[freeradius.git] / scripts / freeradius.monitrc
1 #
2 #  Script for use with Monit
3 #
4 #       http://mmonit.com/monit/
5 #
6
7 #
8 #  Totalmem limit should be lowered to 200.0 if none of the 
9 #  interpreted language modules or rlm_cache are being used.
10 #
11 check process radiusd with pidfile /var/run/radiusd/radiusd.pid
12    start program = "/etc/init.d/radiusd start"
13    stop program = "/etc/init.d/radiusd stop"
14    if failed host 127.0.0.1 port 1812 type udp protocol radius secret testing123 then alert
15    if failed host 127.0.0.1 port 1813 type udp protocol radius secret testing123 then alert
16    if cpu > 95% for 2 cycles then alert
17    if totalmem > 1024.0 MB for 5 cycles then restart
18    if 5 restarts within 5 cycles then timeout