]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
More munin plugins
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Jun 2013 18:55:15 +0000 (15:55 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 5 Jun 2013 18:55:15 +0000 (15:55 -0300)
manifests/role/mail.pp
manifests/role/proxy.pp
manifests/subsystem/mail.pp

index 255588acf3dabf0d6bc0c2331385ec793bfdd7ab..03e7262d6486059504585afbd24b401ee3739a9f 100644 (file)
@@ -1,3 +1,8 @@
 class nodo::role::mail {
   class { [ 'nodo::role::vserver', 'mail::system' ]: }
+
+  # Graph postfix
+  munin::plugin { [ 'postfix_mailqueue', 'postfix_mailstats', 'postfix_mailvolume' ]:
+    ensure => present,
+  }
 }
index 7852bef9a2d46fc1b8ca13db70b8f52865e41abc..5af7f5b02d5cc1707c850e93089de517f3aa54f7 100644 (file)
@@ -1,3 +1,8 @@
 class nodo::role::proxy inherits nodo::base::vserver {
   include nginx
+
+  # Graph nginx
+  munin::plugin { [ 'nginx_request', 'nginx_status' ]:
+    ensure => present,
+  }
 }
index 12c7e4bb1b62bc6833b2450b98c44bc65d5ecbb8..dfd296bc05d47e64e4d3d66b6f83298640764e15 100644 (file)
@@ -9,6 +9,12 @@ class nodo::subsystem::mail {
       }
     }
     'postfix': { }
-    '','exim',default: { include exim::tls }
+    '','exim',default: {
+        include exim::tls
+
+        #munin::plugin { [ 'exim_mailqueue', 'exim_mailstats' ]:
+        #  ensure => present,
+        #}
+     }
   }
 }