Check external hosts using NRPE

ReynierPM rperezm at uci.cu
Tue Nov 17 06:11:27 CET 2009


Marc Powell wrote:
>> 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.

Did you see the entire email? As I said before I run the command from 
command line and it works fine.

>> #'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).

This var is setup and point to /usr/local/nagios/libexec where plugins 
are located.

------------------------------------------------------------------------------
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