Proxy Configuration - Netuitive/collectdwin GitHub Wiki
By default the agent does not use a proxy. To determine if you have a proxy enabled:
-
Open Internet Explorer
-
Select Internet Options > Connections > LAN Settings
-
If any of "Automatically detect settings", "Use automatic configuration script" or "Use a proxy server for your LAN" are checked then you may need to configure proxy settings to enable data posted by the agent off your server:
-
Add the following to the end of the
CollectdWinService.exe.config
configuration file after the<startup>
section and before the closing</configuration>
tag:<system.net> <defaultProxy enabled="true" useDefaultCredentials="true"> <proxy/> </defaultProxy> </system.net>
-
replace the
<proxy/>
element with one of the options below
Automatically detect settings
If Automatically detect settings is checked use the following proxy element:
<proxy autoDetect="true" />
Use automatic configuration script
If Use automatic configuration script is checked use the following proxy element:
<proxy scriptLocation="SCRIPT_URI" />
Where SCRIPT_URI
is the content of the Address text box in the LAN Settings dialog.
Use a proxy server for your LAN
IF Use a proxy server for your LAN is checked and the address and port are specified then use the following proxy element:
<proxy proxyaddress="URI_STRING" />
where URI_STRING
is a URL made up of the address and port settings. For example, http://127.0.0.1:8888
If the address and port are not specified then the proxy is manually configured on the advanced screen. Enter the proxy element as above but using the address and port given for the HTTPS protocol.
More details on these and further proxy settings can be found at MSDN here.