summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/tasks/imap.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/IMAP/tasks/imap.yml')
-rw-r--r--roles/IMAP/tasks/imap.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/roles/IMAP/tasks/imap.yml b/roles/IMAP/tasks/imap.yml
index e7023e7..0c55535 100644
--- a/roles/IMAP/tasks/imap.yml
+++ b/roles/IMAP/tasks/imap.yml
@@ -142,3 +142,29 @@
when: not (r1.changed or r2.changed or r3.changed)
- meta: flush_handlers
+
+
+- name: Install 'dovecot_stats_' Munin wildcard plugin
+ file: src=/usr/local/share/munin/plugins/dovecot_stats_
+ dest=/etc/munin/plugins/dovecot_stats_fripost.org
+ owner=root group=root
+ state=link force=yes
+ tags:
+ - munin
+ - munin-node
+ notify:
+ - Restart munin-node
+
+- name: Install 'dovecot_logins' and 'dovecot_who' Munin plugin
+ file: src=/usr/local/share/munin/plugins/{{ item }}
+ dest=/etc/munin/plugins/{{ item }}
+ owner=root group=root
+ state=link force=yes
+ with_items:
+ - dovecot_logins
+ - dovecot_who
+ tags:
+ - munin
+ - munin-node
+ notify:
+ - Restart munin-node