check_by_ssh - please clarify.

Live Great livegreat007 at yahoo.com
Wed Oct 3 08:22:48 CEST 2007


Hi,

This is the follow up the previous question.
For example, if I want to check disk info in a remote host,
In the NSCA server, I will define the following config:
define command{
        command_name    check_slash_free
        command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /'
        }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins?

Thanks[
Sam

----- Original Message ----
From: Live Great <livegreat007 at yahoo..com>
To: nagios-users at lists.sourceforge.net; nagios-users at lists.sourceforge.net
Sent: Wednesday, October 3, 2007 4:14:25 PM
Subject: check_by_ssh - please clarify.

Hi, 

I am aware that NSCA can uses check_by_ssh to check remote host.
I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host?

Thanks
Sam





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071002/83ade467/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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