Nagios-users Digest, Vol 21, Issue 14

Piero Giobbi piero at news.fb.se
Tue Feb 12 22:18:51 CET 2008


Hi.

Many thx for the tip Marc - that did the trick! I had ekonomi.fb.se as  
the address in hosts.cfg i did also connect with only ekonomi and then  
it worked. Guess i missed something in my services or checkcommand- 
files but thats an easy fix now.


thx again!

p

12 feb 2008 kl. 21.14 skrev nagios-users-request at lists.sourceforge.net:

> Message: 18
> Date: Tue, 12 Feb 2008 12:34:53 -0600
> From: "Marc Powell" <marc at ena.com>
> Subject: Re: [Nagios-users] check_by_ssh wont work - help.
> To: <nagios-users at lists.sourceforge.net>
> Message-ID: <A7B0A9F02975A74A845FE85D0B95B8FA099FEFA2 at misex01.ena.com>
> Content-Type: text/plain;	charset="US-ASCII"
>
>
>
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- 
>> users-
>> bounces at lists.sourceforge.net] On Behalf Of News
>> Sent: Tuesday, February 12, 2008 10:37 AM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] check_by_ssh wont work - help.
>>
>> Hi all.
>>
>> Im trying to get check_by_ssh to work but i keep failing. Its between
> two
>> linux, Debian (nagiosserver) and redhat (cilent). Im trying something
>> simple at first, just check the disk.
>>
>> I have setup the keys so i can login without password (with user
> nagios).
>> When i do a test with from terminal it goes well:
>>
>> /usr/local/nagios/libexec/check_by_ssh -H ekonomi.fb.se -C
>> '/usr/local/nagios/libexec/check_disk -w 75% -c 90% -p /var'
>>
>
>
>> UNKNOWN	12-02-2008 17:32:57	0d 0h 21m 53s	3/3	Remote
> command
>> execution failed: Host key verification failed.
>>
>> Im seem having problem with the aut-key. I have doublechecked the
> nagios-
>> account but in cant see whats wrong. For it is nagios user that is
> doing
>> the check right?
>
> Correct. In the host{} definition that this service check is applied  
> to,
> is the 'address' specified as 'ekonomi.fb.se'? If not, you'll need to
> manually ssh to the IP/hostname used as the address in the host
> definition to associate the host key with _that_ name or address.
>
> --
> Marc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080212/47b61d48/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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