Looks like your proxy requires authentication via Kerberos or NTLM or GSS-Negotiate.  Dunno if Xymon can do those.  Luckily the curl tool (httpp://<a href="http://curl.haxx.se">curl.haxx.se</a>) *can* do those...  I haven't had to use them, but it should not be too hard to bang out an ext script to do the check.  Something along these lines:<br>
<br>     #!/bin/sh<br>     curl -x <a href="http://ourproxy.ourdomain.com:8080">http://ourproxy.ourdomain.com:8080</a> \<br>           --proxy-anyauth -U hobbituser:hobbitpassword \<br>           -s -S -L -o /dev/null <a href="http://www.google.com/">http://www.google.com/</a><br>
     if [ "$?" -eq "0" ]; then<br>       COLOR=green<br>       MESSAGE="Pinged Google OK"<br>     else<br>       COLOR=RED<br>       MESSAGE="Failed to reach Google"<br>     fi<br>     $BB $BBDISP "status www,google,com.home $COLOR `date`<br>
$MESSAGE"<br><br>Obviously that can be expanded quite a lot...  :)  Drop it somewhere on your Xymon server (maybe in server/ext) and set up a block in server/etc/hobbitlaunch.cfg to fire it off as often as you want.  You may need to give the full path for curl, which is probably /usr/bin/curl.<br>
<br>Ralph Mitchell<br><br><br><div class="gmail_quote">On Fri, Nov 21, 2008 at 1:30 AM, Everett, Vernon <span dir="ltr"><<a href="mailto:Vernon.Everett@woodside.com.au">Vernon.Everett@woodside.com.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div>
<font size="2" face="Arial, sans-serif">
<div>Hi all</div>
<div> </div>
<div>I am trying to test our interent connectivity by checking Google through our proxy.</div>
<div>(Once I get this right, I want to start testing some of our external web pages in the same manner)</div>
<div> </div>
<div>I have configured this in bb-hosts</div>
<div><a href="http://0.0.0.0" target="_blank">0.0.0.0</a>         <a href="http://www.google.com" target="_blank"><font color="#0000ff"><u>www.google.com</u></font></a>          # noconn <a href="http://hobbituser:hobbitpassword@ourproxy.ourdomain.com:8080/http://www.google.com" target="_blank"><font color="#0000ff"><u>http://hobbituser:hobbitpassword@ourproxy.ourdomain.com:8080/http://www.google.com</u></font></a></div>

<div> </div>
<div>And I get this.</div>
<div><font face="Courier New, monospace"> <a href="http://hobbit/hobbit/gifs/yellow.gif" target="_blank"><font color="#0000ff"><u>yellow</u></font></a> <a href="http://www.google.com.au/" target="_blank"><font color="#0000ff"><u>http://www.google.com.au/</u></font></a> - Proxy Authentication
Required<br>

<br>

HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )<br>

Via: 1.1 <font face="Courier New, monospace">PXYHOSTNAME<br>

</font>Proxy-Authenticate: Negotiate<br>

Proxy-Authenticate: Kerberos<br>

Proxy-Authenticate: NTLM<br>

Connection: Keep-Alive<br>

Proxy-Connection: Keep-Alive<br>

Pragma: no-cache<br>

Cache-Control: no-cache<br>

Content-Type: text/html<br>

Content-Length: 4118  <br>

<br>

Seconds:     0.02</font></div>
<div><font face="Courier New, monospace"> </font></div>
<div>Any assistance appreciated.</div>
<div> </div>
<div>Regards</div>
<div>    Vernon</div>
<div> </div>
</font>
<pre>NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
</pre></div>

</blockquote></div><br>