Commit 50fcd4eb authored by Jonathan Michalon's avatar Jonathan Michalon

Install new report options

parent 7f38484d
...@@ -21,6 +21,9 @@ config.install_attr('emails.addr_from', ...@@ -21,6 +21,9 @@ config.install_attr('emails.addr_from',
config.install_attr('emails.smtp_host', 'localhost:25') config.install_attr('emails.smtp_host', 'localhost:25')
# The inactive timeout after which to close the SMTP connection # The inactive timeout after which to close the SMTP connection
config.install_attr('emails.smtp_keepalive_timeout', 60) config.install_attr('emails.smtp_keepalive_timeout', 60)
# Interval in seconds between global reports when some checks are in error
# 0 disables reports
config.install_attr('emails.report.every', 0)
# Subject template for state change email notifications # Subject template for state change email notifications
# available substitutions: # available substitutions:
...@@ -30,3 +33,5 @@ config.install_attr('emails.smtp_keepalive_timeout', 60) ...@@ -30,3 +33,5 @@ config.install_attr('emails.smtp_keepalive_timeout', 60)
# parameter) # parameter)
config.install_attr('emails.subject_tpl', config.install_attr('emails.subject_tpl',
'[DOMAIN] {state}: {check} on {dest}') '[DOMAIN] {state}: {check} on {dest}')
# 0 disables reports
config.install_attr('emails.report.subject', '[DOMAIN] Picomon error report')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment