]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Munin performance config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 12:50:47 +0000 (09:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Mar 2014 12:50:47 +0000 (09:50 -0300)
manifests/subsystem/monitor/master.pp

index faddb5557f61d101e4a57a35907a83d954207e4c..d2e32dbc6d8e00ca3ad279578a6e4f724cd74984 100644 (file)
@@ -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,