Skip to content
Snippets Groups Projects
munin-node.conf.j2 654 B
Newer Older
# Munin node configuration 
# Deployed with ansible

log_level 4
log_file {{ munin_node_logfile }}
pid_file {{ munin_node_pidfile }}

background 1
setsid 1

user root
group root

ignore_file [\#~]$
ignore_file DEADJOE$
ignore_file \.bak$
ignore_file %$
ignore_file \.dpkg-(tmp|new|old|dist)$
ignore_file \.rpm(save|new)$
ignore_file \.pod$
ignore_file ^if_(err_)*(veth|docker|br|lxcbr)

host_name {{ inventory_hostname }}.{{ customer_short_name }}

{% for host in groups['munin_server'] %}
allow ^{{ hostvars[host]['ansible_facts']['default_ipv4']['address'] | replace('.','\.') }}$
{% endfor %}
allow ^127\.0\.0\.1$
allow ^::1$

host 0.0.0.0
port 4949