configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 35  →  ?path2? @ 36
/monit/debian/templates/freeradius
@@ -2,12 +2,11 @@
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
# The monit file assumes that freeradius is listening on localhost
# and that the shared secret is radpass.
## In order to check freeradius with a password, one could add:
# if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
 
check process freeradius with pidfile /var/run/freeradius/freeradius.pid
start program = "/etc/init.d/freeradius start"
stop program = "/etc/init.d/freeradius stop"
if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
if failed host 127.0.0.1 port 1812 type udp then alert
# if 5 restarts within 5 cycles then timeout