aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-11 09:50:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-11 09:50:47 -0300
commit5df4803cceee1811e265932956fdca8064af46e1 (patch)
tree4f5bc9fffdfa786b0f2e25103456064a67aaa426
parent824e603cb2679b8e76a37a5fa0822f11d0244bfc (diff)
downloadpuppet-nodo-5df4803cceee1811e265932956fdca8064af46e1.tar.gz
puppet-nodo-5df4803cceee1811e265932956fdca8064af46e1.tar.bz2
Munin performance config
-rw-r--r--manifests/subsystem/monitor/master.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp
index faddb55..d2e32db 100644
--- a/manifests/subsystem/monitor/master.pp
+++ b/manifests/subsystem/monitor/master.pp
@@ -13,10 +13,18 @@ class nodo::subsystem::monitor::master {
default => 'absent',
}
+ # See http://www.jethrocarr.com/2012/05/26/munin-performance/
+ file { "munin_graph_performance":
+ ensure => $ensure,
+ path => "/var/lib/puppet/modules/munin/nodes/00-performance",
+ content => "max_graph_jobs 1\n max_cgi_graph_jobs 1\nfork no\n",
+ }
+
#
# See https://raymii.org/s/tutorials/Munin_optimalization_on_Debian.html
# https://munin.readthedocs.org/en/latest/master/rrdcached.html
# http://kuszelas.eu/~eyck/log/Howto/Munin.Rrdcached.html
+ # http://munin-monitoring.org/wiki/rrdcached
#
package { 'rrdcached':
ensure => $ensure,