The function does not support parsing multiple values at once but instead
generates labels like "foo=1 bar":
Icinga 2 (version: v2.13.0-729-g8fe957bc2)
Type $help to view available commands.
<1> => parse_performance_data("foo=1 bar=2")
{
counter = false
crit = null
label = "foo=1 bar"
max = null
min = null
type = "PerfdataValue"
unit = ""
value = 2.000000
warn = null
}
While a function with the documented behavior would probably be more useful,
that change can't be made in a compatible way as this would have to change the
return type from PerfdataValue to Array.
This commit adds documentation for
* custom attributes value types and nested dictionaries
* better introduction into apply rules and usage examples
* better apply for iterations and explanations
* notifications with users on the host/service objects explained in a dedicated chapter
* command arguments and set_if - which values are supported
* macro() as scoped function
* alternative host check command
This also changes all code and config snippets to use
three backticks instead of four spaces indent.
fixes#5663fixes#5664fixes#5665fixes#5666fixes#5667fixes#5186fixes#5060fixes#5662
* Rename files to allow easy ordering
* Update links inside markdown according to new file names
* Move HTML links (<a>...</a>) to the end of the header lines
* This is necessary to allow mkdocs to parse headers correctly and display them in the TOC
* Following sed command was used: sed -i .bu 's/\(<a.*a>\) \(.*\)/\2 \1/g' $filename
Also apply a new structure.
Deleted the old cluster and client documentation and started "fresh".
This commit also includes various images used in the newly written
"Distributed Monitoring" chapter for better understanding.
fixes#12386