On Aug 3, 2009, at 10:27 AM, Assaf Flatto wrote:

> the issue when i am trying to request this via nrpe
> ./check_nrpe -H x.x.x.x  -c check_ipmi -a "Planar Temp"
>
> The nrpe is passing the request to the server incorrect and it is  
> shown as
> sudo:   nagios : TTY=unknown ; USER=xxxx ; COMMAND=/usr/local/nagios/ 
> libexec/check_ipmi Planar
>
> I tried to pass the argument without quotes or with double quotes  
> but it only passes the first part
> of the argument .

Do you have quotes in your nrpe.cfg command definition?

        command[check_ipmi]=/usr/local/nagios/libexec/check_ipmi.pl  "$ARG1$"

--
Marc



------------------------------------------------------------------------------
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
[email protected]
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