We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

CHECK_NRPE: Receive header underflow - only -1 bytes receive

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

CHECK_NRPE: Receive header underflow - only -1 bytes receive

Postby iuliat23 » Tue Jun 14, 2022 6:34 pm

Hello everyone!

I am currently facing some issues with my Nagios and NRPE configuration. When i try to run a check from my Nagios server, I get the following errors, where the 172.17.0.4 is the IP of my remote host (nrpe.cfg has my Nagios server IP in allowed hosts and also the port 5666 is listening):
Code: Select all
iulia@iulia-vm:~/Desktop/simulare$ /usr/local/nagios/libexec/check_nrpe -H 172.17.0.4 -c check_users
CHECK_NRPE: Error - Could not connect to 172.17.0.4: Connection reset by peer
iulia@iulia-vm:~/Desktop/simulare$ /usr/local/nagios/libexec/check_nrpe -H 172.17.0.4 -c check_users --no-ssl
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
iulia@iulia-vm:~/Desktop/simulare$ /usr/local/nagios/libexec/check_nrpe -H 172.17.0.4 -c check_users -n
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).


Also, I have tried different ways of installing nrpe on my remote hosts, but I still cannot find one from one single place that works, I ussually combined them, due to the fact that I got errors. Could you also recommend me a trustworthy site or guide for nrpe installation?

Thank you and please let me know if I need to provide something additional. :ugeek:
iuliat23
 
Posts: 1
Joined: Wed Jun 01, 2022 3:47 pm

Return to Community Support

Who is online

Users browsing this forum: No registered users and 12 guests