Error: Request contained command arguments!
Posted: Wed Jan 24, 2018 7:42 am
Dear Team:
I am trying to configure the monitoring of a Debian 8 server from my Nagios XI, for which configure NRPE manually. When I add the server in the Nagios XI I get the following error:
Current Load Unknown 32m 49s 5/5 2018-01-24 09:23:53 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
I check the remote server logs and I see the following:
[1516807843] Error: Request contained command arguments!
[1516807843] Client request from was invalid, bailing out...
I check the nrpe.cfg file on the remote server and "dont_blame_nrpe" opcion is in 1:
# Values: 0=do not allow arguments, 1=allow command arguments
dont_blame_nrpe=1
The communication between the Nagios XI and the Debian Server works fine, because when I make a query without arguments from the Nagios XI, the Debian Server answered me:
[root@localhost ~]# /usr/local/nagios/libexec/check_nrpe -H 192.168.20.101 -c check_load
OK - load average: 0.00, 0.01, 0.05|load1=0.000;0.150;0.300;0; load5=0.010;0.100;0.250;0; load15=0.050;0.050;0.200;0;
[root@localhost ~]#
Please, you can help me with this problem?
Regards,
I am trying to configure the monitoring of a Debian 8 server from my Nagios XI, for which configure NRPE manually. When I add the server in the Nagios XI I get the following error:
Current Load Unknown 32m 49s 5/5 2018-01-24 09:23:53 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
I check the remote server logs and I see the following:
[1516807843] Error: Request contained command arguments!
[1516807843] Client request from was invalid, bailing out...
I check the nrpe.cfg file on the remote server and "dont_blame_nrpe" opcion is in 1:
# Values: 0=do not allow arguments, 1=allow command arguments
dont_blame_nrpe=1
The communication between the Nagios XI and the Debian Server works fine, because when I make a query without arguments from the Nagios XI, the Debian Server answered me:
[root@localhost ~]# /usr/local/nagios/libexec/check_nrpe -H 192.168.20.101 -c check_load
OK - load average: 0.00, 0.01, 0.05|load1=0.000;0.150;0.300;0; load5=0.010;0.100;0.250;0; load15=0.050;0.050;0.200;0;
[root@localhost ~]#
Please, you can help me with this problem?
Regards,