ff
This commit is contained in:
parent
f64842eb4a
commit
094100ff9c
2 changed files with 5 additions and 8 deletions
|
@ -68,10 +68,5 @@ munin_hosts:
|
||||||
address: ldap.mgrote.net
|
address: ldap.mgrote.net
|
||||||
extra: ["use_node_name yes"]
|
extra: ["use_node_name yes"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# notfications config
|
|
||||||
# TODO
|
# TODO
|
||||||
# cgi?
|
# Mail/Notifications?
|
||||||
# rrdcache
|
|
||||||
# rolle wieder aus image ausabuen
|
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
path: /var/lib/munin/cgi-tmp
|
path: /var/lib/munin/cgi-tmp
|
||||||
mode: 'ugo+rw'
|
mode: 'ugo+rw'
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: munin
|
||||||
|
group: munin
|
||||||
recurse: true
|
recurse: true
|
||||||
|
|
||||||
- name: Template apache config
|
- name: Template apache config
|
||||||
|
@ -49,13 +51,13 @@
|
||||||
notify: "restart munin"
|
notify: "restart munin"
|
||||||
|
|
||||||
- name: Enable or disable the munin cron job.
|
- name: Enable or disable the munin cron job.
|
||||||
lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
dest: /etc/cron.d/munin
|
dest: /etc/cron.d/munin
|
||||||
state: "{{ munin_cron_job }}"
|
state: "{{ munin_cron_job }}"
|
||||||
regexp: "^\\*/5 \\* \\* \\* \\*"
|
regexp: "^\\*/5 \\* \\* \\* \\*"
|
||||||
line: "*/5 * * * * munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi"
|
line: "*/5 * * * * munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi"
|
||||||
create: true
|
create: true
|
||||||
mode: 0644
|
mode: '0644'
|
||||||
|
|
||||||
# TODO mail config? wie senden?
|
# TODO mail config? wie senden?
|
||||||
# COPY munin_mail.conf /etc/munin/munin-conf.d/munin_mail.conf
|
# COPY munin_mail.conf /etc/munin/munin-conf.d/munin_mail.conf
|
||||||
|
|
Loading…
Reference in a new issue