NRPE: No output returned from plugin error

yuris yuris at smtp.com
Thu Jul 1 16:44:06 CEST 2010


There is nrpe.cfg:

log_facility=daemon
pid_file=/var/run/nrpe.pid
server_port=5666
nrpe_user=nrpe
nrpe_group=nrpe
allowed_hosts=nagios.domain
dont_blame_nrpe=0
debug=1
command_timeout=60
connection_timeout=300
command[check_users]="/usr/lib64/nagios/plugins/check_users -w 5 -c 10"
command[check_load]="/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 
30,25,20"
command[check_disk]="/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% 
-p /dev/mapper/VolGroup00-LogVol00"
command[check_zombie_procs]="/usr/lib64/nagios/plugins/check_procs -w 5 
-c 10 -s Z"
command[check_total_procs]="/usr/lib64/nagios/plugins/check_procs -w 200 
-c 300"

--
wbr,
yuris



Assaf Flatto wrote:
> yuris wrote:
>   
>> I strongly doubt it has any relation to ssl:
>>
>> NRPE - Nagios Remote Plugin Executor
>> Copyright (c) 1999-2008 Ethan Galstad (nagios at nagios.org)
>> Version: 2.12
>> Last Modified: 03-10-2008
>> License: GPL v2 with exemptions (-l for more info)
>> SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
>> TCP Wrappers Available
>>
>> this is output from nrpe (Centos binary package) that shows it's 
>> compiled with ssl/tls support. Openssl library is installed as well.
>>
>> Anyway. I tried suggested workaround, defining "check_nrpe_no_ssl" as 
>> "$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n" and defining service 
>> as "check_nrpe_no_ssl!check_load" and running nrpe deamon no centos host 
>> with "-n" option - result is just the same, "NRPE: Unable to read output"
>>
>> However, when I do "./check_nrpe -H centos.host.com" it does return me 
>> nrpe version correctly ("NRPE v2.12").
>>
>>  From all this steps I figured that it is not about ssl at all - nrpe 
>> version is returned correctly with ssl and without it.
>>
>> Interesting, that in nagios server debug log I see that remote NRPE 
>> returns output that nagios check_nrpe cannot parse, it returns similar 
>> output, that I would get if call /usr/sbin/nrpe without arguments:
>>
>> so that seems to me as if NRPE does not understand arguments from 
>> check_nrpe or something...
>>
>> any ideas?
>>
>> --
>> best regards,
>> yuris
>>
>>   
>>     
> Yuris..
>
> Can you upload a sample nrpe.cfg from one of the centos servers ?
>
> That might shed more light on the issue ?
>
>   


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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