Commit graph

16 commits

Author SHA1 Message Date
Johannes Meyer
1a23a6b3cc IcingaRedis: Use the new singleton instead 2024-12-17 16:33:05 +01:00
Sukhwinder Dhillon
2642030e3b VolatileStateResults: Properly apply state changes in case of DependecyNode
- Use host behaviors for sevice hosts. Previously, the service behaviors was used.
2024-11-19 17:58:03 +01:00
raviks789
cd70de4c1c
VolatileStateResults: Add support for DependendencyNode objects 2024-10-31 09:46:52 +01:00
Johannes Meyer
20212a0f87 VolatileStateResults: Properly handle missing host details 2024-07-24 17:01:07 +02:00
Johannes Meyer
333c94f589 VolatileStateResults: Fetch individual redis results..
..if the cache is disabled.
2023-09-08 16:49:55 +02:00
Sukhwinder Dhillon
49a8455f19 VolatileStateResults::current(): Add required attribute #[\ReturnTypeWillChange] 2023-09-05 14:26:43 +02:00
Johannes Meyer
90a68788f9 IcingaRedis: Introduce fetchHostState and fetchServiceState..
..as well as `isUnavailable`. Transferred from `VolatileStateResults`
to be re-used outside of it.
2023-08-09 10:53:28 +02:00
Johannes Meyer
6f6defc2e6 VolatileStateResults: Don't reapply commandline values if not permitted 2023-06-22 13:32:32 +02:00
Johannes Meyer
911d99c39e VolatileStateResults: Transform state_type by ourselves for now 2022-06-30 11:17:12 +02:00
Johannes Meyer
4f08db3c01 VolatileStateResults: Don't override is_overdue
refs #566
2022-06-29 13:26:08 +02:00
Johannes Meyer
bf0d11ff37 VolatileStateResults: Don't fail completely if redis is unavailable 2022-06-29 12:40:43 +02:00
Yonas Habteab
9f2f4155b6 Redis: Apply volatile state results directly to the state model
Since all the inconsistent column/redis key names have been renamed, we don't have to cache redis
keys separately anymore. This PR applies all the `Service/Host` volatile state results directly
to the respective state model.
2022-06-29 12:38:28 +02:00
Eric Lippmann
9abc3b4d8f Stop using Resolver without a Query 2022-04-07 16:05:29 +02:00
Johannes Meyer
649803b1cb Ensure Return Type Compatibility with Internal Classes 2022-03-24 14:16:42 +01:00
Johannes Meyer
46c464e3bf VolatileStateResults: Prevent loops and handle empty results 2021-10-08 16:22:24 +02:00
Johannes Meyer
9cb6977b8e Introduce new class Icinga\Module\Icingadb\Redis\VolatileStateResults 2021-10-08 15:36:36 +02:00