icinga2/lib/icinga
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
..
CMakeLists.txt Clean up source lists in the CMakeLists.txt files 2018-01-03 11:47:46 +01:00
apiactions.cpp Add 'ttl' support for check result freshness via REST API 2018-01-15 13:54:11 +01:00
apiactions.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
apievents.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
apievents.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-check.cpp Add 'ttl' support for check result freshness via REST API 2018-01-15 13:54:11 +01:00
checkable-comment.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-dependency.cpp Apply clang-tidy fix 'modernize-use-auto' 2018-01-04 12:24:57 +01:00
checkable-downtime.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-event.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-flapping.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-notification.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable-script.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkable.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
checkable.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
checkable.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
checkcommand.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
checkcommand.hpp Add the final keyword to classes 2018-01-04 05:20:20 +00:00
checkcommand.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
checkresult.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkresult.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
checkresult.ti Add 'ttl' support for check result freshness via REST API 2018-01-15 13:54:11 +01:00
cib.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
cib.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
clusterevents.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
clusterevents.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
command.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
command.hpp Apply clang-tidy fix 'modernize-use-override' 2018-01-04 12:24:57 +01:00
command.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
comment.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
comment.hpp Apply clang-tidy fix 'modernize-use-override' 2018-01-04 12:24:57 +01:00
comment.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
compatutility.cpp Move CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature 2018-01-15 13:39:34 +01:00
compatutility.hpp Move CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature 2018-01-15 13:39:34 +01:00
customvarobject.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
customvarobject.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
customvarobject.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
dependency-apply.cpp Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
dependency.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
dependency.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
dependency.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
downtime.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
downtime.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
downtime.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
eventcommand.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
eventcommand.hpp Add the final keyword to classes 2018-01-04 05:20:20 +00:00
eventcommand.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
externalcommandprocessor.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
externalcommandprocessor.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
host.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
host.hpp Apply clang-tidy fix 'modernize-use-override' 2018-01-04 12:24:57 +01:00
host.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
hostgroup.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
hostgroup.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
hostgroup.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
i2-icinga.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
icinga-itl.conf Change copyright header for 2018 2018-01-02 12:08:55 +01:00
icingaapplication.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
icingaapplication.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
icingaapplication.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
legacytimeperiod.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
legacytimeperiod.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
macroprocessor.cpp Apply clang-tidy fix 'modernize-use-default-member-init' 2018-01-04 12:24:58 +01:00
macroprocessor.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
macroresolver.hpp Build libraries as static libraries 2018-01-02 23:29:48 +01:00
notification-apply.cpp Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
notification.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
notification.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
notification.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
notificationcommand.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
notificationcommand.hpp Add the final keyword to classes 2018-01-04 05:20:20 +00:00
notificationcommand.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
objectutils.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
objectutils.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
pluginutility.cpp Change copyright header for 2018 2018-01-02 12:08:55 +01:00
pluginutility.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
scheduleddowntime-apply.cpp Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
scheduleddowntime.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
scheduleddowntime.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
scheduleddowntime.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
service-apply.cpp Allocate ConfigItemBuilder objects on the stack 2018-01-11 10:52:26 +01:00
service.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
service.hpp Apply clang-tidy fix 'modernize-pass-by-value' 2018-01-04 12:24:57 +01:00
service.ti Build libraries as static libraries 2018-01-02 23:29:48 +01:00
servicegroup.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
servicegroup.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
servicegroup.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
timeperiod.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
timeperiod.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
timeperiod.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
user.cpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
user.hpp Avoid accessing attributes for validators where not necessary 2018-01-11 08:20:16 +01:00
user.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00
usergroup.cpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
usergroup.hpp Apply clang-tidy fix 'modernize-redundant-void-arg' 2018-01-04 12:24:57 +01:00
usergroup.ti Change copyright header for 2018 2018-01-02 12:08:55 +01:00