From 19faa2a7550a2d8ce6b765f3831cb93bb94cc207 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Sun, 7 Oct 2012 22:24:54 +0200 Subject: [PATCH] Compat IDO: update documentation for reconnect_interval (refs #3207) --- docs/icinga2-config.txt | 12 ++++++++++-- icinga-app/config/icinga2.conf.dist | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/icinga2-config.txt b/docs/icinga2-config.txt index 9f5a6c354..659e4d21f 100644 --- a/docs/icinga2-config.txt +++ b/docs/icinga2-config.txt @@ -407,7 +407,7 @@ would be "checker", "delegation" and more. There are optional components which may not run on every operating system, such as "compat" or "compatido". -Example: +Example "compat": ------------------------------------------------------------------------------- local object Component "compat" { @@ -430,13 +430,14 @@ Specifies where Icinga 2 Compat component will put the objects.cache file, which be read by Icinga 1.x Classic UI and other addons. If not set, it defaults to the localstatedir location. -Example: +Example "compatido": ------------------------------------------------------------------------------- local object Component "compatido" { socket_address = "127.0.0.1", socket_port = "5668", instance_name = "i2-default", + reconnect_interval = 15, } ------------------------------------------------------------------------------- @@ -461,6 +462,13 @@ This is the instance name which Icinga 2 CompatIDO will use to identify itsself ido2db (same as idomod would use). Once set, do not change that unless knowing the consequences of data inconsistency. If not set, this will default to "i2-default". +Attribute: reconnect_interval +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Specifies the interval compatido will try to reconnect, if the connection to the +ido socket fails (ido2db drops out, and will require a reconnect handshake, +opening the socket and saying hello again). + Type: Logger ~~~~~~~~~~~~ diff --git a/icinga-app/config/icinga2.conf.dist b/icinga-app/config/icinga2.conf.dist index 9c066057f..7eb7da899 100644 --- a/icinga-app/config/icinga2.conf.dist +++ b/icinga-app/config/icinga2.conf.dist @@ -55,6 +55,7 @@ local object Component "compatido" { socket_address = "127.0.0.1", socket_port = "5668", instance_name = "i2-default", + reconnect_interval = 15, } */ -- 2.40.0