mirror of https://github.com/Icinga/icinga2.git
Ensure that checks are not scheduled for command_endpoint fake hosts
refs #10963
This commit is contained in:
parent
6d88d9035d
commit
6ca054e618
|
@ -576,6 +576,7 @@ Value ClusterEvents::ExecuteCommandAPIHandler(const MessageOrigin::Ptr& origin,
|
||||||
|
|
||||||
attrs->Set("__name", params->Get("host"));
|
attrs->Set("__name", params->Get("host"));
|
||||||
attrs->Set("type", "Host");
|
attrs->Set("type", "Host");
|
||||||
|
attrs->Set("enable_active_checks", false);
|
||||||
|
|
||||||
Deserialize(host, attrs, false, FAConfig);
|
Deserialize(host, attrs, false, FAConfig);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue