CHECK_NRPE: Receive header underflow - only 0 bytes received

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.
raydx
Posts: 34
Joined: Thu Jun 28, 2018 3:51 pm

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by raydx »

nsclient_14Nov.log
(13.42 KiB) Downloaded 199 times
Ran with the up-dated nsclient ini file.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by tgriep »

When you ran the check_eventlog command on the Windows server in the nscp test window, how long did it take to run?
Be sure to check out our Knowledgebase for helpful articles and solutions!
raydx
Posts: 34
Joined: Thu Jun 28, 2018 3:51 pm

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by raydx »

Now when I run check_eventlog in nscp, I'm not getting:
L cli OK: OK: No entries found
L cli Performance data: 'problem_count'=0;0;0
like I was before.

From nsclient log file:
2018-11-21 12:22:23: error:c:\source\master\include\socket/connection.hpp:139: Socket was unexpectedly closed trying to send data (possibly check your timeout settings)
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by tgriep »

Edit the nsclient.ini file on the Windows system and under this section

Code: Select all

[/settings/default]
Change this

Code: Select all

timeout = 60
to

Code: Select all

timeout = 600
Save the change and restart the NSClient++ agent and see if the test passes.

If not, you will have to contact the author of the NSClient++ agent for more help at the following link.

http://www.nsclient.org/
Be sure to check out our Knowledgebase for helpful articles and solutions!
raydx
Posts: 34
Joined: Thu Jun 28, 2018 3:51 pm

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by raydx »

Service still fails after editing nsclient.ini file per your instructions.

I will contact the author of the NSClient++ agent.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: CHECK_NRPE: Receive header underflow - only 0 bytes rece

Post by tgriep »

OK, thanks. If the test fails on the Windows system, there is not much else we can do so the author may be able to help you out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked