From c8935bf14f8cf53a2c066231de419f06b08fa409 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Thu, 21 Nov 2019 09:26:08 +0100 Subject: [PATCH] IcingaDB: Update Redis port to use Icinga-Redis --- doc/09-object-types.md | 4 ++-- etc/icinga2/features-available/icingadb.conf | 2 +- lib/icingadb/icingadb.ti | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/09-object-types.md b/doc/09-object-types.md index 6fa51301f..a2f26fdc1 100644 --- a/doc/09-object-types.md +++ b/doc/09-object-types.md @@ -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. diff --git a/etc/icinga2/features-available/icingadb.conf b/etc/icinga2/features-available/icingadb.conf index 9fe55ec8e..9951c8353 100644 --- a/etc/icinga2/features-available/icingadb.conf +++ b/etc/icinga2/features-available/icingadb.conf @@ -1,5 +1,5 @@ object IcingaDB "icingadb" { //host = "127.0.0.1" - //port = 6379 + //port = 6380 //password = "xxx" } diff --git a/lib/icingadb/icingadb.ti b/lib/icingadb/icingadb.ti index 7ffc80b09..c62bb4532 100644 --- a/lib/icingadb/icingadb.ti +++ b/lib/icingadb/icingadb.ti @@ -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;