mirror of https://github.com/Icinga/icinga2.git
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:
commit
9d3eba8383
|
@ -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…
Reference in New Issue