IcingaDB: Update Redis port to use Icinga-Redis

This commit is contained in:
Noah Hilverling 2019-11-21 09:26:08 +01:00
parent c231123130
commit c8935bf14f
3 changed files with 4 additions and 4 deletions

View File

@ -1389,7 +1389,7 @@ Example:
```
object IcingaDB "icingadb" {
//host = "127.0.0.1"
//port = 6379
//port = 6380
//password = "xxx"
}
```
@ -1399,7 +1399,7 @@ Configuration Attributes:
Name | Type | Description
--------------------------|-----------------------|----------------------------------
host | String | **Optional.** Redis host for IcingaDB. Defaults to `127.0.0.1`.
port | Number | **Optional.** Redis port for IcingaDB. Defaults to `6379`.
port | Number | **Optional.** Redis port for IcingaDB. Defaults to `6380`.
path | String | **Optional.** Redix unix socket path. Can be used instead of `host` and `port` attributes.
password | String | **Optional.** Redis auth password for IcingaDB.

View File

@ -1,5 +1,5 @@
object IcingaDB "icingadb" {
//host = "127.0.0.1"
//port = 6379
//port = 6380
//password = "xxx"
}

View File

@ -13,7 +13,7 @@ class IcingaDB : ConfigObject
default {{{ return "127.0.0.1"; }}}
};
[config] int port {
default {{{ return 6379; }}}
default {{{ return 6380; }}}
};
[config] String path;
[config] String password;