Merge pull request #10421 from Icinga/doc-08-advanced-topics-checkresult-state-ref

doc/08-advanced-topics.md: Reference CheckResult state
This commit is contained in:
Yonas Habteab 2025-05-12 10:36:44 +02:00 committed by GitHub
commit a53792df31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1181,7 +1181,7 @@ to represent its internal state. The following types are exposed via the [API](1
performance\_data | Array | Array of [performance data values](08-advanced-topics.md#advanced-value-types-perfdatavalue).
check\_source | String | Name of the node executing the check.
scheduling\_source | String | Name of the node scheduling the check.
state | Number | The current state (0 = OK, 1 = WARNING, 2 = CRITICAL, 3 = UNKNOWN).
state | Number | Current state according to the [check result state mapping](03-monitoring-basics.md#check-result-state-mapping).
command | Value | Array of command with shell-escaped arguments or command line string.
execution\_start | Timestamp | Check execution start time (as a UNIX timestamp).
execution\_end | Timestamp | Check execution end time (as a UNIX timestamp).