Alexander A. Klimov
657850c74b
LivestatusQuery#Execute(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
0f5714fda6
LivestatusQuery#ExecuteCommandHelper(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
bdd3e3875a
ExternalCommandProcessor::ProcessFile(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
931c1fab6b
ExternalCommandProcessor::ExecuteFromFile(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
4ea07bd880
ExternalCommandProcessor::Execute(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
8dfa24fcec
ExternalCommandProcessor::RegisterCommand(): allow callback to take a CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
ade302a08b
ExternalCommandProcessor::Process*CheckResult(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
0c91e8f09b
ClusterEvents::ExecuteCheckFromQueue(): take ApiListener::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
9b82505295
Checkable#ExecuteCheck(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
bd4110db5e
CheckCommand#Execute(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
8e6061f11e
IcingadbCheck::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
bd95cdb468
IdoCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
de6270ab78
SleepCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
4a553a9fff
RandomCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
a14ac3f41e
PluginCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
fca4b185c1
NullCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
8c1c38cf3e
IfwApiCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
dbc08502f5
IcingaCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
02f90908ee
ExceptionCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
ca02291795
DummyCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
bb4a9d1192
ClusterZoneCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
34cf122c8e
ClusterCheckTask::ScriptFunc(): take CheckResultProducer::Ptr
2025-04-07 14:42:21 +02:00
Alexander A. Klimov
c124f4beef
*#Stop(): wait for own Checkable#ProcessCheckResult()s to finish
2025-04-07 14:42:17 +02:00
Alexander A. Klimov
23c2365115
Checkable#ProcessCheckResult(): discard CR or delay its producers shutdown
2025-04-02 11:23:17 +02:00
Alexander A. Klimov
84cb9d8371
mkclass: inherit from Object like this: class T : virtual public Object
...
This allows .ti classes multiple inheritance from Object.
2025-03-28 15:21:24 +01:00
Julian Brost
061338156c
Merge pull request #10345 from Icinga/remove-child-downtimes
...
ApiActions: Remove child downtimes recursively
2025-03-21 16:37:43 +01:00
Alexander Aleksandrovič Klimov
adde9cc53b
Merge pull request #10222 from Icinga/Registry-cleanup
...
Clean up Registry class
2025-03-21 11:00:49 +01:00
Alexander Aleksandrovič Klimov
469f94e549
Merge pull request #10369 from Icinga/cflags
...
GHA: Linux: use the C(++) flags recommended by each respective distro
2025-03-20 16:57:21 +01:00
Richard Mortimer
63926c6e0d
Process: Clean up process table entry even when kill(2)
fails with ESRCH
( #10375 )
...
* Icinga daemon leaves zombie processes on very busy system
On a very heavily loaded system the process group kill can
be delayed until after the regular TERM signal has caused
the process to exit. In this situation the waitpid call
is valid and reaps the zombie process that would otherwise
be left behind.
* Update AUTHORS file
2025-03-18 11:29:00 +01:00
Alexander A. Klimov
a9e9e14fce
Remove unused Registry#Clear()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
4d7361527c
Remove unused Registry#RegisterIfNew()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
07b274ec45
Remove unused Registry#Unregister()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
402a6bbf40
Remove unused EventQueue::Unregister()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
d19c0637ee
Remove unused EventQueue::UnregisterIfUnused()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
41f61ccba4
Remove unused ApiFunction::Unregister()
2025-03-18 11:22:56 +01:00
Alexander A. Klimov
cce03c5903
Remove unused ApiAction::Unregister()
2025-03-18 11:22:56 +01:00
Yonas Habteab
5e902fe4a7
Merge pull request #10380 from Icinga/sync-notified-problem-users-correctly
...
ClusterEvents: Sync & process notification `notified_problem_users`
2025-03-18 10:27:28 +01:00
Yonas Habteab
3083a32bc6
Merge pull request #10301 from Icinga/ssl-shutdown-new-client-handler
...
ApiListener: Simplify deferred SSL shutdown in `NewClientHandlerInter…
2025-03-17 13:12:03 +01:00
Yonas Habteab
a904f4bf4b
Merge pull request #10381 from Icinga/enable-dependabot
...
Enable dependabot for GitHub Actions
2025-03-17 12:16:30 +01:00
Yonas Habteab
55885e0cd9
Enable dependabot for GitHub Actions
2025-03-17 10:09:37 +01:00
Yonas Habteab
66cc6a4d8a
ClusterEvents: Sync & process notification notified_problem_users
2025-03-14 14:13:55 +01:00
Yonas Habteab
3d761c0296
ApiActions: Remove child downtimes recursively
...
Services downtimes scheduled via the `all_services` flag get already
removed automatically when removing their parent downtimes (introduced
with #8913 ). Now, this commit makes it possible to perform the same actions
for all child downtimes, i.e. not only for those of service objects, but
for all child objects represented in the dependency tree.
2025-03-13 12:13:45 +01:00
Yonas Habteab
fa63fda75b
ApiListener: Simplify deferred SSL shutdown in NewClientHandlerInternal()
2025-03-13 12:12:28 +01:00
Yonas Habteab
8714f72d65
Merge pull request #10368 from Icinga/GHAdeb32
...
GitHub actions: also test the still packaged 32-bit Debian
2025-03-12 16:03:39 +01:00
Julian Brost
e6ad2199fc
Merge pull request #10360 from Icinga/dependency-cycle-detection
...
Rework dependency cycle detection
2025-03-12 15:58:44 +01:00
Alexander A. Klimov
f418d29379
GHA: Linux: use the C(++) flags recommended by each respective distro
2025-03-12 14:22:04 +01:00
Alexander A. Klimov
4227d427da
.github/workflows/linux.bash: make $CMAKE_OPTS an array
...
to have less to care about quoting.
2025-03-12 12:00:30 +01:00
Yonas Habteab
84f719ee4f
Merge pull request #10373 from Icinga/Al2Klimov-patch-8
...
GitHub actions: run ninja with -v
2025-03-12 11:57:40 +01:00
Julian Brost
8e7e687b96
Unify depependency cycle check code.
...
This commit removes a distinction in how dependency objects are checked for
cycles in the resulting graph depending on whether they are part of the
initially loaded configuration during process startup or as part of a runtime
update.
The DependencyCycleChecker helper class is extended with a mechanism that
allows additional dependencies to be considered during the cycle search. This
allows using it to check for cycles before actually registering the
dependencies with the checkables.
The aforementioned case-distinction for initial/runtime-update config is
removed by making use of the newly added BeforeOnAllConfigLoaded signal to
perform the cycle check at once for each batch of dependencies inside
ConfigItem::CommitNewItems() for both cases now. During the initial config
loading, there can be multiple batches of dependencies as objects from apply
rules are created separately, so parts of the dependency graph might be visited
multiple times now, however that is limited to a minimum as only parts of the
graph that are reachable from the newly added dependencies are searched.
2025-03-12 11:53:30 +01:00
Julian Brost
c1b270f39f
Rework dependency cycle check
...
This commit groups a bunch of structs and static functions inside
dependency.cpp into a new DependencyCycleChecker helper class. In the process,
the implementation was changed a bit, the behavior should be unchanged except
for a more user-friendly error message in the exception.
2025-03-12 11:53:30 +01:00