Merge pull request #9259 from Icinga/bugfix/event-handler-spamming-8704

Checkable#ExecuteEventHandler(): don't outsource event command run twice
This commit is contained in:
Julian Brost 2022-02-25 16:51:31 +01:00 committed by GitHub
commit 9d3eba8383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void Checkable::ExecuteEventHandler(const Dictionary::Ptr& resolvedMacros, bool
ec->Execute(this, macros, useResolvedMacros);
if (endpoint) {
if (endpoint && !GetExtension("agent_check")) {
Dictionary::Ptr message = new Dictionary();
message->Set("jsonrpc", "2.0");
message->Set("method", "event::ExecuteCommand");