summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/monitoring.pp
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-12-28 05:22:07 -0500
committerJesse Luehrs <doy@tozt.net>2018-12-28 05:22:07 -0500
commit5f11ef2c2ef56a456758c376efa1df4a4d9cae30 (patch)
treef2b9a383feea93307d075ceb671420f20f9d0113 /modules/tozt/manifests/monitoring.pp
parent3b1db8c6d35bf950745c35cf324518e486c2be6f (diff)
downloadpuppet-tozt-5f11ef2c2ef56a456758c376efa1df4a4d9cae30.tar.gz
puppet-tozt-5f11ef2c2ef56a456758c376efa1df4a4d9cae30.zip
configure munin for partofme also
Diffstat (limited to 'modules/tozt/manifests/monitoring.pp')
-rw-r--r--modules/tozt/manifests/monitoring.pp48
1 files changed, 48 insertions, 0 deletions
diff --git a/modules/tozt/manifests/monitoring.pp b/modules/tozt/manifests/monitoring.pp
new file mode 100644
index 0000000..2771ff0
--- /dev/null
+++ b/modules/tozt/manifests/monitoring.pp
@@ -0,0 +1,48 @@
+class tozt::monitoring {
+ include munin::node
+
+ munin::plugin {
+ [
+ 'cpu',
+ 'df',
+ 'df_inode',
+ 'entropy',
+ 'forks',
+ 'fw_packets',
+ 'interrupts',
+ 'irqstats',
+ 'load',
+ 'memory',
+ 'munin_stats',
+ 'ntp_kernel_err',
+ 'ntp_kernel_pll_freq',
+ 'ntp_kernel_pll_off',
+ 'ntp_offset',
+ 'open_files',
+ 'open_inodes',
+ 'proc_pri',
+ 'processes',
+ 'swap',
+ 'threads',
+ 'uptime',
+ 'users',
+ 'vmstat',
+ ]:
+ }
+
+ munin::plugin {
+ [
+ 'if_algo',
+ 'if_eth0',
+ ]:
+ source => 'if_',
+ }
+
+ munin::plugin {
+ [
+ 'if_err_algo',
+ 'if_err_eth0',
+ ]:
+ source => 'if_err_',
+ }
+}