check_nrpe trouble

Hiamal Llanos hiamall at gmail.com
Thu Oct 18 00:05:58 CEST 2007


Hi,

I'm having trouble with check_nrpe and I don't know whats wrong, what
I'm doing wrong.
I followed the nagios and nrpe doc's  but it don't work :-P

/var/log/nagios2/nagios.log says:
SERVICE ALERT: otherhost;nrpe_load;UNKNOWN;SOFT;1;(No output returned
from plugin)

But if I run the command on the terminal window it works happily:
$ sudo -u nagios /usr/lib/nagios/plugins/check_nrpe -H otherhost -c check_load
OK - load average: 0.00, 0.00, 0.00|load1=0.....

Hope someone has som clues what could be wrong.


The Nagios server host is a i386 smp with Debian Etch  and otherhost
is a amd64 x2 also with Debian Etch.

On the Nagios server I'm runnig:
nagios2 2.6-2+etch1
nagios-nrpe-plugin 2.5.1-3
nagios-nrpe-server 2.5.1-3

on otherhost:
nagios-nrpe-plugin 2.5.1-3
nagios-nrpe-server 2.5.1-3

Nagios config:
define service{
        use                             generic-service
        host_name                       otherhost
        service_description             nrpe_load
        check_command                   check_nrpe!check_load
        }

nrpe config:
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20


TiA

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





More information about the Users mailing list