nrpe/nsca or check_by_ssh

Marc Powell marc at ena.com
Wed Aug 27 14:45:22 CEST 2008


On Aug 27, 2008, at 5:00 AM, J. Bakshi wrote:

> Dear list,
>
> I really need some suggestions/guideline regarding monitoring remote
> server by nagios.
>
> I have found three different ways to monitor remote hosts
>
>     1> NRPE
>    2> NSCA
>    3> check_by_ssh
>
> As I have already read at the manual that  check_by_ssh gives load on
> the monitoring machine's CPU

check_by_ssh can be used to run any nagios plugin on remote unix-like  
hosts, not just check_load. The plugin must be installed on the remote  
host.

> So the other alternative is either NRPE or NSCA. What is the  
> difference
> between these two ?

check_nrpe (from NRPE) is used to initiate an active check from the  
nagios machine. It is called by nagios much like a normal plugin but  
it works differently. check_nrpe contacts the nrpe daemon running on a  
remote host and asks it to run a pre-configured check command and  
returns the results to nagios.

NSCA is used when a passive check is initiated from a remote host. A  
wrapper script on a remote host, called by cron or some other method,  
executes a plugin there and passes the results to the send_nsca  
program. send_nsca contacts the nsca daemon on the nagios machine  
which passes the results of the check to nagios.

HTH,

Marc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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