Adapt for Ubuntu and prepare for migration to Hetzner

This commit is contained in:
Paul-Henri Froidmont 2018-10-11 04:17:57 +02:00
parent 38237337fc
commit 3090cc6818
26 changed files with 94 additions and 123 deletions

View file

@ -14,6 +14,7 @@
- name: Copy monit config
template:
src: monitrc
dest: /etc/monitrc
dest: /etc/monit/monitrc
mode: 0600
notify:
- reload monit

View file

@ -299,7 +299,7 @@ check filesystem root with path /
## Check a network link status (up/down), link capacity changes, saturation
## and bandwidth usage.
#
check network public with interface eno1
check network public with interface enp4s0
if failed link then alert
# if changed link then alert
# if saturation > 90% then alert