NAGIOS - check_by_ssh failed

Neal.Giger at chandleraz.gov Neal.Giger at chandleraz.gov
Tue Jan 9 20:51:27 CET 2007


Hey Guys,

I am having an issue with the check_by_ssh plugin and was wondering if 
someone could lend a hand.  I have compiled and installed both NAGIOS 
version  2.5 and the nagios-plugins 1.4.4 on EL4.

When trying to execute the check_by_ssh_plugin  and telling it to run just 
a basic file listing command on a HPUX 11.11 host I receive the following 
error:

./check_by_ssh -v -H 10.1.9.21 -t 60 -n hpux2 -C '/usr/bin/ll /tmp'
/usr/bin/ssh 10.1.9.21 '/usr/bin/ll /tmp'
Remote command execution failed:

However If I just cut and past the verbose output from the command calling 
ssh directly I have no problems:

/usr/bin/ssh 10.1.9.21 '/usr/bin/ll /tmp'

Any ideas?

Neal J. Giger
City of Chandler - Information Technology
Phone  480.782.2457
Fax        480.782.2606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070109/647ad34f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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