diff --git a/config.example.yml b/config.example.yml index 90fea96d3..a8e66b9a8 100644 --- a/config.example.yml +++ b/config.example.yml @@ -69,9 +69,15 @@ redis: # Defaults to '6380' as the RedisĀ® open source server provided by the 'icingadb-redis' package listens on that port. # port: 6380 - # Authentication password. + # Authentication username, requires a `password` being set as well. +# username: + + # Authentication password. May be used alone or together with a `username`. # password: + # Numerical database identifier, defaults to `0`. +# database: 0 + # Icinga DB logs its activities at various severity levels and any errors that occur either # on the console or in systemd's journal. The latter is used automatically when running under systemd. # In any case, the default log level is 'info'. diff --git a/doc/03-Configuration.md b/doc/03-Configuration.md index 093b9172b..46f1b89e4 100644 --- a/doc/03-Configuration.md +++ b/doc/03-Configuration.md @@ -15,7 +15,9 @@ therefore a dedicated Icinga DB instance that connects to it. |----------|-------------------------------------------------------------------------------------------------------------------------| | host | **Required.** Host name or address, or absolute Unix socket path. | | port | **Optional.** TCP port. Defaults to `6380` matching the RedisĀ® open source server port in the `icingadb-redis` package. | -| password | **Optional.** Authentication password. | +| username | **Optional.** Authentication username, requires a `password` being set as well. | +| password | **Optional.** Authentication password. May be used alone or together with a `username`. | +| database | **Optional.** Numerical database identifier, defaults to `0`. | | tls | **Optional.** Whether to use TLS. | | cert | **Optional.** Path to TLS client certificate. | | key | **Optional.** Path to TLS private key. |