From 026f6d6f2ef41b6c656f165f7b40257c5ddab0e4 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 8 Nov 2017 10:17:05 +0100 Subject: [PATCH] Add documentation for new attributes in `Flapping` API event stream type --- doc/12-icinga2-api.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/doc/12-icinga2-api.md b/doc/12-icinga2-api.md index b22b2fccb..1f0d5b6bf 100644 --- a/doc/12-icinga2-api.md +++ b/doc/12-icinga2-api.md @@ -1300,15 +1300,18 @@ Example for all downtime events: #### Event Stream Type: Flapping - Name | Type | Description - --------------|---------------|-------------------------- - type | String | Event type `Flapping`. - timestamp | Timestamp | Unix timestamp when the event happened. - host | String | [Host](09-object-types.md#objecttype-host) name. - service | String | [Service](09-object-types.md#objecttype-service) name. Optional if this is a host flapping event. - state | Number | [Host](09-object-types.md#objecttype-host) or [service](09-object-types.md#objecttype-service) state. - state\_type | Number | [Host](09-object-types.md#objecttype-host) or [service](09-object-types.md#objecttype-service) state type. - is\_flapping | Boolean | Whether this object is flapping. + Name | Type | Description + ------------------|---------------|-------------------------- + type | String | Event type `Flapping`. + timestamp | Timestamp | Unix timestamp when the event happened. + host | String | [Host](09-object-types.md#objecttype-host) name. + service | String | [Service](09-object-types.md#objecttype-service) name. Optional if this is a host flapping event. + state | Number | [Host](09-object-types.md#objecttype-host) or [service](09-object-types.md#objecttype-service) state. + state\_type | Number | [Host](09-object-types.md#objecttype-host) or [service](09-object-types.md#objecttype-service) state type. + is\_flapping | Boolean | Whether this object is flapping. + current\_flapping | Number | Current flapping value in percent (added in 2.8). + threshold\_low | Number | Low threshold in percent (added in 2.8). + threshold\_high | Number | High threshold in percent (added in 2.8). #### Event Stream Type: AcknowledgementSet -- 2.50.1