Hi All,
Recently we have upgraded Nagios XI from 5.4.13 - 5.5.5.
Post Upgrade few services of a server went to unknown state with
Error message as " Could not construct return packet in NRPE handler check client side (nsclient.log) logs"
Suggest what can be done?
Thanks and Regards,
Mayur
Unknown Issue:NRPE handler check client side
Unknown Issue:NRPE handler check client side
Thanks
Höegh
Höegh
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unknown Issue:NRPE handler check client side
Hello, @hoegh. In XI web interface go to the Configure menu/Core Configurations Manager, click on the commands in the left column, search for the check_nrpe command and change it to look like this:
If this doesn't work please upload the nslcient log file from the windows server.$USER1$/check_nrpe -2 -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unknown Issue:NRPE handler check client side
Hi @npolovenko,
Thanks for your quick reply, Issue has been resolved after making changes suggested by you.
When we upgraded Nagios to 5.5.5 then we encountered this problem with more than 10 servers. After searching on forum we found this solution to add -2 in command, and it worked with all servers except one.
below is the way we changed command:
2018-10-31 05:30:18: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:31:36: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:31:37: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:32:45: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
Please tell me , when i added -2 in check_nrpe command it worked with all other servers except one server?
Now when i added -2 in start of command then it's working fine.
Thanks & Regards
Hoegh
Thanks for your quick reply, Issue has been resolved after making changes suggested by you.
When we upgraded Nagios to 5.5.5 then we encountered this problem with more than 10 servers. After searching on forum we found this solution to add -2 in command, and it worked with all servers except one.
below is the way we changed command:
& we got below error in Log File on server:$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$ -2
2018-10-31 05:30:18: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:31:36: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:31:37: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
2018-10-31 05:32:45: error:modules\NRPEListener\NRPEListener.cpp:317: Exception handling NRPE packet: Invalid packet version.
Please tell me , when i added -2 in check_nrpe command it worked with all other servers except one server?
Now when i added -2 in start of command then it's working fine.
Thanks & Regards
Hoegh
Thanks
Höegh
Höegh
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unknown Issue:NRPE handler check client side
@hoegh, Looks like -2 at the end did not work for that particular nrpe client, and it defaulted to v3 packets which were not supported. Was this on a windows server? Perhaps there was a special character in one of the arguments that made Nagios think -2 was the extension of the command.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unknown Issue:NRPE handler check client side
Hi @npolovenko,
Yes It is a windows Server.
The issue is resolved now, you may close this thread.
Regards,
Mayur.
Yes It is a windows Server.
The issue is resolved now, you may close this thread.
Regards,
Mayur.
Thanks
Höegh
Höegh
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unknown Issue:NRPE handler check client side
@hoegh, Closing the thread. Thanks for using the support forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.