Performance data not being returned

Alex Griffin agriffin at nagios.com
Mon May 14 17:33:41 CEST 2012


Are the newlines in your output an artifact of sending this over email 
or are there really newlines in your plugin output? If they're really 
there, you should eliminate them.

Alex Griffin
---
Tech Team
agriffin at nagios.com

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'm wondering if it might be something to do with the embedded perl
> interpreter. Does NRPE use this to execute perl-flavoured plugins?
>
> Thanks for your help,
> Jonathan
>
> ------------------------------------------------------------------------------
> 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

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