On 19 May 2010 11:13, Ludse Verhoeven <ludse.verhoe...@vopak.com> wrote:

> Not sure if this works like it is supposed to (haven't tested it myself),
> but qua syntax this seems more correct.
>

That worked fine :)
Other question, where exactly I've to insert quotes on nrpe.cfg commands to
prevent code injection?
I think like this:
[nrpe.cfg]
[...]
command[check_disk]=/usr/local/nagios/libexec/check_disk -w *"*$ARG1$*"* -c
*"*$ARG2$*"*
[...]

Is it right?

Thank's!

-- 
Enrico "lomiz" Zimol
------------------------------------------------------------------------------

_______________________________________________
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