From 23d5579b567695ab2da1a730b19770644afc141a Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 21 Jun 2021 20:11:41 +0200 Subject: [PATCH] munin_v3 (#124) lvm fileserver plugin verteilung apc_nis Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/124 Co-Authored-By: mg Co-Committed-By: mg --- group_vars/fileserver.yml | 25 +++++++++++++++++++++++-- group_vars/proxmox.yml | 32 ++++++++++++++++++++++---------- host_vars/pve2.grote.lan.yml | 25 ++++++++++++++++++++++--- 3 files changed, 67 insertions(+), 15 deletions(-) diff --git a/group_vars/fileserver.yml b/group_vars/fileserver.yml index 7b9bead5..50359005 100644 --- a/group_vars/fileserver.yml +++ b/group_vars/fileserver.yml @@ -120,12 +120,33 @@ munin_node_plugins: - name: chrony - name: systemd_status - - name: lvm_ - name: samba_locked - name: samba_users munin_node_install_plugins: # in eigenes Repo gesichert - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/chrony - - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/lvm_ - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/systemd_status - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/samba_locked - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/samba_users + munin_node_remove_plugins: + - name: meminfo # zu hohe last + - name: hddtemp2 # ersetzt durch hddtemp_smartctl + - name: squid_cache + - name: squid_objectsize + - name: squid_requests + - name: squid_traffic + - name: nfsd + - name: samba + - name: nfsd4 + - name: ntp # verursacht zu viele dns ptr request + - name: cronjobs + - name: hddtempd # ersetzt durch hddtemp_smartctl + - name: ipmi_power # für pve2, leeres diagramm + - name: fail2ban + - name: fail2ban_ + - name: apcupsd_pct + - name: kvm_io + - name: kvm_cpu + - name: docker_mem + - name: cpuspeed + - name: acpi + - name: lvm_ diff --git a/group_vars/proxmox.yml b/group_vars/proxmox.yml index 06807524..c5ec11f8 100644 --- a/group_vars/proxmox.yml +++ b/group_vars/proxmox.yml @@ -15,8 +15,6 @@ munin_node_plugins: - name: chrony - name: systemd_status - - name: lvm_ - - name: apc_nis - name: hddtemp_smartctl - name: zpool_iostat - name: zfsonlinux_stats_ @@ -25,15 +23,8 @@ - name: zpool_capacity - name: kvm_mem - name: kvm_net - munin_node_config: { - "apc_nis": { - "env.host": "pve2.grote.lan", - "env.port": "3551" - } - } munin_node_install_plugins: # in eigenes Repo gesichert - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/chrony - - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/lvm_ - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/systemd_status - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/zfs_arcstats - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/zfsonlinux_stats_ @@ -42,7 +33,28 @@ - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/zpool_capacity - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/kvm_mem - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/kvm_net - + munin_node_remove_plugins: + - name: meminfo # zu hohe last + - name: hddtemp2 # ersetzt durch hddtemp_smartctl + - name: squid_cache + - name: squid_objectsize + - name: squid_requests + - name: squid_traffic + - name: nfsd + - name: samba + - name: nfsd4 + - name: ntp # verursacht zu viele dns ptr request + - name: cronjobs + - name: hddtempd # ersetzt durch hddtemp_smartctl + - name: ipmi_power # für pve2, leeres diagramm + - name: fail2ban + - name: fail2ban_ + - name: apcupsd_pct + - name: kvm_io + - name: kvm_cpu + - name: docker_mem + - name: apc_nis + - name: lvm_ # Ansible Variablen ### sudo sudo: false diff --git a/host_vars/pve2.grote.lan.yml b/host_vars/pve2.grote.lan.yml index 67b33220..8dabef2a 100644 --- a/host_vars/pve2.grote.lan.yml +++ b/host_vars/pve2.grote.lan.yml @@ -239,7 +239,7 @@ frequent_period: '0' autosnap: 'yes' autoprune: 'yes' - + ### mgrote.cv4pve-autosnap cv4pve_api_user: root@pam!cv4pve-autosnap cv4pve_api_token: "{{ lookup('keepass', 'cv4pve_api_token', 'password') }}" @@ -251,7 +251,6 @@ munin_node_plugins: - name: chrony - name: systemd_status - - name: lvm_ - name: apc_nis - name: hddtemp_smartctl - name: zpool_iostat @@ -270,7 +269,6 @@ } munin_node_install_plugins: # in eigenes Repo gesichert - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/chrony - - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/lvm_ - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/systemd_status - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/zfs_arcstats - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/zfsonlinux_stats_ @@ -280,3 +278,24 @@ - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/kvm_mem - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/kvm_net - remote_src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/apcupsd_pwr + munin_node_remove_plugins: + - name: meminfo # zu hohe last + - name: hddtemp2 # ersetzt durch hddtemp_smartctl + - name: squid_cache + - name: squid_objectsize + - name: squid_requests + - name: squid_traffic + - name: nfsd + - name: samba + - name: nfsd4 + - name: ntp # verursacht zu viele dns ptr request + - name: cronjobs + - name: hddtempd # ersetzt durch hddtemp_smartctl + - name: ipmi_power # für pve2, leeres diagramm + - name: fail2ban + - name: fail2ban_ + - name: apcupsd_pct + - name: kvm_io + - name: kvm_cpu + - name: docker_mem + - name: lvm_