containers-certbot/monit.conf

24 lines
635 B
Plaintext
Raw Normal View History

2019-09-10 23:17:04 +00:00
# Get first certificate!
check program certbot_bootstrap
2022-09-10 21:28:27 +00:00
with path "/usr/local/bin/syslogize certbotd bootstrap"
2019-09-10 23:17:04 +00:00
every 1 cycle
if status = 0 then unmonitor
# Renew certificates once a week
check program certbot_renew
2022-09-10 21:28:27 +00:00
with path "/usr/local/bin/syslogize certbotd renew"
2019-09-10 23:17:04 +00:00
every "13 5 * * *"
if status != 0 then alert
2022-09-10 19:53:29 +00:00
# Prune old keys
check program certbot_prune
2022-09-10 21:28:27 +00:00
with path "/usr/local/bin/syslogize certbotd prune"
2022-09-10 19:53:29 +00:00
every "13 1 2 * *"
if status != 0 then alert
2019-09-10 23:17:04 +00:00
# Get missing certificates for every cycle.
check program certbot
2022-09-10 21:28:27 +00:00
with path "/usr/local/bin/syslogize certbotd"
2019-09-10 23:17:04 +00:00
every 1 cycle
if status != 0 then alert