From e9c922fe0d8493c82e524faf4886d1ac427ac45b Mon Sep 17 00:00:00 2001 From: f Date: Sat, 10 Sep 2022 18:28:27 -0300 Subject: [PATCH] send output to syslog --- monit.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/monit.conf b/monit.conf index 0874ccb..dda958b 100644 --- a/monit.conf +++ b/monit.conf @@ -1,23 +1,23 @@ # Get first certificate! check program certbot_bootstrap - with path "/usr/local/bin/certbotd bootstrap" + with path "/usr/local/bin/syslogize certbotd bootstrap" every 1 cycle if status = 0 then unmonitor # Renew certificates once a week check program certbot_renew - with path "/usr/local/bin/certbotd renew" + with path "/usr/local/bin/syslogize certbotd renew" every "13 5 * * *" if status != 0 then alert # Prune old keys check program certbot_prune - with path "/usr/local/bin/certbotd prune" + with path "/usr/local/bin/syslogize certbotd prune" every "13 1 2 * *" if status != 0 then alert # Get missing certificates for every cycle. check program certbot - with path "/usr/local/bin/certbotd" + with path "/usr/local/bin/syslogize certbotd" every 1 cycle if status != 0 then alert