mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6956 from Icinga/bugfix/doc-escape-pipe-symbol
Escape pipe symbol in api documentation
This commit is contained in:
commit
01befd7e32
|
@ -832,10 +832,10 @@ Process a check result for a host or a service.
|
||||||
Send a `POST` request to the URL endpoint `/v1/actions/process-check-result`.
|
Send a `POST` request to the URL endpoint `/v1/actions/process-check-result`.
|
||||||
|
|
||||||
Parameter | Type | Description
|
Parameter | Type | Description
|
||||||
------------------|--------------|--------------
|
------------------ | -------------- | --------------
|
||||||
exit\_status | Number | **Required.** For services: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN, for hosts: 0=OK, 1=CRITICAL.
|
exit\_status | Number | **Required.** For services: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN, for hosts: 0=OK, 1=CRITICAL.
|
||||||
plugin\_output | String | **Required.** One or more lines of the plugin main output. Does **not** contain the performance data.
|
plugin\_output | String | **Required.** One or more lines of the plugin main output. Does **not** contain the performance data.
|
||||||
performance\_data | Array|String | **Optional.** The performance data as array of strings. The raw performance data string can be used too.
|
performance\_data | Array<code>|</code>String | **Optional.** The performance data as array of strings. The raw performance data string can be used too.
|
||||||
check\_command | Array | **Optional.** The first entry should be the check commands path, then one entry for each command line option followed by an entry for each of its argument.
|
check\_command | Array | **Optional.** The first entry should be the check commands path, then one entry for each command line option followed by an entry for each of its argument.
|
||||||
check\_source | String | **Optional.** Usually the name of the `command_endpoint`
|
check\_source | String | **Optional.** Usually the name of the `command_endpoint`
|
||||||
execution\_start | Timestamp | **Optional.** The timestamp where a script/process started its execution.
|
execution\_start | Timestamp | **Optional.** The timestamp where a script/process started its execution.
|
||||||
|
|
Loading…
Reference in New Issue