Ensure that checks are not scheduled for command_endpoint fake hosts

refs #10963
This commit is contained in:
Gunnar Beutner 2016-01-21 16:37:52 +01:00
parent c415dd3468
commit fc90265332
1 changed files with 1 additions and 0 deletions

View File

@ -576,6 +576,7 @@ Value ClusterEvents::ExecuteCommandAPIHandler(const MessageOrigin::Ptr& origin,
attrs->Set("__name", params->Get("host"));
attrs->Set("type", "Host");
attrs->Set("enable_active_checks", false);
Deserialize(host, attrs, false, FAConfig);