a few more munin plugins, although I dislike the placement of the spamassassin one
authorStephen Gran <steve@lobefin.net>
Sat, 17 Oct 2009 18:43:56 +0000 (19:43 +0100)
committerStephen Gran <steve@lobefin.net>
Sat, 17 Oct 2009 18:43:56 +0000 (19:43 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/manifests/init.pp
modules/munin-node/manifests/apache.pp
modules/munin-node/manifests/init.pp

index 3ea3be6..0b5f7d6 100644 (file)
@@ -1,5 +1,6 @@
 class exim {
     activate_munin_check {
+            "ps_exim4": script => "ps_";
             "exim_mailqueue":;
             "exim_mailstats":;
             "postfix_mailqueue":  ensure => absent;
index df0171e..2293c51 100644 (file)
@@ -3,6 +3,7 @@ class munin-node::apache inherits munin-node {
                 "apache_accesses":;
                 "apache_processes":;
                 "apache_volume":;
+                "apache_servers":;
                 "ps_apache2": script => "ps_";
         }
 }
index 4e2bec2..d6336c8 100644 (file)
@@ -46,6 +46,12 @@ class munin-node {
         "vmstat":;
     }
 
+    case $spamd {
+        "true": {
+              activate_munin_check { "spamassassin":; }
+        }
+    }
+
     file {
         "/etc/munin/munin-node.conf":
             source  => [ "puppet:///munin-node/per-host/$fqdn/munin-node.conf",