We would like to integrate the new nagios-plugin "check_multi" in our monitoring-structure. check_multi is a multi purpose wrapper plugin which takes benefit of the Nagios 3.x capability to display multiple lines of plugin output. But to start with it, we must increase the buffer limits (MAX_INPUT_BUFFER and MAX_PACKETBUFFER_LENGTH) defined in the include/common.h. For this purpose it would be nice to have an USE-Flag or something else to install nagios-nrpe with a buffer limit of 8192. Reproducible: Always Steps to Reproduce: 1. Install net-analyzer/nagios-nrpe-2.12-r102 with the default buffer limits. 2. Install the nagios-plugin "check_multi" 3. Use the check_multi plugin Actual Results: Nagios will only read the first 4 KB of data that the plugin returns. Expected Results: Nagios should read the whole string. Linkt to check_multi: http://my-plugin.de/wiki/projects/check_multi/start
maybe AFAIK this breaks backward-compatibility and compatibility to non-patched nrpe-instances. maybe [1] seems to be a better way to resolve this issue? [1] http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html
(In reply to comment #1) > maybe AFAIK this breaks backward-compatibility and compatibility to non-patched > nrpe-instances. maybe [1] seems to be a better way to resolve this issue? > > [1] http://opsview-blog.opsera.com/dotorg/2008/08/enhancing-nrpe.html > Yep, much "smarter" to solve it that way. Added in 2.12-r103.