z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

CHECK_NRPE: Receive header underflow - only -1 bytes receive

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.

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 Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 25 guests