send output to syslog
This commit is contained in:
parent
6587faf068
commit
e9c922fe0d
1 changed files with 4 additions and 4 deletions
|
@ -1,23 +1,23 @@
|
||||||
# Get first certificate!
|
# Get first certificate!
|
||||||
check program certbot_bootstrap
|
check program certbot_bootstrap
|
||||||
with path "/usr/local/bin/certbotd bootstrap"
|
with path "/usr/local/bin/syslogize certbotd bootstrap"
|
||||||
every 1 cycle
|
every 1 cycle
|
||||||
if status = 0 then unmonitor
|
if status = 0 then unmonitor
|
||||||
|
|
||||||
# Renew certificates once a week
|
# Renew certificates once a week
|
||||||
check program certbot_renew
|
check program certbot_renew
|
||||||
with path "/usr/local/bin/certbotd renew"
|
with path "/usr/local/bin/syslogize certbotd renew"
|
||||||
every "13 5 * * *"
|
every "13 5 * * *"
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
||||||
# Prune old keys
|
# Prune old keys
|
||||||
check program certbot_prune
|
check program certbot_prune
|
||||||
with path "/usr/local/bin/certbotd prune"
|
with path "/usr/local/bin/syslogize certbotd prune"
|
||||||
every "13 1 2 * *"
|
every "13 1 2 * *"
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
||||||
# Get missing certificates for every cycle.
|
# Get missing certificates for every cycle.
|
||||||
check program certbot
|
check program certbot
|
||||||
with path "/usr/local/bin/certbotd"
|
with path "/usr/local/bin/syslogize certbotd"
|
||||||
every 1 cycle
|
every 1 cycle
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
Loading…
Reference in a new issue