diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-28 05:22:07 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-28 05:22:07 -0500 |
commit | 5f11ef2c2ef56a456758c376efa1df4a4d9cae30 (patch) | |
tree | f2b9a383feea93307d075ceb671420f20f9d0113 /modules/tozt/manifests/monitoring.pp | |
parent | 3b1db8c6d35bf950745c35cf324518e486c2be6f (diff) | |
download | puppet-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.pp | 48 |
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_', + } +} |