[Nagiosplug-help] check_by_ssh Protocol major versions differ: 1 vs. 2

Michael Gabriel michael at cwa.co.nz
Thu Aug 21 16:13:02 CEST 2003


Thank's Karl,

     It looks like I Have it working now.

./check_by_ssh -l michael -H 10.10.10.30 -C 
"/usr/local/nagios/libexec/check_ssh -H 10.10.10.30"
michael at 10.10.10.30's password:
SSH OK - OpenSSH_3.4p1 Debian 1:3.4p1-1 (protocol 2.0)

The trick was su'ing to the nagios user and also putting the command in 
quotes.

Many thanks for you input.

Regards

Michael.

Karl DeBisschop wrote:

>On Wed, 2003-08-20 at 17:30, Michael Gabriel wrote:
>  
>
>>Hi Everyone,
>>
>>      I'm trying to get check_by_ssh going and I'm having trouble with 
>>the ssh.   Is there a way of forceing ssh to use protocol 2 though 
>>chech_by_ssh.
>>    
>>
>
>[kdebisschop at miles plugins]$ ./check_by_ssh --help
>check_by_ssh (nagios-plugins 1.3.99) 1.17
>
><cut>
>
> -1, --proto1
>    tell ssh to use Protocol 1
> -2, --proto2
>    tell ssh to use Protocol 2
> 
>  
>
>>I've read through the check_by_ssh man pages and I'm thinking I'm out of 
>>luck.   Can anyone give me another solutions.
>>
>>Here is the command I'm using.
>>
>>./check_by_ssh -l michael -H 10.10.10.30 -C check_ping -H 10.10.10.30
>>Protocol major versions differ: 1 vs. 2
>>
>>    
>>
>
>Soultion: use the sources in the CVS HEAD, It's not the current stable
>branch, but we are fairly close to the first alpha release on these
>sources so it is probably not too bad. It is what I run.
>
>--
>Karl
>  
>

-- 
Michael Gabriel
CWA New Media

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_		
     |,4-  ) )-,_. ,\ (  `'-'		
    '---''(_/--'  `-'\_) 







More information about the Help mailing list