[Nagiosplug-devel] [ nagiosplug-Bugs-769398 ] Urlize and search strings in check_http

SourceForge.net noreply at sourceforge.net
Thu Jul 10 17:00:14 CEST 2003


Bugs item #769398, was opened at 2003-07-10 16:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=769398&group_id=29880

Category: Argument proccessing
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Rodriguez (bigtangringo)
Assigned to: Nobody/Anonymous (nobody)
Summary: Urlize and search strings in check_http

Initial Comment:
Create a check_http command which does a search that 
has multiple words. Make the first word actually exist on 
the page and the following words bogus.

The check will fail (as expected)

Then URLIZE the check you just made, it succeeds 
which it should not do. You never changed the actual 
check itself!

COMMAND: ./check_http  -H 'www.google.com' -
I 'www.google.com' -u '/' -s 'Google this does not exist'

OUTPUT: HTTP CRITICAL: string not found|time=  0.177


COMMAND: ./urlize 'http://www.google.com' ./check_http
  -H 'www.google.com' -I 'www.google.com' -u '/' -
s 'Google this does not exist'

OUTPUT: <A href="http://www.google.com">HTTP ok: 
HTTP/1.0 200 OK -   0.377 second response time 
|time=  0.377</A>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=769398&group_id=29880




More information about the Devel mailing list