check_by_ssh little help

C. Bensend benny at bennyvision.com
Tue Nov 2 03:29:34 CET 2004


> Ok. IF I execute the plugin manually using my login account (jwilliams) it
> works perfectly.
> Now, if I execute the command using the root command like so:

The "root command" ?  What exactly is that?

> ./check_by_ssh -H 192.168.1.199 -C uptime -l jwilliams
>
> It still prompts me for the password.

>From the Nagios host, using the account Nagios is running as, can you:

ssh -l jwilliams 192.168.1.199

?  I bet you cannot.  What user is Nagios running as, on the Nagios
server?

Benny


-- 
"Fry cracked corn, and I don't care, Leela cracked corn, and still
don't care, Bender cracked corn, and he is great! Take THAT you
stupid corn!"                             -- Bender, Futurama






-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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