21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-26 22:10:50 +02:00
chexpire/config/chexpire.defaults.yml
Colin Darie 093c5f8e44
check_http: added --sni to defaults options
Closes #82
Probably fixes #74 too ?
2018-08-29 16:51:21 +02:00

57 lines
2.2 KiB
YAML

# DO NOT EDIT THIS FILE
#
# If you want override a value for any environment,
# create a `config/chexpire.yml` file,
# write your overrided keys under your environment namespace.
#
# Some keys are required to be overidden for your environment.
#
# Example:
#
# production:
# mailer_default_from: "contact@yourdomain.org"
# host: mychexpire.instance.org
default: &default
mailer_default_from: "from@example.org" # REQUIRED: Email will be sent with this address as From header
host: chexpire.local # REQUIRED: Host of the website.
interface:
consecutive_failures_as_error: 2 # number of consecutive failures before display a check as "in error" (value for interface only)
notifier:
interval: 0.00 # pause in second between each notification sent
consecutive_failures: 4 # number of consecutive failures before sending a notification for recurrent failures
checks_domain:
interval: 0.5 # pause in second between each whois call
long_term_interval: 300 # when last known expiry date exceeds this interval in days, whois verification won't happen every day
long_term_frequency: 4 # when last known expiry exceeds $long_term, perform whois verification each $long_term_frequency days instead of every day
checks_ssl:
interval: 0.0 # pause in second between each check http call
check_http_path: # defaults to check_http in $PATH
check_http_args: # array of arguments *appended* after defaults arguments (which are -C 0 --sni -H $HOSTNAME)
# example: check_http_args: ["-4", "-I 127.0.0.1"]
development:
<<: *default
host: "chexpire.local"
production:
<<: *default
action_mailer_config:
delivery_method: :sendmail
staging:
<<: *default
action_mailer_config:
delivery_method: :sendmail
test:
<<: *default
mailer_default_from: "testcontact@example.org"
host: localhost
checks_dummy:
interval: 0.0
long_term_interval: 60
long_term_frequency: 10