I am facing an issue with NRPE and I would like your help.
I have two nagios core servers installed. The primary nagios is on Centos 6.5 and the backup is on Centos 7.2.
The servers were installed almost 2 years ago and everything worked fine. I had setup NRPE checks from one nagios server to the other in order to make sure that everything runs smoothly.
Yesterday I performed a restart on the primary nagios server and after this, it doesn't accept arguments in the NRPE checks.
The same happens when I run the commands from the remote nagios as well as the machine itself.
e.g.
Code: Select all
# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
NRPE v2.15
Code: Select all
# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -p 5666 -t 30 -c check_disk -a 5% 10% /dev/mapper/vg_cloudnagios-lv_root
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
Code: Select all
nagios: wproc: Core Worker 1648: job 32216 (pid=21930): Dormant child reaped
xinetd[21894]: START: nrpe pid=22042 from=::ffff:127.0.0.1
nrpe[22042]: Error: Request contained command arguments!
nrpe[22042]: Client request was invalid, bailing out...
xinetd[21894]: EXIT: nrpe status=0 pid=22042 duration=0(sec)
As NRPE is running under xinetd, I have restarted xinetd service.
Any help would be greatly appreciated.
Thanks,
Anna