further tweaking of monit wireguard monitoring
This commit is contained in:
parent
adfd8a3ba3
commit
d5b5c482a5
|
@ -1,5 +1,5 @@
|
|||
check host wireguard address {{ monit_wireguard_ip }}
|
||||
start program = "/usr/bin/systemctl start wg-quick@wg0"
|
||||
stop program = "/usr/bin/systemctl stop wg-quick@wg0"
|
||||
if failed then alert
|
||||
if failed for 3 cycles then restart
|
||||
if failed ping then alert
|
||||
if failed ping for 5 cycles then restart
|
||||
|
|
Loading…
Reference in a new issue