diff --git a/group_vars/acng.yml b/group_vars/acng.yml index 805cad8c..b165f089 100644 --- a/group_vars/acng.yml +++ b/group_vars/acng.yml @@ -42,3 +42,11 @@ env.client /usr/bin/fail2ban-client env.config_dir /etc/fail2ban user root + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://acng.grote.lan:9999/acng-report.html + env.max_time 20 + env.short_label true + env.follow_redirect true diff --git a/group_vars/docker.yml b/group_vars/docker.yml index eb04d1c6..0ec7bfa9 100644 --- a/group_vars/docker.yml +++ b/group_vars/docker.yml @@ -37,37 +37,5 @@ /var/lib/docker/volumes/***musik*** # https://github.com/restic/restic/issues/1005 # https://forum.restic.net/t/exclude-syntax-confusion/1531/12 - ### geerlingguy.munin-node - munin_node_plugins: - - name: chrony - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony - - name: systemd_status - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status - - name: lvm_ - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_ - config: | - [lvm_*] - user root - - name: docker_containers - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ - config: | - [docker_*] - user root - env.DOCKER_HOST unix://run/docker.sock - - name: docker_cpu - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ - - name: docker_memory - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ - - name: docker_network - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ - - name: docker_volumes - src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ - - name: fail2ban - src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban - config: | - [fail2ban] - env.client /usr/bin/fail2ban-client - env.config_dir /etc/fail2ban - user root ### mgrote.docker-compose-deploy docker_compose_base_dir: /home/mg/docker diff --git a/group_vars/dokuwiki.yml b/group_vars/dokuwiki.yml index 5ab22c89..33fffe56 100644 --- a/group_vars/dokuwiki.yml +++ b/group_vars/dokuwiki.yml @@ -18,3 +18,29 @@ protocol: tcp comment: 'munin' from_ip: 192.168.2.144/24 + ### geerlingguy.munin-node + munin_node_plugins: + - name: chrony + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony + - name: systemd_status + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status + - name: lvm_ + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_ + config: | + [lvm_*] + user root + - name: fail2ban + src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban + config: | + [fail2ban] + env.client /usr/bin/fail2ban-client + env.config_dir /etc/fail2ban + user root + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://dokuwiki2.grote.lan https://wiki.mgrote.net/ + env.max_time 20 + env.short_label true + env.follow_redirect true diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index 70430b46..bfe2d4cb 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -78,3 +78,29 @@ gitea_fail2ban_jail_maxretry: 3 gitea_fail2ban_jail_findtime: 300 gitea_fail2ban_jail_bantime: 600 + ### geerlingguy.munin-node + munin_node_plugins: + - name: chrony + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony + - name: systemd_status + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status + - name: lvm_ + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_ + config: | + [lvm_*] + user root + - name: fail2ban + src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban + config: | + [fail2ban] + env.client /usr/bin/fail2ban-client + env.config_dir /etc/fail2ban + user root + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://gitea.grote.lan:3000 https://git.mgrote.net + env.max_time 20 + env.short_label true + env.follow_redirect true diff --git a/host_vars/docker2.grote.lan.yml b/host_vars/docker2.grote.lan.yml index d914bb5c..7f116a5a 100644 --- a/host_vars/docker2.grote.lan.yml +++ b/host_vars/docker2.grote.lan.yml @@ -205,6 +205,13 @@ env.fritzbox_username munin env.fritzbox_password {{ lookup('keepass', 'fritzbox_munin_user', 'password') }} env.traffic_remove_max true # if you do not want the possible max values - + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://docker2.grote.lan:8888/nodes http://docker2.grote.lan:1234 http://docker2.grote.lan:5000 http://docker2.grote.lan:333 + env.max_time 20 + env.short_label true + env.follow_redirect true ### mgrote.restic restic_folders_to_backup: /usr/local /etc /root /home /var/lib/docker diff --git a/host_vars/docker3.grote.lan.yml b/host_vars/docker3.grote.lan.yml index 23badf83..367b645e 100644 --- a/host_vars/docker3.grote.lan.yml +++ b/host_vars/docker3.grote.lan.yml @@ -35,6 +35,45 @@ repository_url: git.mgrote.net/mg/docker-watchtower state: present os_username: mg - + ### geerlingguy.munin-node + munin_node_plugins: + - name: chrony + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony + - name: systemd_status + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status + - name: lvm_ + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_ + config: | + [lvm_*] + user root + - name: docker_containers + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + config: | + [docker_*] + user root + env.DOCKER_HOST unix://run/docker.sock + - name: docker_cpu + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_memory + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_network + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_volumes + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: fail2ban + src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban + config: | + [fail2ban] + env.client /usr/bin/fail2ban-client + env.config_dir /etc/fail2ban + user root + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://docker3.grote.lan:8081/ https://miniflux.mgrote.net/ http://docker3.grote.lan:3001 https://nightscout.mgrote.net https://audio.mgrote.net/mg + env.max_time 20 + env.short_label true + env.follow_redirect true ### mgrote.restic restic_folders_to_backup: /usr/local /etc /root /home /var/lib/docker diff --git a/host_vars/docker4.grote.lan.yml b/host_vars/docker4.grote.lan.yml index 78889ef9..d3704ae3 100644 --- a/host_vars/docker4.grote.lan.yml +++ b/host_vars/docker4.grote.lan.yml @@ -21,3 +21,44 @@ ### mgrote.restic restic_folders_to_backup: /usr/local /etc /root /home + + ### geerlingguy.munin-node + munin_node_plugins: + - name: chrony + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/chrony/chrony + - name: systemd_status + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/systemd/systemd_status + - name: lvm_ + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/disk/lvm_ + config: | + [lvm_*] + user root + - name: docker_containers + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + config: | + [docker_*] + user root + env.DOCKER_HOST unix://run/docker.sock + - name: docker_cpu + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_memory + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_network + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: docker_volumes + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/docker/docker_ + - name: fail2ban + src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/fail2ban + config: | + [fail2ban] + env.client /usr/bin/fail2ban-client + env.config_dir /etc/fail2ban + user root + - name: http_response + src: https://git.mgrote.net/mg/mirror-munin-contrib/raw/branch/master/plugins/http/http_response + config: | + [http_response] + env.sites http://docker4.grote.lan:2233 http://docker4.grote.lan:2342 + env.max_time 20 + env.short_label true + env.follow_redirect true