Page 1 of 1

Error: Request packet type/version was invalid!

Posted: Wed Apr 03, 2019 10:17 am
by w-bao
We see the following errors in our Nagios agents. These alerts happen on all of our clients and occur several times every second which is very annoying. how can we get rid of them? Thanks!

Apr 3 11:06:29 xxxxxx nrpe[9801]: Client request was invalid, bailing out...
Apr 3 11:06:59 xxxxxx nrpe[9854]: Error: Request packet type/version was invalid!
Apr 3 11:06:59 xxxxxx nrpe[9854]: Client request was invalid, bailing out...
Apr 3 11:07:11 xxxxxx nrpe[9858]: Error: Request packet type/version was invalid!
Apr 3 11:07:11 xxxxxx nrpe[9858]: Client request was invalid, bailing out...
Apr 3 11:07:12 xxxxxx nrpe[9862]: Error: Request packet type/version was invalid!
Apr 3 11:07:12 xxxxxx nrpe[9862]: Client request was invalid, bailing out...
Apr 3 11:07:23 xxxxxx nrpe[9866]: Error: Request packet type/version was invalid!
Apr 3 11:07:23 xxxxxx nrpe[9866]: Client request was invalid, bailing out...
Apr 3 11:07:24 xxxxxx nrpe[9870]: Error: Request packet type/version was invalid!
Apr 3 11:07:24 xxxxxx nrpe[9870]: Client request was invalid, bailing out...
Apr 3 11:07:38 xxxxxx nrpe[9905]: Error: Request packet type/version was invalid!
Apr 3 11:07:38 xxxxxx nrpe[9905]: Client request was invalid, bailing out...

Re: Error: Request packet type/version was invalid!

Posted: Wed Apr 03, 2019 10:55 am
by lmiltchev
These errors usually show up when you upgraded the plugin on the Nagios server but the client has not been upgraded yet. You could either upgrade NRPE from v.2.15 to v.3.x or modify your checks by adding the "-2" argument, which will for the plugin to connect with v2 packets.

Code: Select all

 /usr/local/nagios/libexec/check_nrpe -2 -H <client ip>
For more information, see our KB article on the topic here:

https://support.nagios.com/kb/article/n ... s-516.html