12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- {% if ansible_prolog -%}
- {% from 'templates/ansible/prolog.j2' import prolog with context %}
- {{ prolog() }}
- {% endif -%}
- log_level 4
- log_file /var/log/munin/munin-node.log
- pid_file /var/run/munin/munin-node.pid
- background 1
- setsid 1
- user root
- group root
- {% if ansible_lsb.codename != 'lenny' and ansible_lsb.codename != 'squeeze' %}
- ignore_file [\#~]$
- {% endif %}
- ignore_file DEADJOE$
- ignore_file \.bak$
- ignore_file %$
- ignore_file \.dpkg-(tmp|new|old|dist)$
- ignore_file \.rpm(save|new)$
- ignore_file \.pod$
- host_name {{ ansible_fqdn }}
- allow ^127\.0\.0\.1$
- allow ^::1$
- {% if munin_masters is defined %}
- {% for master in munin_masters %}
- cidr_allow {{ master }}
- {% endfor %}
- {% endif %}
- host *
- port 4949
- {% if munin_node_timeout is defined %}
- timeout = {{ munin_node_timeout }}
- {% endif %}
|