configuration-templates – Diff between revs 27 and 36

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 36
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 # The monit file assumes that freeradius is listening on localhost 5 ## In order to check freeradius with a password, one could add:
Line 6... Line 6...
6 # and that the shared secret is radpass. 6 # if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert
7   7  
8 check process freeradius with pidfile /var/run/freeradius/freeradius.pid 8 check process freeradius with pidfile /var/run/freeradius/freeradius.pid
9 start program = "/etc/init.d/freeradius start" -  
10 stop program = "/etc/init.d/freeradius stop" 9 start program = "/etc/init.d/freeradius start"
11 if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert 10 stop program = "/etc/init.d/freeradius stop"
12 if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert 11 if failed host 127.0.0.1 port 1812 type udp then alert