2020-08-05 00:55:55 +00:00
|
|
|
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"
|
2020-08-05 01:02:57 +00:00
|
|
|
if failed then alert
|
|
|
|
if failed for 3 cycles then restart
|