puppet: Add munin and munin-node config files.

(imported from commit fa9d7b191fe89894f61f4fd15cb7382663e34837)
This commit is contained in:
Jessica McKellar 2013-01-02 16:17:59 -05:00
parent d8cd78ec85
commit 9083b0f184
2 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1,53 @@
#
# Example config-file for munin-node
#
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
# 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 localhost.localdomain
# 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$
# If you have installed the Net::CIDR perl module, you can use one or more
# cidr_allow and cidr_deny address/mask patterns. A connecting client must
# match any cidr_allow, and not match any cidr_deny. Note that a netmask
# *must* be provided, even if it's /32
#
# Example:
#
# cidr_allow 127.0.0.1/32
# cidr_allow 192.0.2.0/24
# cidr_deny 192.0.2.42/32
# Which address to bind to;
#host *
host 127.0.0.1
# And which port
port 4949

View File

@ -0,0 +1,44 @@
# Configfile for Munin master
dbdir /var/lib/munin
htmldir /var/www/munin
logdir /var/log/munin
rundir /var/run/munin
[nagios]
address 127.0.0.1
use_node_name yes
[trac]
address 127.0.0.1
port 5000
use_node_name yes
[zmirror]
address 127.0.0.1
port 5001
use_node_name yes
[staging]
address 127.0.0.1
port 5002
use_node_name yes
[git]
address 127.0.0.1
port 5003
use_node_name yes
[bots]
address 127.0.0.1
port 5004
use_node_name yes
[app]
address 127.0.0.1
port 5005
use_node_name yes
[postgres]
address 127.0.0.1
port 5006
use_node_name yes