Page 1 of 1

CHECK_NRPE: Receive header underflow - only 0 bytes received

Posted: Thu Oct 22, 2020 8:31 am
by mccrakem
Hi

I am seeing alot of new monitors that have been configured reporting back with the following message
CHECK_NRPE: Receive header underflow - only 0 bytes received

These are on CentOS7 Servers

The Monitors are setup as like this
Check Command
check_nrpe
$ARG1$ check_mem
$ARG2$ -a '-w 20 -c 10'

When it is configured like this we get the above meaage

If I remove $ARG2$ then the Monitor reports back OK

Thanks

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

Posted: Fri Oct 23, 2020 2:58 pm
by ssax
Do you have dont_blame_nrpe=1 set in your /usr/local/nagios/etc/nrpe.cfg file to allow arguments on the remote system?

Please attach these files from one of the failing NRPE systems:

Code: Select all

/usr/local/nagios/etc/nrpe.cfg
/usr/local/nagios/etc/nrpe/common.cfg
What does

Code: Select all

/var/log/messages
show on the remote system when you run the check and it fails?