check_by_ssh - please clarify.

Live Great livegreat007 at yahoo.com
Fri Oct 5 01:41:41 CEST 2007


Hi,

Thank you for the explanation.
I read through the Distributed Monitoring Document in the following link:
http://nagios.sourceforge.net/docs/2_0/distributed.html

In the last section "Performing Host Checks", 
It mentions ochp command can be used for processing host check. 
Can I use check_by_ssh in the ochp command?
The reason of using check_by_ssh is that my clients don't want to have an *Agent* installed in their server.
If I can use check_by_ssh with ochp, my goal is accomplished.

Thanks
Sam

----- Original Message ----
From: Marc Powell <marc at ena.com>
To: nagios-users at lists.sourceforge.net
Sent: Thursday, October 4, 2007 11:02:17 PM
Subject: Re: [Nagios-users] check_by_ssh - please clarify.



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Live Great
> Sent: Wednesday, October 03, 2007 2:02 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] check_by_ssh - please clarify.
> 
> If I want to set Nagios distribution architecture, can I still use
> check_by_ssh with NSCA server?
> eg.
> Nagios central server <--> NSCA ---execute ssh--> host 1
> 
> in this sense, NSCA will gather information from host 1 using
> check_by_ssh, and send back the collected data to the Nagios central
> server.
> 
> Is this possible? how to setup the monitoring architecture like this?

If you haven't guessed, what you're trying to accomplish isn't clear.
The question, as you've put it, doesn't make sense. About the only case
I can think of that you might need to use NSCA and check_by_ssh together
were if you were checking a third host that was only accessible from a
second host, neither of which are directly accessible by your nagios
server (i.e. firewalled, or other).

send_nsca can be run on a remote host to send check results executed by
an external program (nagios on that remote host or your own script),
back to another nagios machine running NSCA. This is a passive check for
nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The
Distributed Monitoring documentation, while specific to running a
distributed nagios instance, talks about how this is accomplished.

check_by_ssh is a plugin that is actively run by your nagios machine
that will ssh into a remote host, execute a nagios plugin installed
there and return the results to nagios as an active check. If you have
direct access to the monitored machine and don't mind setting up
key-based authentication for this purpose, this is probably the easiest
way to go. Another option might be NRPE.

Both accomplish the pretty much the same thing, just in very different
ways.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071004/781b8585/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- 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