"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/19-technical-concepts.md" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

19-technical-concepts.md  (icinga2-2.11.5):19-technical-concepts.md  (icinga2-2.12.0)
skipping to change at line 1377 skipping to change at line 1377
##### Permissions ##### Permissions
The receiver will not process messages from not configured endpoints. The receiver will not process messages from not configured endpoints.
Message updates will be dropped when: Message updates will be dropped when:
* Checkable does not exist. * Checkable does not exist.
* Origin endpoint's zone is not allowed to access this checkable. * Origin endpoint's zone is not allowed to access this checkable.
#### event::SetLastCheckStarted <a id="technical-concepts-json-rpc-messages-even
t-setlastcheckstarted"></a>
> Location: `clusterevents.cpp`
##### Message Body
Key | Value
----------|---------
jsonrpc | 2.0
method | event::SetLastCheckStarted
params | Dictionary
##### Params
Key | Type | Description
---------------------|-----------|------------------
host | String | Host name
service | String | Service name
last\_check\_started | Timestamp | Last check's start time as UNIX timestamp.
##### Functions
Event Sender: `Checkable::OnLastCheckStartedChanged`
Event Receiver: `LastCheckStartedChangedAPIHandler`
##### Permissions
The receiver will not process messages from not configured endpoints.
Message updates will be dropped when:
* Checkable does not exist.
* Origin endpoint's zone is not allowed to access this checkable.
#### event::SuppressedNotifications <a id="technical-concepts-json-rpc-messages- event-setsupressednotifications"></a> #### event::SuppressedNotifications <a id="technical-concepts-json-rpc-messages- event-setsupressednotifications"></a>
> Location: `clusterevents.cpp` > Location: `clusterevents.cpp`
##### Message Body ##### Message Body
Key | Value Key | Value
----------|--------- ----------|---------
jsonrpc | 2.0 jsonrpc | 2.0
method | event::SuppressedNotifications method | event::SuppressedNotifications
skipping to change at line 1411 skipping to change at line 1445
##### Permissions ##### Permissions
The receiver will not process messages from not configured endpoints. The receiver will not process messages from not configured endpoints.
Message updates will be dropped when: Message updates will be dropped when:
* Checkable does not exist. * Checkable does not exist.
* Origin endpoint's zone is not allowed to access this checkable. * Origin endpoint's zone is not allowed to access this checkable.
#### event::SetSuppressedNotificationTypes <a id="technical-concepts-json-rpc-me
ssages-event-setsuppressednotificationtypes"></a>
> Location: `clusterevents.cpp`
##### Message Body
Key | Value
----------|---------
jsonrpc | 2.0
method | event::SetSuppressedNotificationTypes
params | Dictionary
##### Params
Key | Type | Description
-------------------------|--------|------------------
notification | String | Notification name
supressed\_notifications | Number | Bitmask for suppressed notifications.
##### Functions
Event Sender: `Notification::OnSuppressedNotificationsChanged`
Event Receiver: `SuppressedNotificationTypesChangedAPIHandler`
##### Permissions
The receiver will not process messages from not configured endpoints.
Message updates will be dropped when:
* Notification does not exist.
* Origin endpoint's zone is not allowed to access this notification.
#### event::SetNextNotification <a id="technical-concepts-json-rpc-messages-even t-setnextnotification"></a> #### event::SetNextNotification <a id="technical-concepts-json-rpc-messages-even t-setnextnotification"></a>
> Location: `clusterevents.cpp` > Location: `clusterevents.cpp`
##### Message Body ##### Message Body
Key | Value Key | Value
----------|--------- ----------|---------
jsonrpc | 2.0 jsonrpc | 2.0
method | event::SetNextNotification method | event::SetNextNotification
skipping to change at line 1721 skipping to change at line 1788
##### Message Body ##### Message Body
Key | Value Key | Value
----------|--------- ----------|---------
jsonrpc | 2.0 jsonrpc | 2.0
method | event::ExecuteCommand method | event::ExecuteCommand
params | Dictionary params | Dictionary
##### Params ##### Params
Key | Type | Description Key | Type | Description
host | String | Host name. ---------------|---------------|------------------
service | String | Service name. host | String | Host name.
command\_type | String | `check_command` or `event_command`. service | String | Service name.
command | String | CheckCommand or EventCommand name. command\_type | String | `check_command` or `event_command`.
macros | Dictionary | Command arguments as key/value pairs for remote command | String | CheckCommand or EventCommand name.
execution. check\_timeout | Number | Check timeout of the checkable object, if speci
fied as `check_timeout` attribute.
macros | Dictionary | Command arguments as key/value pairs for remote
execution.
##### Functions ##### Functions
**Event Sender:** This gets constructed directly in `Checkable::ExecuteCheck()` or `Checkable::ExecuteEventHandler()` when a remote command endpoint is configur ed. **Event Sender:** This gets constructed directly in `Checkable::ExecuteCheck()` or `Checkable::ExecuteEventHandler()` when a remote command endpoint is configur ed.
* `Get{CheckCommand,EventCommand}()->Execute()` simulates an execution and extra cts all command arguments into the `macro` dictionary (inside lib/methods tasks) . * `Get{CheckCommand,EventCommand}()->Execute()` simulates an execution and extra cts all command arguments into the `macro` dictionary (inside lib/methods tasks) .
* When the endpoint is connected, the message is constructed and sent directly. * When the endpoint is connected, the message is constructed and sent directly.
* When the endpoint is not connected and not syncing replay logs and 5m after ap plication start, generate an UNKNOWN check result for the user ("not connected") . * When the endpoint is not connected and not syncing replay logs and 5m after ap plication start, generate an UNKNOWN check result for the user ("not connected") .
**Event Receiver:** `ExecuteCommandAPIHandler` **Event Receiver:** `ExecuteCommandAPIHandler`
 End of changes. 3 change blocks. 
7 lines changed or deleted 79 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)