Closed majed17 closed 4 years ago
Hi @majed17. From what I remember, there are two reasons this can happen:
If these all match up and you're still having issues after restarting NRPE, let me know and we can look into it further.
well, the ssl options are preceded with #, and i tried restarting nrpe on the server too
Hi all, I have the same issue - also on Gentoo.
Both servers have net-analyzer/nrpe-4.0.0 installed. The client says this:
Error: Request packet had invalid CRC32.
Client request from XXX.XXX.XXX.XXX was invalid, bailing out...
My monitoring server which runs the check_nrpe says this:
Remote XXX.XXX.XXX.XXX does not support version 3/4 packets
When I add the "-2" hyphen to the check_nrpe the warning is gone
Remote XXX.XXX.XXX.XXX accepted a version 2 packet
Funny part is, it still works. I get the correct and same nrpe outputs regardless of nrpe version (2, 3 or 4). Maybe the warning is shown wrongly or maybe there is an internal fallback to version 2?
@Thraze, your specific issue was something we noticed with NRPE 4.0.0. It should be fixed in the latest release (4.0.3), and it was as you said - the newer protocols were always failing, but the automatic retry using v2 would work.
@majed17, I suppose I should have asked - are you getting correct check results from running check_nrpe? If you're seeing the same behavior as @Thraze then I recommend the same fix (upgrading to latest).
@sawolf Thanks for the reply. Good to know. Currently NRPE 4.0.0 is the latest stable version for gentoo and not even a "test"-ebuild for 4.0.3 exist yet. But I will just update as soon as possible.
./check_nrpe -H 10.10.10.12 -c check_cpu OK - user: 1.14, nice: 0.50, sys: 0.74, iowait: , irq: 0.50, softirq: idle: 99.55 | 'user'=1.14 'nice'=0.50 'sys'=0.74 'softirq'= 'iowait'= 'irq'=0.50 'idle'=99.55
@majed17, that output looks okay to me (check_cpu may have missing performance data, but the NRPE parts seem fine). Am I okay to close the issue?
as mentioned it looks okay to even nagios yet Error: Request packet had invalid CRC32 are still on the client side...
Just to be clear - you're still receiving this after upgrading both the Gentoo server and the Ubuntu client to NRPE v4.0.3?
man when 4.0.3 will be available in gentoo, i'll test, so until then..
Thanks for clarifying. I'm going to close this issue for now. If either of you still have issues after upgrading to v4.0.3, leave a response here and we can re-open the issue.
i have a resolution
@majed17 do you have a fix? Can you please provide information on the fix?
4.0.3 is long available on gentoo, you just have to install it
Peace, server is Gentoo nrpe v4, and today client became Ubuntu 20 so also nrpe v4..nagios is not reporting any errors but on Ubuntu i see:
what does this mean?