On Thu, 24 Aug 2006, Nelson Serafica wrote:

>       Here's the scenario:
>
> user John can connect via ssh to SONICSERVER using oracle user without 
> authentication. To verify, i run this command and encountered no problem:
>
> ssh -i /home/John/.ssh/id_rsa [EMAIL PROTECTED] w
>
> and the commands run properly.
>
> But when i tried this command:
>
> [EMAIL PROTECTED] ~]$ /usr/local/nagios/libexec/check_by_ssh -H SONICSERVER 
> -i /home/John/.ssh/id_rsa \
>  -C "/usr/local/nagios/libexec/check_disk -w 10% -c 5% -e -m" -l oracle
>
> It says:
>
> CRITICAL - Plugin timed out while executing system call

My estimate would be that your nagios user can not read the identity file
from John. So either copy or move it to some place where user nagios can
read it.

Hugo.

-- 
        I hate duplicates. Just reply to the relevant mailinglist.
        [EMAIL PROTECTED]               http://hvdkooij.xs4all.nl/
                Don't meddle in the affairs of magicians,
                for they are subtle and quick to anger.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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