Tweak monit defaults and add sample of turning on wireguard monitoring via monit in inventory

This commit is contained in:
KemoNine 2020-08-05 00:50:48 +00:00
parent 991ccf76ac
commit 447155f71f
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ wg:
- iptables -D -A INPUT -i wg0 -s 192.168.254.0/24 -d 192.168.254.0/24 -j ACCEPT
- iptables -D -A INPUT -i wg0 -s 192.168.254.0/24 -d 0.0.0.0/0 -j DROP
vars:
monit_wireguard: true
wireguard_port: 51821
wireguard_endpoint: 10.5.5.246
wireguard_persistent_keepalive: 30

View file

@ -11,7 +11,7 @@ monit_filesystems:
- { name: "rootfs", path: "/", alert: "80%" }
# Monitor WireGuard?
monit_wireguard: true
monit_wireguard: false
# Username / password for monit web service
monit_web_user: "admin"