Icinga Director setting the command_endpoint

Hello,

I wanted to ask if there is really no way to set the command_endpoint for a service with the director.
My problem is that there are some checks which should not be runned on the client agent, for example the hostalive check. But if i have installed the Icinga Agent, all checks are running from the Agent.

I have the same question. I would like to have some checks like ‘ping’ and ‘ssh’ be run from my master icinga or from a parent node, not from the node itself.

How else do I know if ssh is configured correctly or if the host is up? Obviously whenever icinga2 is running it will display as up.

If that’s the check, and I need to remove the ping and ssh checks, that’s fine, I guess I can switch to a systemd check for ssh, but the proper test for a service being up is if I can connect to it in many cases.

What if there’s a firewall issue?

This is the default behavior, if the command_endpoint = null or “run on agent” in the Icinga2 Director service template is set to no.

What if there’s a firewall issue?

Change the firewall rules or put a Icinga2 satellite in the same segment as the host you want to check.

I tried command_endpoint = null and instead of having the check come from the master, it’s coming from the host it’s attached to: