# DO NOT EDIT - This file is being maintained by Chef # Configure logging log_level 4 log_file /var/log/munin/munin-node.log pid_file /var/run/munin/munin-node.pid # Run in the background background 1 setsid 1 # Run as root user root group root # Regexps for files to ignore 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$ # Set the hostname host_name <%= node.name %> # List on port 4949 on all interfaces host * port 4949 # List the addresses that are allowed to connect allow ^127\.0\.0\.1$ <% @servers.sort.each do |server| -%> allow ^<%= Regexp.quote(server) %>$ <% end -%> <% node[:munin][:allow].each do |address| -%> allow ^<%= Regexp.quote(address) %>$ <% end -%>