<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(166, 166, 166) solid;font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(205, 230, 247);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 0px 6px 0px 6px;vertical-align:middle!important;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(205, 230, 247) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}.wf {speak:none; font-weight:normal; font-variant:normal; text-transform:none; -webkit-font-smoothing:antialiased; vertical-align:middle; display:inline-block;}.wf-family-owa {font-family:'o365Icons'}@font-face {  font-family:'o365IconsIE8';  src:url('prem/15.0.995.34/resources/styles/office365icons.ie8.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.995.34/resources/styles/office365icons.ie8.woff') format('woff'),         url('prem/15.0.995.34/resources/styles/office365icons.ie8.ttf') format('truetype');  font-weight:normal;  font-style:normal;}@font-face {  font-family:'o365IconsMouse';  src:url('prem/15.0.995.34/resources/styles/office365icons.mouse.eot?#iefix') format('embedded-opentype'),         url('prem/15.0.995.34/resources/styles/office365icons.mouse.woff') format('woff'),         url('prem/15.0.995.34/resources/styles/office365icons.mouse.ttf') format('truetype');  font-weight:normal;  font-style:normal;}.wf-family-owa {font-family:'o365IconsMouse'}.ie8 .wf-family-owa {font-family:'o365IconsIE8'}.ie8 .wf-owa-play-large:before {content:'\e254';}.notIE8 .wf-owa-play-large:before {content:'\e054';}.ie8 .wf-owa-play-large {color:#FFFFFF/*$WFWhiteColor*/;}.notIE8 .wf-owa-play-large {border-color:#FFFFFF/*$WFWhiteColor*/; width:1.4em; height:1.4em; border-width:.1em; border-style:solid; border-radius:.8em; text-align:center; box-sizing:border-box; -moz-box-sizing:border-box; padding:0.1em; color:#FFFFFF/*$WFWhiteColor*/;}.ie8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-size-play-large {width:40px; height:40px; font-size:30px}.notIE8 .wf-owa-triangle-down-small:before {content:'\e052';}.ie8 .wf-owa-triangle-down-small:before { content:'\e052';}.ie8 .wf-owa-triangle-down-small {color:#666666/*$WFGreyColor*/;}.wf-size-x20 {font-size: 20px!important;}
<!--
p
        {margin-top:0;
        margin-bottom:0}
.ms-cui-menu
        {background-color:#ffffff;
        border:1px rgb(166,166,166) solid;
        font-family:"Segoe UI","Segoe WP","Segoe UI WPC",Tahoma,Arial,sans-serif;
        font-size:10pt;
        color:rgb(51,51,51)}
.ms-cui-menusection-title
        {}
.ms-cui-ctl
        {vertical-align:text-top;
        text-decoration:none;
        color:rgb(51,51,51)}
.ms-cui-ctl-on
        {background-color:rgb(205,230,247)}
.ms-cui-img-cont-float
        {display:inline-block;
        margin-top:2px}
.ms-cui-smenu-inner
        {padding-top:0px}
.ms-owa-paste-option-icon
        {margin:0px 6px 0px 6px;
        vertical-align:middle!important;
        padding-bottom:2px;
        display:inline-block}
.ms-rtePasteFlyout-option
        {padding:8px 4px 8px 4px;
        outline:none}
.ms-cui-menusection
        {float:left;
        width:85px;
        height:24px;
        overflow:hidden}
.wf
        {speak:none;
        font-weight:normal;
        font-variant:normal;
        text-transform:none;
        vertical-align:middle;
        display:inline-block}
.wf-family-owa
        {font-family:'o365Icons'}
@font-face
        {font-family:'o365IconsIE8';
        font-weight:normal;
        font-style:normal}
@font-face
        {font-family:'o365IconsMouse';
        font-weight:normal;
        font-style:normal}
.wf-family-owa
        {font-family:'o365IconsMouse'}
.ie8 .wf-family-owa
        {font-family:'o365IconsIE8'}
.notIE8 .wf-owa-play-large
        {border-color:#FFFFFF;
        width:1.4em;
        height:1.4em;
        border-width:.1em;
        border-style:solid;
        text-align:center;
        padding:0.1em;
        color:#FFFFFF}
.ie8 .wf-size-play-large
        {width:40px;
        height:40px;
        font-size:30px}
.notIE8 .wf-size-play-large
        {width:40px;
        height:40px;
        font-size:30px}
.wf-size-x20
        {font-size:20px!important}
.ms-cui-menu
        {background-color:#ffffff;
        border:1px rgb(166,166,166) solid;
        font-family:'Segoe UI','Segoe WP','Segoe UI WPC',Tahoma,Arial,sans-serif;
        font-size:10pt;
        color:rgb(51,51,51)}
.ms-cui-ctl
        {vertical-align:text-top;
        text-decoration:none;
        color:rgb(51,51,51)}
.ms-cui-ctl-on
        {background-color:rgb(205,230,247)}
.ms-cui-img-cont-float
        {display:inline-block;
        margin-top:2px}
.ms-cui-smenu-inner
        {padding-top:0px}
.ms-owa-paste-option-icon
        {margin:0px 6px 0px 6px;
        vertical-align:middle!important;
        padding-bottom:2px;
        display:inline-block}
.ms-rtePasteFlyout-option
        {padding:8px 4px 8px 4px;
        outline:none}
.ms-cui-menusection
        {float:left;
        width:85px;
        height:24px;
        overflow:hidden}
.wf
        {speak:none;
        font-weight:normal;
        font-variant:normal;
        text-transform:none;
        vertical-align:middle;
        display:inline-block}
.wf-family-owa
        {font-family:'o365Icons'}
@font-face
        {font-family:'o365IconsIE8';
        font-weight:normal;
        font-style:normal}
@font-face
        {font-family:'o365IconsMouse';
        font-weight:normal;
        font-style:normal}
.wf-family-owa
        {font-family:'o365IconsMouse'}
.ie8 .wf-family-owa
        {font-family:'o365IconsIE8'}
.notIE8 .wf-owa-play-large
        {border-color:#FFFFFF;
        width:1.4em;
        height:1.4em;
        border-width:.1em;
        border-style:solid;
        text-align:center;
        padding:0.1em;
        color:#FFFFFF}
.ie8 .wf-size-play-large
        {width:40px;
        height:40px;
        font-size:30px}
.notIE8 .wf-size-play-large
        {width:40px;
        height:40px;
        font-size:30px}
.wf-size-x20
        {font-size:20px!important}
-->
--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>I tested this and have the same result. The xymon user does pick up the system $http_proxy setting (or $https_proxy for that matter) but it looks like xymonnet ignores it. When I've had to test something through a proxy server, I've setup another test (call
 it phttps or whatever), and I run an ext script, something like this:</p>
<p><br>
</p>
<p>TEST="phttps"<br>
</p>
<p>$XYMONHOME/bin/xymongrep $TEST | while read L<br>
do<br>
        set $L  # To get one line of output from xymongrep<br>
        HOSTIP="$1"<br>
        MACHINEDOTS="$2"<br>
        MACHINE=`echo $2 | $SED -e's/\./,/g'`<br>
</p>
<p>        curl --max-time 30 <a href="http://$MACHINEDOTS">http://$MACHINEDOTS</a> > $XYMONHOME/tmp/$MACHINEDOTS.$$<br>
</p>
<p>        etc, etc, etc<br>
</p>
<p>done<br>
</p>
<p><br>
</p>
<p>There are many ways of handling the output depending on what you want to test for. curl, wget and w3m work fine.<br>
</p>
<p><br>
</p>
<p>Not the cleanest way to handle this but it does work and you can tweak it endlessly.<font face="Times New Roman,serif" size="3"></font></p>
<p><br>
</p>
<p>Hope that helps...</p>
<p><br>
<font face="Times New Roman,serif" size="3"><span style="font-size:12pt"><a href="mailto:FirstName.LastName@orix.com.au" target="_blank"><font face="Tahoma,sans-serif" size="2"><span style="font-size:10pt"></span></font></a></span></font></p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri; font-size:12pt"><span lang="en-AU"></span></div>
</div>
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Galen Johnson <Galen.Johnson@sas.com><br>
<b>Sent:</b> Thursday, 6 August 2015 4:13 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] https tests through a proxy</font>
<div> </div>
</div>
<div>
<p>Hey,<br>
</p>
<p><br>
</p>
<p>Has anyone gotten Xymon http tests to work through an proxy server?  I have to be able to set the proxy server for ALL https traffic and Xymon just doesn't seem to be able to handle it.  I asked a while back and finally got to do try setting it up but the
 current recommendation has the severe shortcoming that it doesn't work for https (according to the doc) and I REALLY don't want to have to add a proxy definition to every single http test.<br>
</p>
<p><br>
</p>
<p>I've tried just adding "export http_proxy=myproxy:port" to the startup scripts but it seems to be ignored.  Seems like an unfortunate oversight in Xymon if it's not user error.  We can test for a specific ssl version but not use a proxy server?  I'm having
 trouble buying it (hence the likelyhood of user error).<br>
</p>
<p><br>
</p>
<p>thanks<br>
</p>
<p><br>
</p>
<p>=G=<br>
</p>
</div>
</div>
</body>
</html>