From dad5d1ac2225556a845d2fbd05f74a5f19bd96cf Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Wed, 14 Mar 2018 16:27:30 +0100 Subject: [PATCH] munin fix --- roles/install_monitoring/files/munin/munin_global_conf | 4 +++- roles/install_monitoring/tasks/install_munin.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/install_monitoring/files/munin/munin_global_conf b/roles/install_monitoring/files/munin/munin_global_conf index 9780faf..faeac79 100644 --- a/roles/install_monitoring/files/munin/munin_global_conf +++ b/roles/install_monitoring/files/munin/munin_global_conf @@ -1,6 +1,8 @@ [fw_*] user root -[if_ens*] +[if_en*] env.speed 1000 +[dhcp-pool] + user dhcp diff --git a/roles/install_monitoring/tasks/install_munin.yml b/roles/install_monitoring/tasks/install_munin.yml index a80ba1f..18a968a 100644 --- a/roles/install_monitoring/tasks/install_munin.yml +++ b/roles/install_monitoring/tasks/install_munin.yml @@ -21,6 +21,7 @@ src: munin/munin_fastd_peers dest: /usr/lib/munin/plugins/fastd_peers_ mode: 0755 + notify: restart munin-node when: "'fastd' in group_names" - name: copy fastd traffic plugin @@ -28,6 +29,7 @@ src: munin/munin_fastd_traffic dest: /usr/lib/munin/plugins/fastd_traffic_ mode: 0755 + notify: restart munin-node when: "'fastd' in group_names" - name: enable munin plugins for fastd peers @@ -60,6 +62,7 @@ src: munin/munin_dhcp_pool_plugin dest: /usr/lib/munin/plugins/dhcp-pool mode: 0755 + notify: restart munin-node when: "'fastd' in group_names" - name: enable munin plugins for dhcp