summaryrefslogtreecommitdiffstats
path: root/modules/tozt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-03-10 05:21:36 -0400
committerJesse Luehrs <doy@tozt.net>2019-03-10 05:21:36 -0400
commit8c6e729626fccab3786d8b510ce0a439947275e0 (patch)
treedb981e87bb97c5bafc0878f104210ec18a33215e /modules/tozt
parent87b8269c96672ce15051520360b7b897fc8e2478 (diff)
downloadpuppet-tozt-8c6e729626fccab3786d8b510ce0a439947275e0.tar.gz
puppet-tozt-8c6e729626fccab3786d8b510ce0a439947275e0.zip
add cert age monitoring
Diffstat (limited to 'modules/tozt')
-rw-r--r--modules/tozt/files/munin-plugin-conf4
-rw-r--r--modules/tozt/manifests/monitoring.pp7
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/tozt/files/munin-plugin-conf b/modules/tozt/files/munin-plugin-conf
index 9dfc8b4..acc7bdc 100644
--- a/modules/tozt/files/munin-plugin-conf
+++ b/modules/tozt/files/munin-plugin-conf
@@ -9,3 +9,7 @@ user root
[package_updates]
user root
+
+[certbot]
+user root
+env.CERTBOT_CONFIG_DIR /media/persistent/certbot
diff --git a/modules/tozt/manifests/monitoring.pp b/modules/tozt/manifests/monitoring.pp
index 104cc1f..f6a61d3 100644
--- a/modules/tozt/manifests/monitoring.pp
+++ b/modules/tozt/manifests/monitoring.pp
@@ -3,6 +3,7 @@ class tozt::monitoring {
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",
@@ -72,4 +73,10 @@ class tozt::monitoring {
'package_updates',
]:
}
+
+ munin::plugin {
+ [
+ 'certbot',
+ ]:
+ }
}