Can you have and '&' in the path for check_http?
Dave Barnum
dave at leaplab.com
Fri Jul 23 22:45:27 CEST 2004
If i put it in quotes i get string not found for the search term.. Is
there a way i can just have it print out to the screen what it is seeing?
Steve Loughran wrote:
>err... think the "?" in "/at/transaction.php?APID=1&affID=0001" is causing
>shell globbing. Try using the
>
> '/at/transaction.php?APID=1&affID=0001'
>
>quotes as well as the
>
> "/at/transaction.php?APID=1&affID=0001"
>
>Steve
>
>
>----- Original Message -----
>From: "Dave Barnum" <dave at leaplab.com>
>To: <nagios-users at lists.sourceforge.net>
>Sent: Friday, July 23, 2004 7:23 PM
>Subject: Re: [Nagios-users] Can you have and '&' in the path for check_http?
>
>
>
>
>>When i try this on the command line check_http comes back with "no match"
>>
>>Ben wrote:
>>
>>
>>
>>>I haven't any experience with what you're doing exactly, but it may be
>>>that a shell is interpretting the &. Trying making it \&
>>>
>>>On Fri, 23 Jul 2004, Dave Barnum wrote:
>>>
>>>
>>>
>>>
>>>
>>>>I'm trying to use a command that looks like this..
>>>>
>>>>check_http -w 5 -c 10 -f follow -s SearchTerm -H www.domain.com -u
>>>>/at/transaction.php?APID=1&affID=0001
>>>>
>>>>I think it's taking the & as a command or something and sepparating the
>>>>affID=0001 from the rest of the URL. I've tried surrounding that part
>>>>with quotes but that doesn't seem to work either. Any clues?
>>>>
>>>>
>>>>-------------------------------------------------------
>>>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>>>FREE Java Enterprise J2EE developer tools!
>>>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>>>>_______________________________________________
>>>>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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by BEA Weblogic Workshop
>>FREE Java Enterprise J2EE developer tools!
>>Get your free copy of BEA WebLogic Workshop 8.1 today.
>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
>>_______________________________________________
>>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
>>
>>
>
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
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