check_by_ssh
Sam Stave
sam_stave at yahoo.com
Mon Aug 9 17:46:34 CEST 2004
Hmm,
Actually I ahve host keys working properly - so it now
no longer asks for the password. Here is exaclty what
it looks like when I run it:
bash-2.05$ cd /nagios/libexec
bash-2.05$ ./check_by_ssh -H10.110.4.185
-C'/usr/local/nagios/libexec/check_disk'
bash-2.05$
So those 2 blank lines you see are the actual blanks
that the command returns.... it seems as though it is
actually running the command, but the output is not
making it back... I attempted the -O option to place
the data in some file, but it tells me:
check_by_ssh: In passive mode, you must provide a
service name for each command.
I dont understand that either :(
THanks
sam
--- "C. Bensend" <benny at bennyvision.com> wrote:
>
> > I have keys setup, however i still getthe same
> result.
> > SSH checks return no data.... they just drop back
> to
> > the cmd prompt.
>
> If it's dropping you back to a password prompt (I
> believe I read that in
> your original email), check your sshd_config on the
> remote server. Make
> sure it's configured to use DSA auth, and you might
> check strict mode -
> if your home directory's permissions are funky in
> the slightest, strict
> mode is going to fail on DSA auth and drop you to
> the next availible
> method, likely password.
>
> Benny
>
>
> --
> "Horrible pain! I made sounds like a dolphin giving
> birth."
> --
> Mr. Corman, "Scrubs"
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you
> noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the
> past few weeks? Now,
> one more big change to announce. We are now OSTG-
> Open Source Technology
> Group. Come see the changes on the new OSTG site.
> www.ostg.com
> _______________________________________________
> 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
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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