<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I noticed this list has a lot more activity on it and the plugin list
next to none so please excuse me.<br>
<br>
<pre wrap="">I'm not sure if I found a bug or what but I can login to the remote 
system I'm trying to check with key based authentication I can even do a 
"ssh -i ~/.ssh/id_dsa remotecomputer "/usr/nagios/plugins/check_swap -w 
50% -c 10%" and it works just fine:

nagios@ms1 ~ $ ssh -i .ssh/id_dsa remotecomputer "/usr/nagios/plugins/check_swap -w 50% -c 10%"
SWAP OK - 100% free (1996 MB out of 1996 MB) |swap=1996MB;998;199;0;1996
nagios@ms1 ~ $

but when I use:

nagios@ms1 ~ $ /usr/nagios/libexec/check_by_ssh -H remotecomputer -i 
~/.ssh/id_dsa -C "/usr/nagios/plugins/check_swap -w 50% -c 10%"
Enter passphrase for key '<i class="moz-txt-slash"><span
 class="moz-txt-tag">/</span>home/nagios<span class="moz-txt-tag">/</span></i>.ssh/id_dsa':


I get prompted for a passphrase and of course if I don't enter that I 
get prompted for a password which I can enter and I get the expected 
result. Another odd thing is if I don't enter anything after a short 
period of time it times out then that shell is basically done as all I 
can do is hit enter and get another shell prompt, nothing else shows up.

Any ideas? I use nrpe on most of the systems but this system I'm trying to monitor is a RHEL 3 server and I can't update it or it won't be supported and I can't seem to find an old rpm of nrpe that will work, so I need another way to run check on it so I'm trying the check_by_ssh.

Thanks,
Robert
</pre>
</body>
</html>