Error: Request packet type/version was invalid!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
w-bao
Posts: 33
Joined: Mon Apr 04, 2016 11:57 am

Error: Request packet type/version was invalid!

Post 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...
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked