summaryrefslogtreecommitdiff
path: root/roles/install_monitoring
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_monitoring')
-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