diff options
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_', + } +} |