Skip to content

Commit

Permalink
Merge pull request #10071 from Icinga/add-missing-evs-docs
Browse files Browse the repository at this point in the history
Add missing `Object{created,deleted,modified}` docs
  • Loading branch information
Al2Klimov authored Jun 12, 2024
2 parents 1b86333 + 2432d1a commit c5c7925
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doc/12-icinga2-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,32 @@ Example for all object events:
timestamp | Timestamp | Unix timestamp when the event happened.
downtime | Dictionary | Serialized [Downtime](09-object-types.md#objecttype-downtime) object.

#### <a id="icinga2-api-event-streams-type-objectcreated"></a> Event Stream Type: ObjectCreated

| Name | Type | Description |
|--------------|-----------|----------------------------------------------------------------|
| type | String | Event type `ObjectCreated`. |
| timestamp | Timestamp | Unix timestamp when the event happened. |
| object\_type | String | Type of the newly created object, such as `Host` or `Service`. |
| object\_name | String | The full name of the object. |

#### <a id="icinga2-api-event-streams-type-objectmodified"></a> Event Stream Type: ObjectModified

| Name | Type | Description |
|--------------|-----------|-----------------------------------------------------------|
| type | String | Event type `ObjectModified`. |
| timestamp | Timestamp | Unix timestamp when the event happened. |
| object\_type | String | Type of the modified object, such as `Host` or `Service`. |
| object\_name | String | The full name of the object. |

#### <a id="icinga2-api-event-streams-type-objectdeleted"></a> Event Stream Type: ObjectDeleted

| Name | Type | Description |
|--------------|-----------|----------------------------------------------------------|
| type | String | Event type `ObjectDeleted`. |
| timestamp | Timestamp | Unix timestamp when the event happened. |
| object\_type | String | Type of the deleted object, such as `Host` or `Service`. |
| object\_name | String | The full name of the object. |

### Event Stream Filter <a id="icinga2-api-event-streams-filter"></a>

Expand Down

0 comments on commit c5c7925

Please sign in to comment.