>From the nrpe.cfg

# COMMAND ARGUMENT PROCESSING
# This option determines whether or not the NRPE daemon will allow clients
# to specify arguments to commands that are executed.  This option only works
# if the daemon was configured with the --enable-command-args configure script
# option.
#
# *** ENABLING THIS OPTION IS A SECURITY RISK! ***
# Read the SECURITY file for information on some of the security implications
# of enabling this variable.
#
# Values: 0=do not allow arguments, 1=allow command arguments

dont_blame_nrpe=1

But as the commands are working remotely from the shell on the nagios-server, 
isn't this already working? Is there a difference between sending the commands 
(as either the nagios or root user) from the nagios-server to beatrix (my 
monitored server)

So if the commands work that way, shouldn't they work from the automated checks?

(Im pretty new to nagios)

From: Voigt, Thomas [mailto:thomas.vo...@netkom.de]
Sent: 12 August 2009 14:29
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Check issues on Solaris with NRPE not dealing with 
ARGS

Hi Brian,

Brian O'Mahony wrote:

> So it looks like the args are not being passed to the solaris box. I just 
> don't understand what im doing wrong here. (I am also looking at check_mem 
> and check_users but have forgon those until I get the issue with the ARGS 
> resolved)

did you read the following in your nrpe.cfg?

##########################################################################
# COMMAND ARGUMENT PROCESSING
# This option determines whether or not the NRPE daemon will allow clients
# to specify arguments to commands that are executed.  This option only works
# if the daemon was configured with the --enable-command-args configure script
# option.
#
# *** ENABLING THIS OPTION IS A SECURITY RISK! ***
# Read the SECURITY file for information on some of the security implications
# of enabling this variable.
#
# Values: 0=do not allow arguments, 1=allow command arguments

dont_blame_nrpe=0
##########################################################################

Maybe you have to recompile nrpe with "./configure --disable-ssl 
--enable-command-args" ?

The other way is to work with static parameters in the nrpe.cfg file. If 
possible...


--
Greetings from Weimar / Germany

Thomas Voigt




The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to