diff options
Diffstat (limited to 'modules/tozt/manifests')
-rw-r--r-- | modules/tozt/manifests/monitoring.pp | 82 | ||||
-rw-r--r-- | modules/tozt/manifests/munin.pp | 20 |
2 files changed, 0 insertions, 102 deletions
diff --git a/modules/tozt/manifests/monitoring.pp b/modules/tozt/manifests/monitoring.pp index 93fb9ff..2007ab2 100644 --- a/modules/tozt/manifests/monitoring.pp +++ b/modules/tozt/manifests/monitoring.pp @@ -1,86 +1,4 @@ class tozt::monitoring { - include munin::node - include munin::duplicati - include munin::tarsnap - include munin::archlinux - include munin::certbot - - file { "/etc/munin/plugin-conf.d/tozt": - source => "puppet:///modules/tozt/munin-plugin-conf", - require => Package["munin-node"], - notify => Service["munin-node"]; - } - - munin::plugin { - [ - 'cpu', - 'df', - 'df_inode', - 'forks', - 'load', - 'memory', - 'ntp_offset', - 'processes', - 'swap', - 'threads', - 'uptime', - 'users', - 'vmstat', - ]: - } - - munin::plugin { - [ - 'fail2ban', - 'munin_stats', - 'munin_update', - ]: - } - - munin::plugin { - [ - 'if_algo', - 'if_eth0', - ]: - source => 'if_', - } - - munin::plugin { - [ - 'if_err_algo', - 'if_err_eth0', - ]: - source => 'if_err_', - } - - munin::plugin { - [ - 'duplicati_duration', - 'duplicati_file_count', - 'duplicati_file_size', - 'duplicati_last_run', - ]: - } - - munin::plugin { - [ - 'tarsnap', - 'tarsnap_last_run', - ]: - } - - munin::plugin { - [ - 'package_updates', - ]: - } - - munin::plugin { - [ - 'certbot', - ]: - } - include tick::client::base_plugins tick::client::plugin { "postgresql": diff --git a/modules/tozt/manifests/munin.pp b/modules/tozt/manifests/munin.pp deleted file mode 100644 index 52cf240..0000000 --- a/modules/tozt/manifests/munin.pp +++ /dev/null @@ -1,20 +0,0 @@ -class tozt::munin { - include munin - - secret { "/media/persistent/munin.htpasswd": - source => "munin", - owner => 'http', - require => [ - Class["tozt::persistent"], - Package['nginx'], - ]; - } - - nginx::site { - "munin-tls": - source => 'puppet:///modules/tozt/nginx/munin-tls.conf', - require => Class['certbot']; - "munin": - source => 'puppet:///modules/tozt/nginx/munin.conf'; - } -} |