<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>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.</div>
<div> </div>
<div>I updated nrpe-2.12/include/common.h:</div>
<div> </div>
<div>#define MAX_INPUT_BUFFER 20480</div>
<div><font face="Times New Roman"> </font></div>
<div>#define MAX_PACKETBUFFER_LENGTH 20480</div>
<div><font face="Times New Roman"> </font></div>
<div>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:</div>
<div> </div>
<div><font face="Times New Roman"><a href="http://labs.opsview.com/2008/08/enhancing-nrpe-for-large-output/"><font face="Calibri" color="blue"><u>http://labs.opsview.com/2008/08/enhancing-nrpe-for-large-output/</u></font></a></font></div>
<div><font face="Times New Roman"> </font></div>
<div>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?</div>
<div><br>
Dan</div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div>
</span></font>
</body>
</html>