summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/munin.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-01-10 15:35:52 -0500
committerMicah Anderson <micah@riseup.net>2011-01-10 15:35:52 -0500
commit38cad6021d905c893e66eb2fab90e669ccf7087b (patch)
treefa9796ded3919318e4b6b927abf7041713755744 /manifests/puppetmaster/munin.pp
parent7712633da4e8a2accacde65f1197f5b9bd0252b4 (diff)
add a $use_munin variable to give a knob to turn on/off munin graphing.
add two new munin graphs for puppetmaster: one to graph the memory usage of the running puppetmasters; and one to graph the average compile time
Diffstat (limited to 'manifests/puppetmaster/munin.pp')
-rw-r--r--manifests/puppetmaster/munin.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/puppetmaster/munin.pp b/manifests/puppetmaster/munin.pp
new file mode 100644
index 0000000..4500b74
--- /dev/null
+++ b/manifests/puppetmaster/munin.pp
@@ -0,0 +1,9 @@
+class puppet::puppetmaster::munin {
+
+ munin::plugin::deploy {
+ [ 'puppetmaster_memory', 'puppet_clients' ]:
+ source => "puppet/munin/puppet_",
+ config => "user root"
+ }
+
+}