<div class="gmail_quote">On 19 May 2010 11:13, Ludse Verhoeven <span dir="ltr"><<a href="mailto:ludse.verhoeven@vopak.com">ludse.verhoeven@vopak.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font face="sans-serif" size="2">Not sure if this works like it is supposed
to (haven't tested it myself), but qua syntax this seems more correct.</font>
<br>
</blockquote></div> <br>That worked fine :)<br>Other question, where exactly I've to insert quotes on nrpe.cfg commands to prevent code injection?<br>I think like this:<br>[nrpe.cfg]<br>[...]<br>
command[check_disk]=/usr/local/nagios/libexec/check_disk -w <b>"</b>$ARG1$<b>"</b> -c <b>"</b>$ARG2$<b>"</b><br>[...]<br><br>Is it right?<br><br>Thank's!<br><br>-- <br>Enrico "lomiz" Zimol<br>