Error when setting up nrpe custom_check_mem
Posted: Wed Aug 14, 2019 9:51 am
I'm adding a service to existing host with currently working nrpe services. I can run the command locally on the host. When I try it remotely I get a couple different errors.
I tried running this manually from nagios server with multiple arguments including those on the KB article here https://support.nagios.com/kb/article/m ... s-774.html:
./check_nrpe -H x.x.x.x -t 30 -c custom_check_mem -a 'warn=free<20%' 'crit=free<10%'
Now I've tried this with multiple arguments and the "check_memory" command doesn't exist on the host nrpe client (but custom_check_mem does)
I get either "NRPE: Command 'custom_check_mem' not defined" or as with the exact command above "CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected)."
New to nagios - any help appreciated.
I tried running this manually from nagios server with multiple arguments including those on the KB article here https://support.nagios.com/kb/article/m ... s-774.html:
./check_nrpe -H x.x.x.x -t 30 -c custom_check_mem -a 'warn=free<20%' 'crit=free<10%'
Now I've tried this with multiple arguments and the "check_memory" command doesn't exist on the host nrpe client (but custom_check_mem does)
I get either "NRPE: Command 'custom_check_mem' not defined" or as with the exact command above "CHECK_NRPE: Receive header underflow - only 0 bytes received (4 expected)."
New to nagios - any help appreciated.