Hi Neal, Have you tried running your command as the Nagios user? Also does /usr/bin/ssh exist on your Nagios machine?
Just a couple of ideas. Regards, Andy. [EMAIL PROTECTED] wrote: > > 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 !DSPAM:37,45a3f2d8137101509920716! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > > !DSPAM:37,45a3f2d8137101509920716! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 > > !DSPAM:37,45a3f2d8137101509920716! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- 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 _______________________________________________ Nagios-users mailing list [email protected] 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
