> I have tried running the check_by_ssh plugin from the command line with no
> success , specifying ports, protocol, user, etc
>
> ./check_by_ssh -H pbylinux7 -C '/usr/local/nagios/libexec/check_ssh' -2 -4
> -p 22

Have you tried using the *IP* instead of the hostname?  Depending on
how you have your service check defined, it's probably using the
IP, and if that's the case, it's probably waiting on you to accept the
remote host's key.

Benny


--
"Well, we *could* hunt down the perpetrators, pool some $$, and
hire 3 or 4 baseball-bat wielding professional explainers to go
explain our position to them.  Figuring out how to do so without
breaking any laws is the tough part..."
                                 -- Valdis Kletnieks, 2009-01-23



------------------------------------------------------------------------------
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@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

Reply via email to