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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
heyajinkya
Posts: 2
Joined: Wed Jul 19, 2017 11:00 am

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

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
heyajinkya
Posts: 2
Joined: Wed Jul 19, 2017 11:00 am

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

Post 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?
kyang

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

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Thanks @kyang!

@heyajinkya Let us know if you have any more questions/issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked