mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user