Commit be68be81 authored by Chris Croome's avatar Chris Croome

test disk quota graph

parent 4af05031
Pipeline #7723 failed with stage
in 16 seconds
......@@ -33,6 +33,9 @@ munin_plugins_enabled:
- name: cpu
dir: /usr/lib/munin-c/plugins
file: munin-plugins-c
- name: "quota2percent_{{ munin_quota_disk.stdout | default(omit) }}"
dir: /usr/local/share/munin/plugins
file: quota2percent_
- name: df
- name: df_inode
- name: diskstats
......
......@@ -7,4 +7,24 @@
update: true
tags:
- munin
- name: Contrib plugins in place
copy:
src: "/usr/local/src/munin_contrib/plugins/{{ plugin.dir }}/{{ plugin.name }}"
dest: "/usr/local/share/munin/plugins/{{ plugin }}"
mode: 0755
remote_src: true
loop:
- name: quota2percent_
dir: disk
loop_control:
loop_var: plugin
tags:
- munin
- name: Find the first disk with quota enabled
shell: grep quota /etc/fstab | awk '{ print $1 }' | head -n1
register: munin_quota_disk
tags:
- munin
...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment