Performance data not being returned

Andreas Ericsson ae at op5.se
Thu May 10 20:55:17 CEST 2012


On 05/10/2012 06:04 PM, Jonathan Gazeley wrote:
> On 10/05/12 16:39, C. Bensend wrote:
>>
>>> I've narrowed it down to a stage where running the plugin directly
>>> returns the right results, but running the plugin through check_nrpe on
>>> localhost returns this:
>>>
>>> [jg4461 at dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c
>>> check_dhcpd_pools
>>> OK - all pools less than 80% full |
>>>
>>> What could cause NRPE to truncate the results in such a way?
>>
>> Too much data?
>>
>> Are you using SSL?
>>
>> I don't know that I've seen this behavior before - it's always
>> been *invalid* perfdata that have caused this issue for me.
>>
> 
> I am using SSL in production, although not for testing. Both cases
> return the same truncated results.
> 
> The total status + performance data returned from this plugin is only
> 500-and-something bytes, less than the limits for NRPE that I'd heard about.
> 

I have no real clue about that, but perhaps it's a newline thing,
since the output and pipe are shipped in output while the perfdata
doesn't seem to be.

> I'm wondering if it might be something to do with the embedded perl
> interpreter. Does NRPE use this to execute perl-flavoured plugins?
> 

It does not. Only plugins executed directly by Nagios can be affected
by embedded perl.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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