Check_by_ssh issue
Posted: Thu Aug 18, 2016 3:09 am
Hello,
I have installed a nagios IX server and everything it's working except on check : check_by_ssh.
When i'm connected on the server by ssh or console, the check_by_ssh are up no problem, but when I'm closing my ssh connection those check are down after 2 minutes ...
Error messages are :
Return code of 255 is out of bounds
or
remote command execution failed : warning : identity file /home/nagios/.ssh.id_dsa not accessible : no such file or directory
I have try to find any solutions :
add the option -i with the path of private key : same problem.
add the option -E at the end of the command : same problem.
I have installed my server on a ubuntu 14.04 LTS.
Do you have any ideas ?
Thanks in advance
I have installed a nagios IX server and everything it's working except on check : check_by_ssh.
When i'm connected on the server by ssh or console, the check_by_ssh are up no problem, but when I'm closing my ssh connection those check are down after 2 minutes ...
Error messages are :
Return code of 255 is out of bounds
or
remote command execution failed : warning : identity file /home/nagios/.ssh.id_dsa not accessible : no such file or directory
I have try to find any solutions :
add the option -i with the path of private key : same problem.
add the option -E at the end of the command : same problem.
I have installed my server on a ubuntu 14.04 LTS.
Do you have any ideas ?
Thanks in advance