summaryrefslogtreecommitdiff
path: root/puppet/modules/apache/manifests/munin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/apache/manifests/munin.pp')
-rw-r--r--puppet/modules/apache/manifests/munin.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/puppet/modules/apache/manifests/munin.pp b/puppet/modules/apache/manifests/munin.pp
new file mode 100644
index 00000000..46af1723
--- /dev/null
+++ b/puppet/modules/apache/manifests/munin.pp
@@ -0,0 +1,12 @@
+# manage apache monitoring things
+class apache::munin {
+ if $::osfamily == 'Debian' {
+ include perl::extensions::libwww
+ }
+
+ munin::plugin{ [ 'apache_accesses', 'apache_processes', 'apache_volume' ]: }
+ munin::plugin::deploy { 'apache_activity':
+ source => 'apache/munin/apache_activity',
+ seltype => 'munin_services_plugin_exec_t',
+ }
+}