configuration-templates – Diff between revs 27 and 36
?pathlinks?
Rev 27 | Rev 36 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
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: |
|
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" |
9 | start program = "/etc/init.d/freeradius start" |
|
10 | stop program = "/etc/init.d/freeradius stop" |
10 | stop program = "/etc/init.d/freeradius stop" |
|
11 | if failed host 127.0.0.1 port 1812 type udp protocol radius secret "radpass" then alert |
- | ||
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 |
|
13 | # if 5 restarts within 5 cycles then timeout |
12 | # if 5 restarts within 5 cycles then timeout |
|
14 | |
13 | |
|
15 |
|
14 |
|
|
16 | |
15 | |
|
17 | |
16 | |
|
18 | |
17 | |