How to set up your proxy server settings for the data collector?

'''

Question

How do we set up proxy server settings for the Vyopta data collector?

Answer

It's quite possible that your organization requires a proxy server for your data collector to connect to the public internet. If this is the case, you will need to set up your proxy server settings inside of the vyoptacollector.xml file that is used by your data collector.

We support both HTTP and HTTPS proxy servers, and authentication is optional based on your proxy servers requirement.

Assume your proxy server is http://proxy.customer.com without any authentication. Since the url is using http, you are using a standard http proxy which is not secure (https) You can set your proxy details using the following two properties in your vyoptacollector.xml file.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<property key="broker.url">...</property>
<property key="server.url">...</property>
<property key="server.username">...</property>
<property key="server.password">...</property>
<property key="http.proxy.server">proxy.customer.com</property>
<property key="http.proxy.port">80</property>
</configuration>

If you need to add a username and password to the proxy, you can add the additional 2 properties as shown below:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<property key="broker.url">...</property>
<property key="server.url">...</property>
<property key="server.username">...</property>
<property key="server.password">...</property>
<property key="http.proxy.server">proxy.customer.com</property>
<property key="http.proxy.port">80</property>
<property key="http.proxy.username">LisaSimpson</property>
<property key="http.proxy.password">my@Password</property>
</configuration>

Now assume your proxy server is https://proxy.customer.com (which is a secure proxy using HTTPS). You would need to use the following properties as shown below. Please note that the property name will show https.proxy... instead of http.proxy. In the example below, we are also showing the authentication properties, but those can be optional based on your proxy server settings.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<property key="broker.url">...</property>
<property key="server.url">...</property>
<property key="server.username">...</property>
<property key="server.password">...</property>
<property key="https.proxy.server">proxy.customer.com</property>
<property key="https.proxy.port">443</property>
<property key="https.proxy.username">LisaSimpson</property>
<property key="https.proxy.password">my@Password</property>
</configuration>

If you need further assistance, feel free to reach out to us in Support and we will be happy to assist.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.