check_by_ssh for new linxux users.. shed some light...

Mirza Dedic mirde at oppy.com
Tue Jan 6 03:06:44 CET 2009


Hello,

I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I am able to get Nagios to monitor all the things I need on a Win32 box (using NSClient++ & Check_NT); I am having difficulty getting check_by_ssh to work for me.

I have previously never used check_by_ssh; I am also fairly new to the linux OS. My OS is Ubuntu and many of the servers I want to monitor are RHEL4 or Fedora.

I know that to get check_by_ssh to work, I need to create a private/public certificate on the client/server; anyone shed some light on how to create this?

Do I create the key on my Nagios box? Under the same user that was used when compiling Nagios?

For the remote host (monitored linux server); what do I need to do? Create the same user-id? How do I apply the certificate from my Nagios Host to the monitored Host so that my shell scripts can connect to the Host B without a password prompt?

Please if you could, shed some light for a beginner.

Also, our environment is using Kerberos, all the servers use SSH/Kerberos, this way when users are created in Active Directory they are replicated across the linux servers (is this why I can't find authorized_keys file?)

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090105/e945e8ee/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- 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