]> granicus.if.org Git - icinga2/commitdiff
Update documentation for MaxConcurrentChecks and concurrent_checks
authorNoah Hilverling <noah.hilverling@icinga.com>
Thu, 18 Jan 2018 14:20:23 +0000 (15:20 +0100)
committerNoah Hilverling <noah.hilverling@icinga.com>
Mon, 29 Jan 2018 13:50:24 +0000 (14:50 +0100)
refs #4841

doc/09-object-types.md
doc/17-language-reference.md

index 95e9dccbb8da72a4b9875e028dd9d6c66fd0bafe..cb8f35ccfe9e383740acf5ef23e1a99ff3c003b7 100644 (file)
@@ -247,16 +247,16 @@ This configuration object is available as [checker feature](11-cli-commands.md#c
 Example:
 
 ```
-object CheckerComponent "checker" {
-  concurrent_checks = 512
-}
+library "checker"
+
+object CheckerComponent "checker" { }
 ```
 
 Configuration Attributes:
 
   Name                      | Type                  | Description
   --------------------------|-----------------------|----------------------------------
-  concurrent\_checks        | Number                | **Optional.** The maximum number of concurrent checks. Defaults to 512.
+  concurrent\_checks        | Number                | **Optional and Deprecated.** The maximum number of concurrent checks. Was replaced by global constant `MaxConcurrentChecks` which will be set if you still use `concurrent_checks`.
 
 ## CheckResultReader <a id="objecttype-checkresultreader"></a>
 
index cf3934176f90729dfdb2bca48dc35d40ef20e380..93991a7a2cd109bb4ba03e0e438cf4ce44d9a26b 100644 (file)
@@ -398,6 +398,7 @@ PlatformKernelVersion|**Read-only.** The version of the operating system kernel,
 BuildCompilerName   |**Read-only.** The name of the compiler Icinga was built with, e.g. "Clang".
 BuildCompilerVersion|**Read-only.** The version of the compiler Icinga was built with, e.g. "7.3.0.7030031".
 BuildHostName       |**Read-only.** The name of the host Icinga was built on, e.g. "acheron".
+MaxConcurrentChecks |**Read-write**. The number of max checks run simultaneously. Defaults to 512.
 
 
 Advanced runtime constants. Please only use them if advised by support or developers.