CHECK_NRPE: Receive header underflow - only -1 bytes receive
Posted: Mon Feb 25, 2019 11:02 am
Good afternoon,
I have this lab architecture.
* One server with Nagios Core installed. That's contains NRPE 3.2.1 (latest) version. I've installed following this instructions: https://support.nagios.com/kb/article/n ... rpe-8.html
* Five Linux servers with samba, glusterfs, nfs... and more. That's already installed NRPE 2.12, works with Nagios Core Server.
* This five hosts can send information to Nagios Core, and Nagios Core can show information of this hosts.
* Nagios Core server cannot check yourself. I get this error message:
I've tried with Local Area Network IP: 192.168.1.1
I've tried with localhost
I've tried with loopback ip (127.0.0.1)
* I've installed new server with glusterfs with new NRPE (3.2.1), I've tried to connect into Nagios Core and I get:
./check_nrpe -H 192.168.1.1 -n
* However, I installed NRPE 2.12 version in the new server already added and that's works.
What happend here? How is possible 2.12 version (too old) is works but new version cannot do it.
NRPE 3.2.1 cfg: https://paste.fedoraproject.org/paste/4 ... trV~FG8Lfg
NRPE 2.12 cfg: https://paste.fedoraproject.org/paste/d ... FmvW2WPU2Q
I have this lab architecture.
* One server with Nagios Core installed. That's contains NRPE 3.2.1 (latest) version. I've installed following this instructions: https://support.nagios.com/kb/article/n ... rpe-8.html
* Five Linux servers with samba, glusterfs, nfs... and more. That's already installed NRPE 2.12, works with Nagios Core Server.
* This five hosts can send information to Nagios Core, and Nagios Core can show information of this hosts.
* Nagios Core server cannot check yourself. I get this error message:
Code: Select all
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
I've tried with Local Area Network IP: 192.168.1.1
Code: Select all
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
I've tried with localhost
Code: Select all
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
I've tried with loopback ip (127.0.0.1)
Code: Select all
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
* I've installed new server with glusterfs with new NRPE (3.2.1), I've tried to connect into Nagios Core and I get:
./check_nrpe -H 192.168.1.1 -n
Code: Select all
CHECK_NRPE: Receive header underflow - only -1 bytes received (4 expected).
* However, I installed NRPE 2.12 version in the new server already added and that's works.
What happend here? How is possible 2.12 version (too old) is works but new version cannot do it.
NRPE 3.2.1 cfg: https://paste.fedoraproject.org/paste/4 ... trV~FG8Lfg
NRPE 2.12 cfg: https://paste.fedoraproject.org/paste/d ... FmvW2WPU2Q