<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks for your help with this.  <br><br>I commented out the sshd.conf section calling for a banner & resent the following successfully:<br><br>/usr/local/nagios/libexec> ./check_by_ssh -H 10.X.XXX.XXX -C '/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0'<br>OK - load average: 0.12, 0.15, 0.16|load1=0.120;5.000;10.000;0; load5=0.150;5.000;10.000;0; load15=0.160;5.000;10.000;0;<br><br>Edited the nagios cfg files  & looks good now.<br><br>I cannot run my clients without the banner , due to SOX & PCI compliance. <br><br>So, what I was able to do is run the check_by_ssh plugin with the -q option and after putting the banner piece back in, the check works perfect.<br><br>./check_by_ssh -H 10.xxx.xxx.xxx -C '/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0' <b>-q</b><br>OK - load average: 0.55, 0.33, 0.22|load1=0.550;5.000;10.000;0; load5=0.330;5.000;10.000;0; load15=0.220;5.000;10.000;0;<br><br>Again, thanks for your involvement getting this resolved,  Rod & Benny.  Hopefully it helps someone else down the road.<br><br>Regards,<br><br>Steve<br><br><br>> Date: Tue, 13 Jul 2010 16:57:49 -0700<br>> From: raanders@cyber-office.net<br>> To: nagios-users@lists.sourceforge.net<br>> Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work<br>> <br>> On 07/13/2010 04:03 PM, C. Bensend wrote:<br>> ><br>> >> If I remember, that line is in the sshd.config for the auth users banner.<br>> >> I should be able to comment it out to test it.<br>> >><br>> >> Didn't think about that...  I'll dial in when I get home&  try it..<br>> ><br>> > If you're running a recent release of OpenSSH, you might be able<br>> > to use a match directive to skip the banner for connections<br>> > originating with your Nagios server...  Off the top of my head,<br>> > I don't recall if that is one of the options you can override<br>> > with match.<br>> <br>> The simplest way I've found to avoid the banner is to do it like this.<br>> <br>>     ssh root@host.example.com 'cat /etc/rsyslog.conf'<br>> <br>> <br>> \\||/<br>> Rod<br>> -- <br>> ><br>> > Please let us know what happens!<br>> ><br>> > Benny<br>> ><br>> ><br>> <br>> <br>> ------------------------------------------------------------------------------<br>> This SF.net email is sponsored by Sprint<br>> What will you do first with EVO, the first 4G phone?<br>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first<br>> _______________________________________________<br>> Nagios-users mailing list<br>> Nagios-users@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/nagios-users<br>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <br>> ::: Messages without supporting info will risk being sent to /dev/null<br>                                      <br /><hr />The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4' target='_new'>Get busy.</a></body>
</html>