Going Nuts trying to get check_by_ssh to work

Roderick A. Anderson raanders at cyber-office.net
Wed Jul 14 01:57:49 CEST 2010


On 07/13/2010 04:03 PM, C. Bensend wrote:
>
>> If I remember, that line is in the sshd.config for the auth users banner.
>> I should be able to comment it out to test it.
>>
>> Didn't think about that...  I'll dial in when I get home&  try it..
>
> If you're running a recent release of OpenSSH, you might be able
> to use a match directive to skip the banner for connections
> originating with your Nagios server...  Off the top of my head,
> I don't recall if that is one of the options you can override
> with match.

The simplest way I've found to avoid the banner is to do it like this.

    ssh root at host.example.com 'cat /etc/rsyslog.conf'


\\||/
Rod
-- 
>
> Please let us know what happens!
>
> Benny
>
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list