diff options
Diffstat (limited to 'roles/install_monitoring/templates')
-rw-r--r-- | roles/install_monitoring/templates/munin-node.conf.j2 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/roles/install_monitoring/templates/munin-node.conf.j2 b/roles/install_monitoring/templates/munin-node.conf.j2 new file mode 100644 index 0000000..309833a --- /dev/null +++ b/roles/install_monitoring/templates/munin-node.conf.j2 @@ -0,0 +1,49 @@ +log_level 4 +log_file Sys::Syslog +pid_file /run/munin/munin-node.pid + +background 1 +setsid 1 + +user root +group root + +# This is the timeout for the whole transaction. +# Units are in sec. Default is 15 min +# +global_timeout 290 + +# This is the timeout for each plugin. +# Units are in sec. Default is 1 min +# +timeout 60 + +# 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 this if the client doesn't report the correct hostname when +# telnetting to localhost, port 4949 +# +host_name {{ ansible_nodename }} + +# A list of addresses that are allowed to connect. This must be a +# regular expression, since Net::Server does not understand CIDR-style +# network notation unless the perl module Net::CIDR is installed. You +# may repeat the allow line as many times as you'd like + +allow ^127\.0\.0\.1$ +allow ^2a01:4f8:151:13cd::35$ +allow ^::1$ + +# Which address to bind to; +host * + +# And which port +port 4949 + |