Remote commnad execution failed
Posted: Tue Feb 28, 2012 8:32 am
I'm using SSH Proxy wizard to connect to remote Linux RHEL 5.5 host to get statistics.
However, the service status for my host shows me the following:
Check breeze
Unknown 27m 46s 4/4 2012-02-28 08:21:19 Remote command execution failed: bash: /usr/local/nagios/libexec/check_breeze: No such file or directory
Check Load
Unknown 28m 53s 4/4 2012-02-28 08:25:12 Remote command execution failed: bash: /usr/local/nagios/libexec/check_load/: No such file or directory
Check Log
Unknown 28m 20s 4/4 2012-02-28 08:25:45 Remote command execution failed: bash: /usr/local/nagios/libexec/check_log/: No such file or directory
Check nwstat
Unknown 27m 13s 4/4 2012-02-28 08:21:52 Remote command execution failed: bash: /usr/local/nagios/libexec/check_nwstat/: No such file or directory
Current Users
Unknown 26m 40s 5/5 2012-02-28 08:23:25 Remote command execution failed: bash: /usr/local/nagios/libexec/check_users: No such file or directory
Mrtg
Unknown 26m 6s 4/4 2012-02-28 08:22:59 Remote command execution failed: bash: /usr/local/nagios/libexec/check_mrtg/: No such file or directory
Mrtgtraf
Unknown 25m 33s 4/4 2012-02-28 08:23:32 Remote command execution failed: bash: /usr/local/nagios/libexec/check_mrtgtraf/: No such file or directory
Ping
Ok 25m 0s 1/5 2012-02-28 08:21:05 OK - 10.70.10.16: rta 1.157ms, lost 0%
Root Disk Space
Unknown 24m 26s 5/5 2012-02-28 08:25:39 Remote command execution failed: bash: /usr/local/nagios/libexec/check_disk: No such file or directory
Total Processes
Unknown 28m 36s 5/5 2012-02-28 08:21:06 Remote command execution failed: bash: /usr/local/nagios/libexec/check_procs: No such file or directory
It appears that /usr/local/nagios/* directory does not even exist on the remote host.
Am I missing smth. that needed to be installed on the remote host besides just creating "nagios" user account and setting up passwordless ssh access to that account?
Thanks.
However, the service status for my host shows me the following:
Check breeze
Unknown 27m 46s 4/4 2012-02-28 08:21:19 Remote command execution failed: bash: /usr/local/nagios/libexec/check_breeze: No such file or directory
Check Load
Unknown 28m 53s 4/4 2012-02-28 08:25:12 Remote command execution failed: bash: /usr/local/nagios/libexec/check_load/: No such file or directory
Check Log
Unknown 28m 20s 4/4 2012-02-28 08:25:45 Remote command execution failed: bash: /usr/local/nagios/libexec/check_log/: No such file or directory
Check nwstat
Unknown 27m 13s 4/4 2012-02-28 08:21:52 Remote command execution failed: bash: /usr/local/nagios/libexec/check_nwstat/: No such file or directory
Current Users
Unknown 26m 40s 5/5 2012-02-28 08:23:25 Remote command execution failed: bash: /usr/local/nagios/libexec/check_users: No such file or directory
Mrtg
Unknown 26m 6s 4/4 2012-02-28 08:22:59 Remote command execution failed: bash: /usr/local/nagios/libexec/check_mrtg/: No such file or directory
Mrtgtraf
Unknown 25m 33s 4/4 2012-02-28 08:23:32 Remote command execution failed: bash: /usr/local/nagios/libexec/check_mrtgtraf/: No such file or directory
Ping
Ok 25m 0s 1/5 2012-02-28 08:21:05 OK - 10.70.10.16: rta 1.157ms, lost 0%
Root Disk Space
Unknown 24m 26s 5/5 2012-02-28 08:25:39 Remote command execution failed: bash: /usr/local/nagios/libexec/check_disk: No such file or directory
Total Processes
Unknown 28m 36s 5/5 2012-02-28 08:21:06 Remote command execution failed: bash: /usr/local/nagios/libexec/check_procs: No such file or directory
It appears that /usr/local/nagios/* directory does not even exist on the remote host.
Am I missing smth. that needed to be installed on the remote host besides just creating "nagios" user account and setting up passwordless ssh access to that account?
Thanks.