What is the default for a service's command_endpoint?

What is the default for a service’s command_endpoint? Is it one of the endpoints in the zone that the service belongs to?

The “default” is command_endpoint = host.name. However, I’d not call it default since it is only needed if you want to run a check on an agent.

Thanks for your quick response. I have agents on all participating hosts (i.e. rely on distributed management), so in that case the check is bound to run on an agent, right?

Defining a command_endpoint means a check shall be executed there instead of the icinga node to which the host belongs. Or you call the local resp. remote check.