Error - Remote command execution failed
Posted: Thu Jul 12, 2012 6:25 am
Hi,
I am getting error while running any command from Nagios server through ssh.
./check_by_ssh -l nagios -H 10.29.77.79 -C "/usr/local/nagios/libexec/check_disk -w 20 -c 10 /"
[nagios@apl05038simvt1 libexec]$ ./check_by_ssh -l nagios -H 10.29.77.79 -C "/usr/local/nagios/libexec/check_disk -w 20 -c 10 /"
Remote command execution failed:
[nagios@apl05038simvt1 libexec]$
I am able to login to remote machine (10.29.77.79) by ssh without entering password, but if am executing any remote command its failing. Please help me on this how it can be resolve.
Thanks in advance.
Regards,
Sachikanta
I am getting error while running any command from Nagios server through ssh.
./check_by_ssh -l nagios -H 10.29.77.79 -C "/usr/local/nagios/libexec/check_disk -w 20 -c 10 /"
[nagios@apl05038simvt1 libexec]$ ./check_by_ssh -l nagios -H 10.29.77.79 -C "/usr/local/nagios/libexec/check_disk -w 20 -c 10 /"
Remote command execution failed:
[nagios@apl05038simvt1 libexec]$
I am able to login to remote machine (10.29.77.79) by ssh without entering password, but if am executing any remote command its failing. Please help me on this how it can be resolve.
Thanks in advance.
Regards,
Sachikanta