mirror of https://github.com/Icinga/icinga2.git
Make sure we don't evaluate apply rules for fake hosts used in agent checks
fixes #8117
This commit is contained in:
parent
9181d7ae05
commit
139540b570
|
@ -1585,10 +1585,6 @@ Value ApiEvents::ExecuteCommandAPIHandler(const MessageOrigin& origin, const Dic
|
|||
|
||||
host->SetExtension("agent_check", true);
|
||||
|
||||
static_pointer_cast<DynamicObject>(host)->OnStateLoaded();
|
||||
static_pointer_cast<DynamicObject>(host)->OnConfigLoaded();
|
||||
static_pointer_cast<DynamicObject>(host)->OnAllConfigLoaded();
|
||||
|
||||
Dictionary::Ptr macros = params->Get("macros");
|
||||
|
||||
if (command_type == "check_command") {
|
||||
|
|
Loading…
Reference in New Issue