<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: monitoring HTTP GET and HTTPS - 200 in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450252#M9383</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've been trying out the perl script option, but it seems I'm getting time outs for webstes I'm accessing normally using my browser&lt;BR /&gt;&lt;BR /&gt;I'd be interested to know a few of the URLs that give you problems, including the HTTP code the script returns.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 01 Jul 2009 11:44:23 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2009-07-01T11:44:23Z</dc:date>
    <item>
      <title>monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450245#M9376</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to create a monitoring script for website up/down status which will eventually be run as a scheduled action with OVOW as a scheduled action and opcmsg.&lt;BR /&gt;&lt;BR /&gt;I'm looking to use perl for this purpose but have not been able to find anything straightforward as to how such monitoring can be done through scripting.&lt;BR /&gt;&lt;BR /&gt;Any idea - what are the commands that will "ping" a website using http / https and then I can evaluate the 200 OK response or otherwise.&lt;BR /&gt;&lt;BR /&gt;Really appreciate any assistance and support.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Tue, 30 Jun 2009 14:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450245#M9376</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-06-30T14:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450246#M9377</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You could do something like this:&lt;BR /&gt;&lt;BR /&gt;# cat .probeurl&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;use HTTP::Headers;&lt;BR /&gt;use LWP::UserAgent;&lt;BR /&gt;my $url       = shift or die "URL expected\n";&lt;BR /&gt;my $useragent = LWP::UserAgent-&amp;gt;new;&lt;BR /&gt;my $request   = HTTP::Request-&amp;gt;new( HEAD =&amp;gt; $url );&lt;BR /&gt;my $response  = $useragent-&amp;gt;request($request);&lt;BR /&gt;if ( $response-&amp;gt;is_success ) {&lt;BR /&gt;    print $response-&amp;gt;status_line, "\n";&lt;BR /&gt;}&lt;BR /&gt;else {&lt;BR /&gt;    print "Failed: ", $response-&amp;gt;status_line, "\n";&lt;BR /&gt;}&lt;BR /&gt;1;&lt;BR /&gt;&lt;BR /&gt;...run as:&lt;BR /&gt;&lt;BR /&gt;# ./probeurl &lt;A href="http://www.womesite.com" target="_blank"&gt;http://www.womesite.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# ./probeurl &lt;A href="http://www.hp.com" target="_blank"&gt;http://www.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Jun 2009 15:10:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450246#M9377</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-30T15:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450247#M9378</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;wget is the tool for this.&lt;BR /&gt;&lt;BR /&gt;Available for 11.23&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For 11.31&lt;BR /&gt;&lt;A href="http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131" target="_blank"&gt;http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1131&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Part of a multi tool set you will need to choose it or download the entire package.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.11.4/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.11.4/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Another source that includes 11.11.&lt;BR /&gt;&lt;BR /&gt;wget &lt;A href="http://www.yoursite.com" target="_blank"&gt;http://www.yoursite.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Will get index.html&lt;BR /&gt;&lt;BR /&gt;Script example.&lt;BR /&gt;&lt;BR /&gt;wget &lt;A href="http://www.yoursite.com" target="_blank"&gt;http://www.yoursite.com&lt;/A&gt;&lt;BR /&gt;rc=$?&lt;BR /&gt;if [ $rc -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;   echo "site is up"&lt;BR /&gt;else&lt;BR /&gt;   echo site is down"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;You can work the script from there.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Jun 2009 15:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450247#M9378</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T15:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450248#M9379</link>
      <description>&lt;!--!*#--&gt;&amp;gt; wget is the tool for this. &lt;BR /&gt;&lt;BR /&gt;It's certainly _a_ tool for this, and it's&lt;BR /&gt;the one I use.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; wget  &lt;A href="http://www.yoursite.com" target="_blank"&gt;http://www.yoursite.com&lt;/A&gt;&lt;BR /&gt;&amp;gt; rc=$?&lt;BR /&gt;&amp;gt; if [ $rc -eq 0 ] &lt;BR /&gt;&lt;BR /&gt;I would not rely on the exit status from&lt;BR /&gt;wget.  It's often very happy with results I&lt;BR /&gt;find unsatisfactory.  I use a command like&lt;BR /&gt;"wget -O &lt;FILE&gt; &lt;URL&gt;", and then scan &lt;FILE&gt;&lt;BR /&gt;for "200 ".&lt;/FILE&gt;&lt;/URL&gt;&lt;/FILE&gt;</description>
      <pubDate>Tue, 30 Jun 2009 16:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450248#M9379</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-30T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450249#M9380</link>
      <description>&lt;!--!*#--&gt;Hi (again):&lt;BR /&gt;&lt;BR /&gt;Actually, I could simply the Perl you are looking to use (since I gutted some features I had that were not germane to your need:&lt;BR /&gt;&lt;BR /&gt;# cat ./probeurl&lt;BR /&gt;#!/usr/bin/perl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;use LWP::UserAgent;&lt;BR /&gt;my $url       = shift or die "URL expected\n";&lt;BR /&gt;my $useragent = LWP::UserAgent-&amp;gt;new;&lt;BR /&gt;my $request   = HTTP::Request-&amp;gt;new( HEAD =&amp;gt; $url );&lt;BR /&gt;my $response  = $useragent-&amp;gt;request($request);&lt;BR /&gt;print $response-&amp;gt;status_line, "\n";&lt;BR /&gt;1;&lt;BR /&gt;&lt;BR /&gt;# ./probeurl &lt;A href="http://www.hp.com" target="_blank"&gt;http://www.hp.com&lt;/A&gt;&lt;BR /&gt;200 OK&lt;BR /&gt;# &lt;A href="https://www.hp.com" target="_blank"&gt;https://www.hp.com&lt;/A&gt;&lt;BR /&gt;404 Not Found&lt;BR /&gt;# &lt;A href="ftp://www.hp.com" target="_blank"&gt;ftp://www.hp.com&lt;/A&gt;&lt;BR /&gt;200 OK&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 30 Jun 2009 17:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450249#M9380</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-30T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450250#M9381</link>
      <description>Thanks a lot,&lt;BR /&gt;&lt;BR /&gt;I've been trying out the perl script option, but it seems I'm getting time outs for webstes I'm accessing normally using my browser.&lt;BR /&gt;&lt;BR /&gt;I haven't tried wget yet on my windows. &lt;BR /&gt;&lt;BR /&gt;Will get back with the results - after my weekend.&lt;BR /&gt;&lt;BR /&gt;Really appreciate the great inputs.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Wed, 01 Jul 2009 10:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450250#M9381</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-01T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450251#M9382</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I haven't tried wget yet on my windows. &lt;BR /&gt;&lt;BR /&gt;Windows?  Now you're scaring me.</description>
      <pubDate>Wed, 01 Jul 2009 11:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450251#M9382</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-01T11:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450252#M9383</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've been trying out the perl script option, but it seems I'm getting time outs for webstes I'm accessing normally using my browser&lt;BR /&gt;&lt;BR /&gt;I'd be interested to know a few of the URLs that give you problems, including the HTTP code the script returns.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 01 Jul 2009 11:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450252#M9383</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-01T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450253#M9384</link>
      <description>Hi JRF,&lt;BR /&gt;&lt;BR /&gt;Following ares ome of my trials with this script.&lt;BR /&gt;&lt;BR /&gt;E:\dump\scripts\elm-urlmon\Test&amp;gt;URLTEST.pl &lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt;&lt;BR /&gt;500 Can't connect to &lt;A href="http://www.google.com:80" target="_blank"&gt;www.google.com:80&lt;/A&gt; (connect: timeout)&lt;BR /&gt;&lt;BR /&gt;E:\dump\scripts\elm-urlmon\Test&amp;gt;URLTEST.pl &lt;A href="http://elm.com.sa" target="_blank"&gt;http://elm.com.sa&lt;/A&gt;&lt;BR /&gt;500 Can't connect to elm.com.sa:80 (connect: timeout)&lt;BR /&gt;&lt;BR /&gt;E:\dump\scripts\elm-urlmon\Test&amp;gt;URLTEST.pl &lt;A href="http://www.hp.com" target="_blank"&gt;http://www.hp.com&lt;/A&gt;&lt;BR /&gt;500 Can't connect to &lt;A href="http://www.hp.com:80" target="_blank"&gt;www.hp.com:80&lt;/A&gt; (connect: timeout)&lt;BR /&gt;&lt;BR /&gt;E:\dump\scripts\elm-urlmon\Test&amp;gt;URLTEST.pl &lt;A href="http://www.hp.com:8080" target="_blank"&gt;http://www.hp.com:8080&lt;/A&gt;&lt;BR /&gt;500 Can't connect to &lt;A href="http://www.hp.com:8080" target="_blank"&gt;www.hp.com:8080&lt;/A&gt; (connect: timeout)&lt;BR /&gt;&lt;BR /&gt;There doesn't seem any delay in accessing the internet from this particular server. I tried 8080, as this is the setting of our proxy.&lt;BR /&gt;&lt;BR /&gt;The following, a local site with no security restrictions, came back successfully.&lt;BR /&gt;&lt;BR /&gt;E:\dump\scripts\elm-urlmon\Test&amp;gt;URLTEST.pl http://elm-as-01&lt;BR /&gt;200 OK&lt;BR /&gt;&lt;BR /&gt;Really appreciate your support.&lt;BR /&gt;&lt;BR /&gt;I am working with perl on windows, as this will eventually be used on my OVOW server.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Sun, 05 Jul 2009 11:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450253#M9384</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-05T11:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450254#M9385</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I am working with perl on windows, [...]&lt;BR /&gt;&lt;BR /&gt;Asking about Windows problems in an HP-UX&lt;BR /&gt;forum may not be the most efficient way to&lt;BR /&gt;get useful answers.&lt;BR /&gt;&lt;BR /&gt;When you find an appropriate (Microsoft)&lt;BR /&gt;forum, you might consider mentioning whether&lt;BR /&gt;you can reach these servers from this system&lt;BR /&gt;using a Web browser, so that someone could&lt;BR /&gt;tell whether you have a Perl problem or a&lt;BR /&gt;general network problem.</description>
      <pubDate>Sun, 05 Jul 2009 14:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450254#M9385</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-07-05T14:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450255#M9386</link>
      <description>Hi (again) Alvi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The following, a local site with no security restrictions, came back successfully.&lt;BR /&gt;&lt;BR /&gt;So it appears that you may need to consider firewall settings.  My Perl script has no problems in UNIX or Windows (as one might expect).&lt;BR /&gt;&lt;BR /&gt;You might need to set your 'http_proxy' environment variable to enable the Perl script to offer its service.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 15:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450255#M9386</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-06T15:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450256#M9387</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Found LWP quite interesting.&lt;BR /&gt;&lt;BR /&gt;Following the script modified to include the proxy setting, as adding the http_proxy environent variable had no impact on this script.&lt;BR /&gt;&lt;BR /&gt;---------------&lt;BR /&gt;&lt;BR /&gt;# cat ./probeurl&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;use LWP::UserAgent;&lt;BR /&gt;&lt;BR /&gt;my $wsr = LWP::UserAgent -&amp;gt; new;&lt;BR /&gt;$wsr -&amp;gt; timeout( 20 );&lt;BR /&gt;&lt;BR /&gt;$wsr-&amp;gt;proxy(['http', 'ftp','https'], '&lt;A href="http://192.168.5.39:8080/');" target="_blank"&gt;http://192.168.5.39:8080/');&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;my $url       = shift or die "URL expected\n";&lt;BR /&gt;my $useragent = LWP::UserAgent-&amp;gt;new;&lt;BR /&gt;&lt;BR /&gt;my $request   = HTTP::Request-&amp;gt;new( HEAD =&amp;gt; $url );&lt;BR /&gt;my $response  = $useragent-&amp;gt;request($request);&lt;BR /&gt;&lt;BR /&gt;print $response-&amp;gt;status_line, "\n";&lt;BR /&gt;print $response-&amp;gt;is_success, "\n";&lt;BR /&gt;&lt;BR /&gt;-------------&lt;BR /&gt;&lt;BR /&gt;Had some limited success but still getting the timeout errors for most websites. There was success as before for the internal websites. &lt;BR /&gt;&lt;BR /&gt;The thing is that the external websites (behind proxy) are givign time outs and not authenitcation or forbidden messages.&lt;BR /&gt;&lt;BR /&gt;C:\SCRIPTING&amp;gt;urltestv4.pl &lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt;&lt;BR /&gt;500 Can't connect to &lt;A href="http://www.google.com:80" target="_blank"&gt;www.google.com:80&lt;/A&gt; (connect: timeout)&lt;BR /&gt;&lt;BR /&gt;Lookin forward to your support&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 12:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450256#M9387</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-08T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450257#M9388</link>
      <description>Additonally, after setting the http_prox variable, wget worked fine for a while. But now it returns proxy authentication errors. &lt;BR /&gt;&lt;BR /&gt;Using Options without  quotes&lt;BR /&gt;&lt;BR /&gt;C:\Program Files\GnuWin32\bin&amp;gt;wget &lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt; --proxy-user=oalvi --pr&lt;BR /&gt;oxy-passwd=xxxxxx&lt;BR /&gt;SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc&lt;BR /&gt;syswgetrc = C:\Program Files\GnuWin32/etc/wgetrc&lt;BR /&gt;--2009-07-08 16:14:00--  &lt;A href="http://www.google.com/" target="_blank"&gt;http://www.google.com/&lt;/A&gt;&lt;BR /&gt;Connecting to 192.168.5.39:8080... connected.&lt;BR /&gt;Proxy request sent, awaiting response... 407 Proxy Authentication Required&lt;BR /&gt;2009-07-08 16:14:00 ERROR 407: Proxy Authentication Required.&lt;BR /&gt;&lt;BR /&gt;Using Options with  quotes&lt;BR /&gt;&lt;BR /&gt;C:\Program Files\GnuWin32\bin&amp;gt;wget &lt;A href="http://www.google.com" target="_blank"&gt;http://www.google.com&lt;/A&gt; --proxy-user="domain\oalvi&lt;BR /&gt;" --proxy-passwd="xxxxxx"&lt;BR /&gt;SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc&lt;BR /&gt;syswgetrc = C:\Program Files\GnuWin32/etc/wgetrc&lt;BR /&gt;--2009-07-08 16:15:22--  &lt;A href="http://www.google.com/" target="_blank"&gt;http://www.google.com/&lt;/A&gt;&lt;BR /&gt;Connecting to 192.168.5.39:8080... connected.&lt;BR /&gt;Proxy request sent, awaiting response... 403 Forbidden&lt;BR /&gt;2009-07-08 16:15:22 ERROR 403: Forbidden.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Some suiccess with LWP in that  the followingg was successful. Here, I have success whether proxy is set or not.&lt;BR /&gt;&lt;BR /&gt;C:\SCRIPTING&amp;gt;urltestv4.pl &lt;A href="ftp://www.hp.com" target="_blank"&gt;ftp://www.hp.com&lt;/A&gt;&lt;BR /&gt;200 OK&lt;BR /&gt;1&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jul 2009 12:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450257#M9388</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-08T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450258#M9389</link>
      <description>Hi (again) Alvi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Had some limited success but still getting the timeout errors for most websites. There was success as before for the internal websites. &lt;BR /&gt;&lt;BR /&gt;The default timeout is 180 (seconds).  You might try increasing your value of 20 and see if you have better success.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jul 2009 11:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450258#M9389</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-07-09T11:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450259#M9390</link>
      <description>Hi JRF ...&lt;BR /&gt;&lt;BR /&gt;Appreciate your persistence in assistance.&lt;BR /&gt;&lt;BR /&gt;I ran it mostly with the 180 default timeout - it was still timing out. I put it to 20 only to reduce my troubleshooting time when I was trying out different stuff.&lt;BR /&gt;&lt;BR /&gt;I've tried the proxy, by hardcoding as well as by passing from the environment - but no success. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Thu, 09 Jul 2009 15:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450259#M9390</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-09T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring HTTP GET and HTTPS - 200</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450260#M9391</link>
      <description>Well, it turned out to be some issues with the code.&lt;BR /&gt;&lt;BR /&gt;The proxy was needed, but I had a variable too many and wasn't using the variable I had defined with the proxy.&lt;BR /&gt;&lt;BR /&gt;Below the correct code with proxy&lt;BR /&gt;&lt;BR /&gt;---------&lt;BR /&gt;# !C:\Perl\bin&lt;BR /&gt;&lt;BR /&gt;use strict;&lt;BR /&gt;use warnings;&lt;BR /&gt;use LWP::UserAgent;&lt;BR /&gt;&lt;BR /&gt;my $url       = shift or die "URL expected\n";&lt;BR /&gt;my $useragent = LWP::UserAgent-&amp;gt;new;&lt;BR /&gt;&lt;BR /&gt;$useragent-&amp;gt;proxy(['http', 'ftp','https'], '&lt;A href="http://192.168.5.39:8080/');" target="_blank"&gt;http://192.168.5.39:8080/');&lt;/A&gt;&lt;BR /&gt;$useragent -&amp;gt; timeout( 20 );&lt;BR /&gt;&lt;BR /&gt;my $request   = HTTP::Request-&amp;gt;new( HEAD =&amp;gt; $url );&lt;BR /&gt;my $response  = $useragent-&amp;gt;request($request);&lt;BR /&gt;&lt;BR /&gt;print $response-&amp;gt;status_line, "\n";&lt;BR /&gt;print $response-&amp;gt;is_success, "\n";&lt;BR /&gt;print $useragent-&amp;gt;proxy('http'),"\n";&lt;BR /&gt;---------&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-Alvi</description>
      <pubDate>Mon, 20 Jul 2009 07:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/monitoring-http-get-and-https-200/m-p/4450260#M9391</guid>
      <dc:creator>Omar Alvi_1</dc:creator>
      <dc:date>2009-07-20T07:16:15Z</dc:date>
    </item>
  </channel>
</rss>

