NAGIOS - check_by_ssh failed
Andy Shellam (Mailing Lists)
andy.shellam-lists at mailnetwork.co.uk
Tue Jan 9 21:16:12 CET 2007
When it says, "remote execution failed" - does it give an error after it?
Neal.Giger at chandleraz.gov wrote:
>
> Yes , /usr/bin/ssh is in its place and the user portion doesn't make
> any difference either.
>
> Neal J. Giger
> City of Chandler - Information Technology
> Phone 480.782.2457
> Fax 480.782.2606
>
>
> *"Andy Shellam (Mailing Lists)" <andy.shellam-lists at mailnetwork.co.uk>*
> Sent by: nagios-users-bounces at lists.sourceforge.net
>
> 01/09/2007 01:01 PM
>
>
> To
> Neal.Giger at chandleraz.gov
> cc
> nagios-users at lists.sourceforge.net
> Subject
> Re: [Nagios-users] NAGIOS - check_by_ssh failed
>
>
>
>
>
>
>
>
>
> 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.
>
> Neal.Giger at chandleraz.gov 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
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > 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
> > 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
> >
> > !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
> 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
>
> !DSPAM:37,45a3f5b4137104580613464!
--
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
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