According to this page[1] the limit of $LONGSERVICEOUTPUT$ is 4kB, but it is 1024 bytes.
Code: Select all
# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_zfs_zpool | wc -c
1024
Code: Select all
contrib/nrpe_check_control.c:#define MAX_CHARS 1024
Code: Select all
include/common.h:#define MAX_PACKETBUFFER_LENGTH 1024 /* max amount of data we'll send in one query/response */
I would like to make a patch for this. Can anyone explain why changing those values, does work out as I expect?
Hugs,
Sandra
[1]: http://nagios.sourceforge.net/docs/3_0/pluginapi.html