NRPE packet buffer limitations

Mike Emigh maemigh at gmail.com
Tue Jan 2 20:16:23 CET 2007


Greetings,

I was wondering if anyone had found the proper way to modify nrpe to receive
more than the 1024 character limit imposed in MAX_PACKETBUFFER_LENGTH.  I
adjusted it from 1024 to 1536 and have used this setting for quite some time
now and it works; however, graceful connection shutdowns are not possible
when using this modification.

It appears that nrpe tries to send all data in just a single packet.  Is
there a reason that multiple packets aren't used if the packet buffer isn't
large enough to accommodate all of the plugin output?  I could see this
being especially troublesome for Nagios 3.0 as the buffer will be too small
to fully take advantage of multiline output.

Regards,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070102/63f6ff21/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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