summaryrefslogtreecommitdiffstats
path: root/modules/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-07-10 18:52:29 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-10 18:52:29 -0400
commitc09749a3430d4a64501ea4900d662cd565cfeadb (patch)
tree15e89963397cdea52d598691e3faa42825f3400b /modules/tozt
parent311f3c1e1cff394feacc93bb92334906c4b9daca (diff)
downloadpuppet-tozt-c09749a3430d4a64501ea4900d662cd565cfeadb.tar.gz
puppet-tozt-c09749a3430d4a64501ea4900d662cd565cfeadb.zip
remove munin
Diffstat (limited to 'modules/tozt')
-rw-r--r--modules/tozt/manifests/monitoring.pp82
-rw-r--r--modules/tozt/manifests/munin.pp20
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';
- }
-}