summaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-24 02:38:05 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-04 16:32:25 -0400
commit8248275d4e015042a89e3a3d95765193641bfda1 (patch)
tree578e5a8b3c1af6f30e82067a44886e888f34c612 /modules/mail
parentf7cb87b82615fbb0d4d6b63f709692e9732aeabf (diff)
downloadpuppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.tar.gz
puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.zip
add tick stack stuff
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/manifests/monitoring.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/mail/manifests/monitoring.pp b/modules/mail/manifests/monitoring.pp
index a3c7728..a6c740b 100644
--- a/modules/mail/manifests/monitoring.pp
+++ b/modules/mail/manifests/monitoring.pp
@@ -78,4 +78,26 @@ class mail::monitoring {
'mail_count',
]:
}
+
+ tick::client::plugin {
+ "cpu":
+ opts => {
+ percpu => true,
+ totalcpu => true,
+ collect_cpu_time => false,
+ report_active => false,
+ };
+ "disk":
+ opts => {
+ ignore_fs => ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"],
+ };
+ [
+ "diskio",
+ "kernel",
+ "mem",
+ "processes",
+ "swap",
+ "system",
+ ]:
+ }
}