2016-11-07 14:00:57 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Copy Munin config for Nginx
|
2018-12-05 16:25:48 +01:00
|
|
|
template:
|
2016-11-07 14:00:57 +01:00
|
|
|
src: munin/evolinux.nginx
|
|
|
|
dest: /etc/munin/plugin-conf.d/
|
2017-03-23 16:59:43 +01:00
|
|
|
mode: "0644"
|
2016-11-07 14:00:57 +01:00
|
|
|
notify: restart munin
|
|
|
|
|
|
|
|
- name: Enable Munin plugins for Nginx
|
|
|
|
file:
|
|
|
|
src: '/usr/share/munin/plugins/{{ item }}'
|
|
|
|
dest: '/etc/munin/plugins/{{ item }}'
|
|
|
|
state: link
|
|
|
|
with_items:
|
|
|
|
- nginx_request
|
|
|
|
- nginx_status
|
|
|
|
notify: restart munin
|