summaryrefslogtreecommitdiff
path: root/roles/install_monitoring/templates/munin-node.conf.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 18:38:46 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 18:38:46 +0100
commitcd31d75443119be6580e91d5a9a3ab7742f875ab (patch)
tree0d12fe52bbb796969336dae613e66ca5f433aba4 /roles/install_monitoring/templates/munin-node.conf.j2
parent710a210ae6f165c2e3ce165d30d27f189311656b (diff)
updated setup_fastd.yml
added features: - fastd-services-api - install_nginx - install_monitoring
Diffstat (limited to 'roles/install_monitoring/templates/munin-node.conf.j2')
-rw-r--r--roles/install_monitoring/templates/munin-node.conf.j249
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
+