THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Products » NRPE » Troubleshooting » Common Problems

NRPE - Remote does not support Version 3 Packets

Problem Description

This KB article describes why you are seeing the following error message on your Nagios server when the check_nrpe plugin is run:

Nov 28 08:51:34 office_itx_gentoo check_nrpe: Remote 10.25.11.3 does not support Version 3 Packets

Depending on your logging daemon this message could be logged in /var/log/messages or /var/log/syslog.

When the NRPE v3 client first establishes a connection, it tries with the v3 packet. This results in the older client rejecting the request. Upon receiving the rejected request the plugin will then attempt to connect with the v2 packet. This request will succeed however errors are produced in the log on the client and the Nagios server. NSClient++ and NRPE before 3 do not support the v3 packet type.

These KB articles provide more detailed information:

Documentation - Packet Size Explained

Documentation - NRPE v3 Compatibility With Previous Versions

 

Resolution #1

One method to prevent this message from being logged is to force the check_nrpe plugin to connecting with a v2 packet.

check_nrpe -2 -H 10.25.11.3

 

This could be defined in your Nagios command definition or on the service checks themselves.

 

Resolution #2

You could also configure rsyslog on your Nagios server to discard these messages, preventing them from being logged. The following steps are for RHEL / CentOS, if you use a different OS then the file locations and daemon commands could be slightly different.

Establish a terminal session to your Nagios server as the root user. Edit the /etc/rsyslog.conf file in the vi editor by executing the following command:

vi /etc/rsyslog.conf

When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.

 

Add the following line directly under the #### RULES #### line:

#### RULES ####
:msg, contains, "does not support Version 3 Packets" ~

 

When you have finished, save the changes in vi by typing:

:wq

and press Enter.

 

You need to restart the rsyslog service using one of the commands below:

RHEL/CentOS 5.x/6.x

service rsyslog restart

 

RHEL/CentOS 7.x

systemctl restart rsyslog.service

 

Once you've made these changes the message will no longer be logged.

 

 

Resolution #3

Another method to prevent this message from being logged is to force the check_nrpe plugin to disable logging to syslog with the -D option.

check_nrpe -D -H 10.25.11.3

 

This could be defined in your Nagios command definition or on the service checks themselves.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
NRPE - Return Code Of 127 Is Out Of Bounds - Plugin May Be Missing
Viewed 31806 times since Fri, Jul 14, 2017
NRPE - Turn Off XINETD Logging On Success
Viewed 14952 times since Tue, Mar 7, 2017
NRPE - UNKNOWN: No Handler For That Command
Viewed 16536 times since Mon, Jul 17, 2017
NRPE - Linux Cached Memory Not Added to Free Memory
Viewed 11403 times since Wed, Jan 27, 2016
NRPE - CHECK_NRPE: Error Receiving Data From Daemon
Viewed 13534 times since Mon, Jul 17, 2017
NRPE - Command ’[Your Plugin]’ Not Defined
Viewed 10969 times since Mon, Jul 17, 2017
NRPE - Connection Refused Or Timed Out
Viewed 11184 times since Mon, Jul 17, 2017
How To Clear Solaris Service Maintenance Status
Viewed 35741 times since Mon, Mar 6, 2017
NRPE - General Troubleshooting Tips
Viewed 20673 times since Mon, Jul 17, 2017
NRPE - Connection Refused By Host
Viewed 16973 times since Mon, Jul 17, 2017