Solved

CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).

  • 22 August 2023
  • 2 replies
  • 1324 views

Userlevel 1
Badge +3

Hello everyone,

Does anyone have an idea how to resolve this error:

CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected).

 

Command:

./check_centreon_nrpe3 -H xx.xx.xx.x -p 5666 -t 60 -u -2 -P 8192 -c check_centreon_plugins -a   'os::windows::local::plugin' 'updates' 

 

On some servers it works with the same versions: 
(0.5.1.46 2017-09-24) and (centreon_plugins_20221710)

Other commands like CPU, Memory, Disk are ok.

Modes Available:
   cmd-return
   list-storages
   pending-reboot
   sessions
   time
   updates

icon

Best answer by cesinhaleal 5 October 2023, 16:15

View original

2 replies

Userlevel 4
Badge +12

Hi @cesinhaleal 

What do you get with this command?

./check_centreon_nrpe3 -H xx.xx.xx.x -p 5666 -t 60 -u -2 -P 8192

Does the server reply the NSClient++ version number?

Userlevel 1
Badge +3

Hi @cesinhaleal 

What do you get with this command?

./check_centreon_nrpe3 -H xx.xx.xx.x -p 5666 -t 60 -u -2 -P 8192

Does the server reply the NSClient++ version number?



Resolved, it is related to timeout.

It is necessary to increase the timeout to 600 sec in nsclient and command

Reply