From 9abed9fd6c5ad9730ce9752a3c267078d326ac78 Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Mon, 17 Jul 2017 14:30:51 +0100 Subject: [PATCH] docker munin plugins added --- roles/munin-node/tasks/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/roles/munin-node/tasks/main.yml b/roles/munin-node/tasks/main.yml index dc60249..868586e 100644 --- a/roles/munin-node/tasks/main.yml +++ b/roles/munin-node/tasks/main.yml @@ -12,6 +12,30 @@ - time - libcache-cache-perl +- name: Munin docker_cpu plugin in place + copy: + src: files/docker_cpu + dest: /usr/share/munin/plugins/docker_cpu + mode: 0755 + +- name: Munin docker_cpu plugin enabled + file: + src: /usr/share/munin/plugins/docker_cpu + dest: /etc/munin/plugins/docker_cpu + state: link + +- name: Munin docker_memory plugin in place + copy: + src: files/docker_memory + dest: /usr/share/munin/plugins/docker_memory + mode: 0755 + +- name: Munin docker_memory plugin enabled + file: + src: /usr/share/munin/plugins/docker_memory + dest: /etc/munin/plugins/docker_memory + state: link + - name: Munin client node conf in place copy: src: files/munin-node.conf -- GitLab