[Nagiosplug-help] Error: Request contained command arguments, but argument option is not enabled!

Philip Marcus pmarcus at structuredcommons.com
Sun Oct 5 05:15:21 CEST 2008


Hey Grant,

By default, the nrpe daemon does not allow remote command line
arguments to be passed to it.

To enable this, you'll need to recompile it using something like
"./configure --enable-command-args".

If you've already done this, make sure the nrpe.cfg file has the option:

dont_blame_nrpe=1 instead of the default which is 0.  (restart the
nrpe after changing config options).

These details are documented in the SECURITY file packaged in the
nrpe.tar.gz. Their are security implications with enabling remote
command line arguments to be passed to nrpe.

Of course, you can bypass all this by setting static warning,
critical, and partition arguments in the nrpe.cfg file, and just
calling that command without arguments.

Hope this helps,

Philip




On Tue, Sep 30, 2008 at 11:21 AM, Grant Lowe <glowe at sbcglobal.net> wrote:
>  Hi all,
>
> I have a nagios 3.0.3 server running on RHEL 5.2.  The client is Solaris 8 running nrpe 2.10.
>
> I get this in the Solaris logs:
>
> Sep
> 30 10:36:08 myhost nrpe[7179]: [ID 396531 daemon.error] Error: Request
> contained command arguments, but argument option is not enabled!
> Sep 30 10:36:08 myhost nrpe[7179]: [ID 900267 daemon.error] Client request was invalid, bailing out...
>
> But if I run it locally, it comes back fine:
>
> myserver /tmp>  /opt/csw/libexec/nagios-plugins/check_disk -w 90 -c 95 /dev/dsk/c0t0d0s0
> DISK OK - free space: / 1023 MB (52% inode=83%);| /=923MB;1917;1912;0;2007
> myserver /tmp>
>
> Here's what I get from the server side:
>
> [root at nagios-test
> libexec]# /usr/lib/nagios/plugins/check_nrpe -H 172.20.60.50 -t 60 -n
> check_disk -a -w 90 -c 95 /dev/dsk/c0t0d0s0
> CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for error messages.
> [root at nagios-test libexec]#
>
> It's
> seems to me that it's a configuration error, but I'm not sure what to
> fix.  Please help and don't be too hard on me as I'm kind of new to
> this.  :-)
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>




More information about the Help mailing list