icinga2/lib
Michael Friedrich 211a07f49a Add 'ttl' support for check result freshness via REST API
The `process-check-result` action can now optionally set the
`ttl` parameter. This overrules the configured freshness
check (check_interval).

The main idea behind this is to allow the external sender
to specify when the next check result is coming in.

For example, a backup script which should be run every
24h can specify the exact expected next check result.

The addition to the CheckResult class is necessary to
forward the check result throughout the cluster and
calculate the `next_check` value on each node. This
allows us to send in a check result on a satellite,
and the master determines the freshness and possible
notifications/state changes for Icinga Web 2.
2018-01-15 13:54:11 +01:00
..
base Merge pull request #5969 from Icinga/feature/wq-stats-mutex 2018-01-11 13:38:40 +01:00
checker Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
cli Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
compat Eliminate time(NULL) in StatusDataWriter 2018-01-15 13:39:34 +01:00
config Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
db_ido Remove obsolete locks in Livestatus; apply style guide to DB IDO 2018-01-15 13:39:34 +01:00
db_ido_mysql Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
db_ido_pgsql Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
icinga Add 'ttl' support for check result freshness via REST API 2018-01-15 13:54:11 +01:00
livestatus Remove obsolete locks in Livestatus; apply style guide to DB IDO 2018-01-15 13:39:34 +01:00
methods Fix non-unity builds with the icinga check 2018-01-12 11:04:54 +01:00
mysql_shim Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
notification Apply clang-tidy fix 'modernize-use-override' 2018-01-04 12:24:57 +01:00
perfdata GelfWriter should write the host notification output 2018-01-15 13:39:34 +01:00
pgsql_shim Change a bunch more copyright headers for 2018 2018-01-08 18:05:12 +01:00
remote Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
CMakeLists.txt Remove libdemo and libhello 2018-01-11 13:29:11 +01:00