mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7527 from Icinga/bugfix/checkable-command-endpoint-zone
Improve error message/docs for command endpoints requiring a zone
This commit is contained in:
commit
cd71b97249
|
@ -1,2 +1,11 @@
|
|||
This directory contains configuration files for cluster zones. If you're not
|
||||
running a cluster you can safely ignore this directory.
|
||||
This directory contains zone directories used for
|
||||
distributed monitoring with the cluster config sync.
|
||||
|
||||
Use this for the following scenarios:
|
||||
|
||||
- Master with Agents
|
||||
- HA Masters with Agents
|
||||
- Masters, Satellites and Agents
|
||||
|
||||
Please check the documentation for more details:
|
||||
https://icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/
|
||||
|
|
|
@ -53,7 +53,7 @@ void Checkable::OnAllConfigLoaded()
|
|||
}
|
||||
} else {
|
||||
BOOST_THROW_EXCEPTION(ValidationError(this, { "command_endpoint" },
|
||||
"Command endpoint must not be set."));
|
||||
"Checkable with command endpoint requires a zone. Please check the troubleshooting documentation."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue