mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #9260 from Icinga/bugfix/event-handler-spamming-8704-213
Checkable#ExecuteEventHandler(): don't outsource event command run twice
This commit is contained in:
commit
53a389769c
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user