From: Gunnar Beutner Date: Fri, 31 Oct 2014 05:27:22 +0000 (+0100) Subject: Agent health check must not have zone attribute X-Git-Tag: v2.2.0~174 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00cb1ca971912dbcdc2863df84a471e2fff5f2df;p=icinga2 Agent health check must not have zone attribute fixes #7519 --- diff --git a/lib/cli/agentupdateconfigcommand.cpp b/lib/cli/agentupdateconfigcommand.cpp index 7a1e8553c..10c909fc3 100644 --- a/lib/cli/agentupdateconfigcommand.cpp +++ b/lib/cli/agentupdateconfigcommand.cpp @@ -103,7 +103,6 @@ int AgentUpdateConfigCommand::Run(const boost::program_options::variables_map& v host_attrs->Set("__name", zone); host_attrs->Set("name", zone); host_attrs->Set("check_command", "cluster-zone"); - host_attrs->Set("zone", zone); Array::Ptr host_imports = make_shared(); host_imports->Add("agent-host"); //default host agent template host_attrs->Set("import", host_imports);