Update documentation for the log_duration attribute

fixes #11905
This commit is contained in:
Jens Schanz 2016-06-06 16:28:21 +02:00 committed by Gunnar Beutner
parent 98a03826dc
commit 244bdd97aa
1 changed files with 10 additions and 1 deletions

View File

@ -411,6 +411,15 @@ Example:
object Endpoint "icinga2b" {
host = "192.168.5.46"
port = 5665
log_duration = 1d
}
Example (disable replay log):
object Endpoint "icinga2b" {
host = "192.168.5.46"
port = 5665
log_duration = 0
}
Configuration Attributes:
@ -419,7 +428,7 @@ Configuration Attributes:
----------------|----------------
host |**Optional.** The hostname/IP address of the remote Icinga 2 instance.
port |**Optional.** The service name/port of the remote Icinga 2 instance. Defaults to `5665`.
log_duration |**Optional.** Duration for keeping replay logs on connection loss. Defaults to `1d`.
log_duration |**Optional.** Duration for keeping replay logs on connection loss. Defaults to `1d` (86400 seconds). Attribute is specified in seconds. If log_duration is set to 0, replaying logs is disabled. You could also specify the value in human readable format like `10m` for 10 minutes or `1h` for one hour.
## <a id="objecttype-eventcommand"></a> EventCommand