icingadb/config.yml.example
Ravi Kumar Kempapura Srinivasa 73f4639d35 Document history retention configuration
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2022-03-22 15:55:04 +01:00

53 lines
1.5 KiB
Text

# This is the configuration file for Icinga DB.
database:
type: mysql
host: localhost
port: 3306
database: icingadb
user: icingadb
password: icingadb
redis:
address: localhost:6380
logging:
# Default logging level. Can be set to 'fatal', 'error', 'warn', 'info' or 'debug'.
# If not set, defaults to 'info'.
# level: info
# Logging output. Can be set to 'console' (stderr) or 'systemd-journald'.
# If not set, logs to systemd-journald when running under systemd, otherwise stderr.
# output:
# Interval for periodic logging defined as duration string.
# A duration string is a sequence of decimal numbers and a unit suffix, such as "20s".
# Valid units are "ms", "s", "m", "h".
# Defaults to "20s".
# interval: 20s
# Map of component-logging level pairs to define a different log level than the default value for each component.
options:
# config-sync:
# database:
# dump-signals:
# heartbeat:
# high-availability:
# history-retention:
# history-sync:
# overdue-sync:
# redis:
# runtime-updates:
history-retention:
# Number of days to retain historical data. By default, historical data is retained forever.
# days:
# Map of history category to number of days to retain its data in order to
# enable retention only for specific categories or to override the number that has been configured in days.
options:
# acknowledgement:
# comment:
# downtime:
# flapping:
# notification:
# state: