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.
Recently i have build a new nagios core 4.3.4 server (centos 6.9) and i see a lot of entries in syslog as below. The client servers
being monitored by this nagios core 4.3.4 are still on nrpe 2.14. Is this something serious - or can be neglected ?
I was thinking of upgrading the 2.14 nrpe on the clients to the latest 3.2.1 nrpe . And not sure if there is a proper way to do this ...
to upgrade directly 2.14 nrpe to 3.2.1 using yum/source/etc...seeking your advice. Thanks.
[root@m246nagios log]# tail -f messages
Oct 27 16:01:56 m246nagios check_nrpe: Remote 10.0.0.54 does not support Version 3 Packets
Oct 27 16:01:57 m246nagios check_nrpe: Remote 10.0.1.55 does not support Version 3 Packets
Oct 27 16:01:59 m246nagios check_nrpe: Remote 10.0.1.71 does not support Version 3 Packets
Oct 27 16:01:59 m246nagios check_nrpe: Remote 10.0.0.70 does not support Version 3 Packets
Oct 27 16:02:00 m246nagios check_nrpe: Remote 10.0.1.242 does not support Version 3 Packets
Oct 27 16:02:02 m246nagios check_nrpe: Remote 10.0.1.117 does not support Version 3 Packets
Oct 27 16:02:02 m246nagios check_nrpe: Remote 10.0.1.233 does not support Version 3 Packets
Oct 27 16:02:02 m246nagios check_nrpe: Remote 10.0.1.31 does not support Version 3 Packets
Oct 27 16:02:06 m246nagios check_nrpe: Remote 10.0.0.6 does not support Version 3 Packets
Oct 27 16:02:06 m246nagios check_nrpe: Remote 10.0.0.29 does not support Version 3 Packets
Oct 27 16:02:07 m246nagios check_nrpe: Remote 10.0.0.132 does not support Version 3 Packets
Oct 27 16:02:08 m246nagios check_nrpe: Remote 10.0.0.4 does not support Version 3 Packets
Oct 27 16:02:08 m246nagios check_nrpe: Remote 10.0.0.28 does not support Version 3 Packets
Oct 27 16:02:09 m246nagios check_nrpe: Remote 10.0.0.2 does not support Version 3 Packets
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.
The options you have to stop the errors are:
Upgrade the client to v3 -- This will stop the errors
Force the plugin to send v2 packets -- Using the -2 argument will force the plugin to connect with v2 packets -- /usr/local/nagios/libexec/check_nrpe -2 -H centos12
Shy several thousands of hosts being checked via NRPE, I don't think this is a major problem. However, you're essentially checking everything twice: Once with a v3 packet then again with a v2 packet.