Error: Request contained command arguments!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mpedros
Posts: 27
Joined: Wed Jan 10, 2018 6:30 pm
Location: Buenos Aires, Argentina

Error: Request contained command arguments!

Post by mpedros »

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,
Martin Pedros
User avatar
mpedros
Posts: 27
Joined: Wed Jan 10, 2018 6:30 pm
Location: Buenos Aires, Argentina

Re: Error: Request contained command arguments!

Post by mpedros »

Dear Team:

I solved the problem by recompiling from the client side with the option:

/tmp/nrpe-nrpe-3.2.1# ./configure --enable-command-args

Thanks.
Martin Pedros
Locked