hi team,
we have upgraded our nagios server to 5.8.1 last week and post that we could see a lot of messages in the client machine which stated that "CHECK_NRPE: Invalid packet version received from server."
version is 3.2.1
/var/log/messages
Feb 15 22:28:50 gvujss01 nrpe[104780]: INFO: SSL Socket Shutdown.
Feb 15 22:28:52 gvujss01 nrpe[104787]: Error: (use_ssl == true): Request packet version was invalid!
Feb 15 22:28:52 gvujss01 nrpe[104787]: Could not read request from client 149.24.38.140, bailing out...
Feb 15 22:28:52 gvujss01 nrpe[104787]: INFO: SSL Socket Shutdown.
Feb 15 22:29:12 gvujss01 nrpe[104831]: Error: (use_ssl == true): Request packet version was invalid!
Feb 15 22:29:12 gvujss01 nrpe[104831]: Could not read request from client 149.24.38.140, bailing out...
Feb 15 22:29:12 gvujss01 nrpe[104831]: INFO: SSL Socket Shutdown.
Feb 15 22:30:17 gvujss01 nrpe[104872]: Error: (use_ssl == true): Request packet version was invalid!
Feb 15 22:30:17 gvujss01 nrpe[104872]: Could not read request from client 149.24.38.140, bailing out...
Feb 15 22:30:17 gvujss01 nrpe[104872]: INFO: SSL Socket Shutdown.
Feb 15 22:30:37 gvujss01 nrpe[104898]: Error: (use_ssl == true): Request packet version was invalid!
Feb 15 22:30:37 gvujss01 nrpe[104898]: Could not read request from client 149.24.38.140, bailing out...
/usr/local/nagios/libexec/check_nrpe -H 149.24.164.24
CHECK_NRPE: Invalid packet version received from server.
I (0.5.1.44 2017-08-30) seem to be doing fine.
i have followed this: https://support.nagios.com/kb/article.php?id=516 but do we have any permanent workaround on this rather then editing the service with "-2"
CHECK_NRPE: Invalid packet version received from server.
-
IT-OPS-SYS
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Re: CHECK_NRPE: Invalid packet version received from server.
Does that error go away if you pass a -3 to the check?
Or:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H X.X.X.X -3Code: Select all
/usr/local/nagios/libexec/check_nrpe -H X.X.X.X -3 -nIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
IT-OPS-SYS
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Re: CHECK_NRPE: Invalid packet version received from server.
its going off but we cannot edit the changes to so many nrpe commands. any other feasible way of doing it
Re: CHECK_NRPE: Invalid packet version received from server.
You could edit the underlying service template. Nagios has a system of command templates that you could use to maintain ONE place where the whole "check_nrpe" command is defined, and applied to individual services via linkage.
More on object inheritance can be found here: https://assets.nagios.com/downloads/nag ... tance.html
More on object inheritance can be found here: https://assets.nagios.com/downloads/nag ... tance.html
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.