<div dir="ltr">Please put it within quotes , that should help<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 5, 2013 at 8:53 PM, Κοκμάδης Δημήτριος <span dir="ltr"><<a href="mailto:dkokmadis@gmail.com" target="_blank">dkokmadis@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I am trying to check multiple http sites, so i configure a bash script which create the service definition but i faced a problem when the expected string has spaces.<br>

<br></div>So the command definition is like:<br><br>$USER1$/check_http -H $ARG1$ -s $ARG2$ -w 10 -c 20<br><br></div>if i pass an $ARG2$ without spaces it's work fine, but if it has spaces nagios can't make check. Could you give me a help?<br>

<br></div>Thanks,<br><br></div>Jim<br></div>
<br>------------------------------------------------------------------------------<br>
Get 100% visibility into Java/.NET code with AppDynamics Lite<br>
It's a free troubleshooting tool designed for production<br>
Get down to code-level detail for bottlenecks, with <2% overhead.<br>
Download for free and get started troubleshooting in minutes.<br>
<a href="http://p.sf.net/sfu/appdyn_d2d_ap2" target="_blank">http://p.sf.net/sfu/appdyn_d2d_ap2</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Sunil Sankar
</div>