CMK version: 2.0.0p22
OS version: RHEL 7
Error message:
When the Connection tests are run, the following message is displayed in every output box
API Error:Error running automation call <tt>diag-host</tt> (exit code 2), error: <pre>Cannot resolve hostname XXXXX into IP address
</pre>
The hostname has no IP address because is configured to run a script located in ~/local/bin.
The output of the script is correct and its checks are running properly.
Output of “cmk --debug -vvn hostname”:
No error message is printed.
P.D: this site has been recently updated from 1.6.0p28 to 2.0.0p22