: be...@bennyvision.com
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to
work
I also tried this as well from the server , which does work
ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8
Authorized users
getting this resolved, Rod Benny.
Hopefully it helps someone else down the road.
Regards,
Steve
Date: Tue, 13 Jul 2010 16:57:49 -0700
From: raand...@cyber-office.net
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work
On 07/13
Hello All,
have been banging my head against the wall trying to get check_by_ssh to work.
No matter what I try to do, I keep getting Remote command execution failed: .
I have verified that I can ssh to the remote pc from the server as both root
the nagios user with no problem or password
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
Thanks for the reply, yes I have tried it with both ip name with the same
results.
I assume that the command line check should work as I have written it here
correct?
/usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C
'/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios -2
Thanks for the reply, yes I have tried it with both ip name with the
same results.
I assume that the command line check should work as I have written it here
correct?
/usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C
'/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios
: be...@bennyvision.com
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work
Thanks for the reply, yes I have tried it with both ip name with the
same results.
I assume that the command line check should work as I have written it here
@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work
Thanks for the reply, yes I have tried it with both ip name with the
same results.
I assume that the command line check should work as I have written it here
correct?
/usr/local/nagios/libexec
I also tried this as well from the server , which does work
ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8
Authorized users only.
USERS OK - 0 users currently logged in |users=0;5;8;0
This tells me that
1. ssh as Nagios works
2. the check_users script runs on
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work
I also tried this as well from the server , which does work
ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8
Authorized users only.
USERS OK - 0 users
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
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
12 matches
Mail list logo