check_by_ssh

Karl DeBisschop karl at debisschop.net
Sun Aug 8 15:25:11 CEST 2004


Sam Stave wrote:

> Did you get this to work?
> 
> I am attempting to do the following with check_by_ssh
> - and it doesnt seem to work:
> 
> from the nagios server:
> 
> ./check_by_ssh -l nagios -H 10.x.x.x -C
> '/usr/local/nagios/libexec/check_disk -w 10 -c 8 -p /'
> 
> If I run this manually - it prompts me for the
> password, then just drops back to a prompt.... so I
> get no return of data....

You need to set up keys on the nagios server and the target machine to 
allow the command to run without a password.

-- 
Karl


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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