Tweak monit defaults and add sample of turning on wireguard monitoring via monit in inventory
This commit is contained in:
parent
991ccf76ac
commit
447155f71f
|
@ -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 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
|
- iptables -D -A INPUT -i wg0 -s 192.168.254.0/24 -d 0.0.0.0/0 -j DROP
|
||||||
vars:
|
vars:
|
||||||
|
monit_wireguard: true
|
||||||
wireguard_port: 51821
|
wireguard_port: 51821
|
||||||
wireguard_endpoint: 10.5.5.246
|
wireguard_endpoint: 10.5.5.246
|
||||||
wireguard_persistent_keepalive: 30
|
wireguard_persistent_keepalive: 30
|
||||||
|
|
|
@ -11,7 +11,7 @@ monit_filesystems:
|
||||||
- { name: "rootfs", path: "/", alert: "80%" }
|
- { name: "rootfs", path: "/", alert: "80%" }
|
||||||
|
|
||||||
# Monitor WireGuard?
|
# Monitor WireGuard?
|
||||||
monit_wireguard: true
|
monit_wireguard: false
|
||||||
|
|
||||||
# Username / password for monit web service
|
# Username / password for monit web service
|
||||||
monit_web_user: "admin"
|
monit_web_user: "admin"
|
||||||
|
|
Loading…
Reference in a new issue