Plugin Output Remote command execution failed: Host key verification failed

I am newbie to icinga.I have created icinga master and hosts
checking the services by by_ssh
Getting plugin output in web as

“Plugin Output Remote command execution failed: Host key verification failed.”

icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.2-1)

Kind regards,

Hi, to see would the problem could be, it would be interesting to see the host and service-defination.


This usually means, the there is a problem with trusting the host key of the target-system, where you are about to connect to.
E.g., the host-key of the target system might have changed.

Please try to connect to the target host by the commandline, by ssh not the script (plugin), which usually shows you more informations about the problem and what you can do to solve it.

To (ssh) connect by the user nagios (on debian-based systems), who doesn’t have a login shell, so you could try:

sudo -u nagios bash
ssh <user_at_target>@<>
# e.g.: ssh

On non-debian-based systems, the user should be icinga, not nagios

1 Like


to add - I had updated the Agent based docs chapter for SSH a while ago, where this is mentioned explicitly as well. If you have additions, PRs are much appreciated :slight_smile: