check_http with spaces problem

Sunil Sankar sunil at sunil.cc
Sun May 5 18:36:39 CEST 2013


Please put it within quotes , that should help


On Sun, May 5, 2013 at 8:53 PM, Κοκμάδης Δημήτριος <dkokmadis at gmail.com>wrote:

> Hi,
>
> 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.
>
> So the command definition is like:
>
> $USER1$/check_http -H $ARG1$ -s $ARG2$ -w 10 -c 20
>
> 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?
>
> Thanks,
>
> Jim
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Regards
Sunil Sankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130505/b3848267/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list