]> granicus.if.org Git - icinga2/commitdiff
Compat IDO: update documentation for reconnect_interval (refs #3207)
authorMichael Friedrich <michael.friedrich@gmail.com>
Sun, 7 Oct 2012 20:24:54 +0000 (22:24 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Sun, 7 Oct 2012 20:24:54 +0000 (22:24 +0200)
docs/icinga2-config.txt
icinga-app/config/icinga2.conf.dist

index 9f5a6c354992bf696a668afe71010741bca4c315..659e4d21f7c956aace0910443cdab5b7c6bf21b6 100644 (file)
@@ -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
 ~~~~~~~~~~~~
index 9c066057feedd81c974effc0bb1af3f4a7301233..7eb7da899e63515620e8433410eca8d807489818 100644 (file)
@@ -55,6 +55,7 @@ local object Component "compatido" {
   socket_address = "127.0.0.1",
   socket_port = "5668",
   instance_name = "i2-default",
+  reconnect_interval = 15,
 }
 */