Merge pull request #7641 from Icinga/feature/icingadb-change-redis-port

IcingaDB: Update Redis port to use Icinga-Redis
This commit is contained in:
Michael Friedrich 2019-11-21 10:34:32 +01:00 committed by GitHub
commit 7849da0b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;