Re: [Nagios-users] ndoutils 1.4b7 vs 1.4b9

2010-07-13 Thread Michael Friedrich
Hi, Carl Friend wrote: I tried updating my (perfectly working, mind you) ndoutils from 1.4b7 to 1.4b9 over the weekend and was primarily rewarded with segfaults and other grief which has resisted investigation and fixes. The errors were introduced in 1.4b8 and persist into 1.4b9. I'm

Re: [Nagios-users] ndoutils 1.4b7 vs 1.4b9

2010-07-13 Thread Carl Friend
Michael Friedrich writes: Well I've sent a patch a few months ago to nagios-devel but iirc it's only in CVS, not within a new beta release. An Icinga user pointed me to that problem. http://markmail.org/message/jsolx6j6jl74aqpj https://dev.icinga.org/issues/219 I caught one of

[Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread steve f
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

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
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

[Nagios-users] Tim West is out of the office

2010-07-13 Thread timwest
I will be out of the office starting 13/07/2010 and will not return until 15/07/2010. This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread steve f
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

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
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

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread steve f
yes running the check on the client works fine : /usr/local/nagios/libexec ./check_users -w 5 -c 8 USERS OK - 1 users currently logged in |users=1;5;8;0 I am beginning to think it has to be something really stupid... Thanks, Steve Date: Tue, 13 Jul 2010 15:52:06 -0500 From:

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread steve f
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 the

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
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

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread steve f
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.. Thanks Benny for the info, Steve Date: Tue, 13 Jul 2010 17:22:35 -0500 From: be...@bennyvision.com

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread C. Bensend
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

Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work

2010-07-13 Thread Roderick A. Anderson
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