Check external hosts using NRPE

Marc Powell marc at ena.com
Tue Nov 17 06:01:20 CET 2009


On Nov 16, 2009, at 10:46 AM, ReynierPM wrote:

> Hi every:
> I'm trying to check some services in a remote host (Ubuntu Linux 9.04 
> Server) using NRPE. I have the NRPE plugin installed on both machines: 
> the nagios server and the remote host. I describe below what I've done 
> until now:

[reordering for clarity]

> 
> After all this I'm getting, constantly, these errors:
> 
> [1258389533] Warning: Return code of 127 for check of service 'SAN Space 
> SDB1' on host 'bacula-server' was out of bounds. Make sure the plugin 
> you're trying to run actually exists.

127 means that the program you're trying to run doesn't exist in the path you've specified.

> #'nrpe' command definition
> define command{
>         command_name    check_nrpe
>         command_line    $USERS1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
> }

You mean to use $USER1$ here (presuming that is set to the path to the plugins in resource.cfg).

--
Marc





------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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