2016-12-16 12:26:29 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Get Munin plugins
|
|
|
|
get_url:
|
|
|
|
url: "https://raw.githubusercontent.com/munin-monitoring/contrib/master/plugins/virtualization/{{ item }}"
|
2016-12-23 18:59:14 +01:00
|
|
|
dest: "/etc/munin/plugins/"
|
2017-01-05 11:58:01 +01:00
|
|
|
mode: "755"
|
2016-12-16 12:26:29 +01:00
|
|
|
with_items:
|
2016-12-23 15:13:45 +01:00
|
|
|
- kvm_cpu
|
|
|
|
- kvm_io
|
|
|
|
- kvm_mem
|
2016-12-16 12:26:29 +01:00
|
|
|
notify: restart munin-node
|
|
|
|
|
|
|
|
- name: Copy Munin plugins conf
|
|
|
|
copy:
|
|
|
|
src: files/munin-plugins
|
2016-12-23 15:13:45 +01:00
|
|
|
dest: "/etc/munin/plugin-conf.d/kvm"
|
2016-12-16 12:26:29 +01:00
|
|
|
notify: restart munin-node
|