summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 16:27:30 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-03-14 16:27:30 +0100
commitdad5d1ac2225556a845d2fbd05f74a5f19bd96cf (patch)
tree4b0dfa6e84d7a23cf6e1d066400f7798792060fa
parent222aa7fef7fe8e14d7986245742aafa32d8e7bc7 (diff)
munin fix
-rw-r--r--roles/install_monitoring/files/munin/munin_global_conf4
-rw-r--r--roles/install_monitoring/tasks/install_munin.yml3
2 files changed, 6 insertions, 1 deletions
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