[Nagiosplug-help] Re: check_ssh

Kelvin Wu kelvin.wu at gmail.com
Mon Aug 9 20:30:59 CEST 2004


these is a problem, when i executed this script from shell, it
detected error after timeout and returned me error message, but
terminal stdin seems messed up, i can't type any chars......

i tried the check_by_ssh plugin, same problem.
/.check_by_ssh -l fake_account -H ip -C pwd
prompt for password..... wait here until timeout, and i have to reset
terminal to continue work...

any suggestions?


On Fri, 6 Aug 2004 18:24:48 +0800, Kelvin Wu <kelvin.wu at gmail.com> wrote:
> i solved the problem quickly... a simple perl script attached if
> anyone interests
> 
> 
> 
> 
> On Fri, 6 Aug 2004 18:02:00 +0800, Kelvin Wu <kelvin.wu at gmail.com> wrote:
> > or check_ssh_login
> >
> > is there any plugin to check if ssh login is successfully ot not?
> > normally i use 'ssh -l user host'(via ssh key) to log into server and
> > do something, but i got trouble if login failed(keyfile deleted for
> > example), how can i detect the login error so i can send alert? the
> > command just stop there and wait for inputting new password...
> >
> > thanks.
> >
> 
> 
>




More information about the Help mailing list