I’m attempting to get the check_multi plugin working through nrpe. To do so, I have to increase the buffer check_result buffer size both in nagios and nrpe.
I’ve sucessfully recompiled nagios, but nrpe continues to be a challenge. I edited the common.h file and changed MAX_INPUT_BUFFER and MAX_PACKETBUFFER_LENGTH to be 16384 (16 bits). It compiles without error as well as starts, but attempting to connect to the daemon always results in a :
Sep 22 14:27:05 *** nrpe: Error: Request packet had invalid CRC32.
Sep 22 14:27:05 *** nrpe: Client request was invalid, bailing out…
I’ve tried using the recompiled plugin as well and it seems that it only likes to work with the default buffer size.
Has anyone made this mod?