Marc Powell wrote: > On Jan 22, 2010, at 5:47 AM, Assaf Flatto wrote: > > >> Hello >> >> I am trying to verify the working of a web service which output is a xml >> content . >> >> I thought that using the check_http -s or -e will help me do the >> verifications by searching for a string in the xml however when trying >> the test , the result comes back as a 404 ( classified info changed to >> XXX ). >> > > If you add a '-v' flag to your check_http test below,or check your server > logs, you'll see why you're getting the 400 back. > > >> ./check_http -H some.service.con -s "xml" -u >> "xml.aspx?account_code=XXXXXXX&license_code=XXXXXXXXXXXXXXX&action=lookup&postcode=XXXXXX" >> > > I'm quite sure this should be "/xml.aspx?account_code..." > > -- > Marc > Yes , you are write Marc , that did sort out my issue.
Thanks Assaf ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users@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