<br>
<br><tt><font size=2><br>
<br>
> <br>
> Nagios: 2.10 <br>
> Plugins: 1.4.9 <br>
> OS: SLES 9.3 <br>
> <br>
> I am having some trouble figuring out how to make check_by_ssh work
<br>
> properly. I think I have done all of the usual troubleshooting and
I<br>
> have googled the issue to no avail: <br>
> <br>
> Command as nagios user on the remote server: <br>
> <br>
> /usr/local/nagios/libexec/check_load -w 7,7,7 -c 10,10,10 <br>
> OK - load average: 0.01, 0.04, 0.03|load1=0.010;7.000;10.000;0; <br>
> load5=0.040;7.000;10.000;0; load15=0.030;7.000;10.000;0; <br>
> <br>
> Command as nagios user via ssh on Nagios server: <br>
> <br>
> ssh ulwswas01 "/usr/local/nagios/libexec/check_load -w 7,7,7
-c 10,10,10" <br>
> <MOTD REMOVED FOR PRIVACY REASONS> <br>
> OK - load average: 0.05, 0.07, 0.04|load1=0.050;7.000;10.000;0; <br>
> load5=0.070;7.000;10.000;0; load15=0.040;7.000;10.000;0; <br>
> <br>
> check_by_ssh attempt as nagios user on Nagios server: <br>
> ./check_by_ssh -H ulwswas01 -C "/usr/local/nagios/libexec/check_load<br>
> -w 7,7,7 -c 10,10,10" <br>
> Remote command execution failed: <MOTD DISPLAYS IN PART THEN CONNECTION
ENDS><br>
> <br>
> I get nothing in the log files concerning this and it makes little
<br>
> sense. I have tried everything I need to have working, to the best
<br>
> of my knowledge, as the nagios use and it works. Thanks in advance
<br>
> for any help! <br>
> <br>
</font></tt>
<br><tt><font size=2>Please disregard the above request. Further research
showed the -S option was all that was needed. Would be nice if this was
documented to show it is needed on all systems with banners as it is currently
a little harder to find. If it were mentioned in the -h, the banner part,
I would not have sent the request for help initially.  I now return
you to your regularly scheduled madness...</font></tt>