[Nagiosplug-help] Issue with check_http

Philip Marcus pmarcus at factual.com
Sun May 10 10:16:20 CEST 2009


You could try to put the command in quotes:

check_command               check_http!"variableDescription.do?mnemonic=SEX"

or else try escaping it like \=

Hope that helps.

Philip

On Fri, May 8, 2009 at 12:30 PM, Mark Esser <esser at umn.edu> wrote:

> I'm having difficulty defining a service using the "check_http" plugin -- I
> cannot get it to resolve extended addresses to sites with an "=" in the path
> name. Below is an example.
>
> define service {
>         service_description             www.site.org on tcp/80
>         check_command                   check_http!variableDescription.do?mnemonic=SEX      #The problem
>         use                             generic-service
>         host_name                       www.site.org
>         contact_groups                  mpc
> }
>
> Seems to want to read anything after the "=" sign as an option
> variable. Anyone have any suggestions?
>
> -Mark
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090510/e05be666/attachment.html>


More information about the Help mailing list