From dc0193b4eadb915d0a236dd2162ef340aae3021c Mon Sep 17 00:00:00 2001 From: Patrick Dolinic Date: Tue, 1 Jun 2021 15:26:28 +0200 Subject: [PATCH] Docs: Change to reflect actual hoststate --- doc/12-icinga2-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/12-icinga2-api.md b/doc/12-icinga2-api.md index c903a71d5..10b5af5c3 100644 --- a/doc/12-icinga2-api.md +++ b/doc/12-icinga2-api.md @@ -1033,7 +1033,7 @@ Send a `POST` request to the URL endpoint `/v1/actions/process-check-result`. 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=UP, 1=DOWN. 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. check\_command | Array|String | **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. Alternativly a single string can be used.