[Nagiosplug-devel] NRPE larger buffers
daniel.wittenberg.r0ko at statefarm.com
Tue Mar 29 18:08:04 CEST 2011
I've seen this problem posted from many sources over the years, but alas, there is no way to dynamically adjust the NRPE buffers in the main code.
I updated nrpe-2.12/include/common.h:
#define MAX_INPUT_BUFFER 20480
#define MAX_PACKETBUFFER_LENGTH 20480
I can then use check_nrpe to talk to our nslclient (with string_length=20480) and everything appears to work fine. However, when talking to nrpe, even localhost, I still get some CRC failure messages. For the heck of it I disabled that fatal return code, and sometimes it works, sometimes it doesn't. Any clue why crc would sometimes fail and sometimes not ? I looked at the code but didn't see anything obvious. There was a nice patch from op5 for nrpe:
But there's no patch for nsclient to do this and since I have multi-platforms to support that doesn't work so well for me. Any other clues how to get this to work stable with larger buffer sizes?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel