Page 1 of 1

Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitation

Posted: Wed Jul 19, 2017 5:44 pm
by heyajinkya
Hi guys,

I recently started using Nagios Core 4.2 with NRPE 2.15 and was facing this issue where output was getting truncated to 1kb. I tried the patch online to increase the limit from 1024 bytes and recompiled source but it didnt work.
THen i updated to NRPE but it still gives 1KB limit. Dont know where I am doing wrong. Are the 2 versions getting conflicted and didnt get get overwritten after the upgrade?
How did you resolve the limitation, upgrade and recompilation steps?
I have posted the same on Stackoverflow - Please find more details here https://stackoverflow.com/questions/452 ... 1024-bytes

Re: Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitati

Posted: Thu Jul 20, 2017 10:16 am
by mcapra
Until you update the check_nrpe plugin you will not be able to take advantage of the larger v3 packet size.
From:
https://support.nagios.com/kb/article.php?id=518

Did you also update check_nrpe on the Nagios Core side of things after you updated the remote machine's NRPE? Because if check_nrpe is still on the 2.x version, that might be one cause.

Re: Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitati

Posted: Thu Jul 20, 2017 12:00 pm
by tgriep
That is correct, to be able to use the larger payload size, the NRPE Agent and the check_nrpe command would have to be running version 3.x.x.

Re: Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitati

Posted: Mon Jul 31, 2017 5:56 am
by heyajinkya
For days I am looking online for v3 of Nagios-NRPE plugin ( check_nrpe plugin as its called) but I am not able to find the new version.
On official site and on their github, Nagios Plugins 2.2.1 is the latest one.
Can you please let me know where to find v3?

Re: Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitati

Posted: Mon Jul 31, 2017 11:07 am
by kyang
Hi @heyajinkya,

Here is the KB article on installing NRPE v3. Hope this is what you are looking for!

https://support.nagios.com/kb/article.php?id=515

Re: Upgrading NRPE from 2.15 to 3 doesn't solve 1KB limitati

Posted: Mon Jul 31, 2017 11:35 am
by lmiltchev
Thanks @kyang!

@heyajinkya Let us know if you have any more questions/issues.