check_by_ssh error - Remote command execution failed
Grant Sewell
nagios at thymox.co.uk
Wed Sep 2 12:45:19 CEST 2009
On Wed, 02 Sep 2009 06:25:48 -0400
Thomas Guyot-Sionnest wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02/09/09 05:26 AM, Juki wrote:
> > Hello people,
> >
> > Remote command execution failed: ###################### !!!
> > WARNING !!! #############################
>
> This had to do with the server's kay that changed and is being cached
> in the nagios user's ~/.ssh/known_hosts. Find any entry matching the
> target host name or IP and delete them, then connect manually to the
> host as the nagios user.
>
> - --
> Thomas
I found that on a default Debian install (and presumably all
Debian-related Linux distros), the Nagios user's 'home' directory (ie
~) was stored on a tmpfs mount... so if the machine was ever rebooted
(we had several power-outs over the course of a week) the contents of
~/.ssh for the Nagios user wouldn't exist. I changed the 'home' of the
Nagios user to somewhere on disk and stopped getting this error.
Grant.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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