NRPE - Request contained command arguments

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

NRPE - Request contained command arguments

Post by awilson »

Hi. Does the following mean that nrpe was compiled without the --enable-command-args configure script option?

I've been scouring the nrpe.cfg file for a check configured without arguments, but it has them.

If it was, is it safe to copy an executable from a similar host or should I reinstall with the correct option?

The nrpe version seems odd with the "vnrpe."

Code: Select all

NRPE vnrpe-3.0
Thanks!

Code: Select all

Nov 14 13:05:11 remotehost nrpe[26426]: Error: Request contained command arguments!
Nov 14 13:05:11 remotehost nrpe[26426]: Client request from  was invalid, bailing out...
Nov 14 13:05:11 remotehost xinetd[26217]: EXIT: nrpe status=0 pid=26426 duration=0(sec)
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE - Request contained command arguments

Post by benjaminsmith »

Hello @awilson,

You'll need to re-compile with the correct option. Please see the instructions below.

NRPE - How To Install NRPE v3 From Source

There is also a configuration option that enables command arguments, make sure that is enabled in the configuration file.

Check that this option is set to 1 to allow arguments to be received.

Code: Select all

vi /usr/local/nagios/etc/nrpe.cfg
dont_blame_nrpe=1
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: NRPE - Request contained command arguments

Post by awilson »

Thank you. You can close this.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NRPE - Request contained command arguments

Post by benjaminsmith »

Hi @awilson,
Thank you. You can close this.
Sounds good. We'll lock this up.

Have a great weekend!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked