Network Setup
Before you install an agent, please review the network requirements and make sure that your setup fulfills them.
The QMonitor agent needs to connect to your SQL Server instances, so make sure that the machine that hosts the server has the appropriate network access to the TCP/IP ports the instance is listening on. This is usually port 1433 for default instances, but the default port can be changed and assigned statically or dynamically. Please check your instance network configuration to identify which ports to open on your servers.
The agent will also need to upload all the metrics it collects to our servers in the cloud: please make sure that the machine where the agent runs can connect to the SSL port (443) on gateway.qmonitorapp.com. Please make sure that you configure your firewall to allow the connection to the host name rather than the IP address, as we use multiple servers in our gateway and your agent might be assigned to different IP addresses at different times of the day.
The agent periodically checks for updates by querying our servers for the latest available version of the software. When a new version is detected, your agent will have to download and install it from our software distribution network. In order to allow this process to complete successfully, please make sure that you configure your network to allow connections to the host static.qmonitorapp.com, again on port 443. The same advice stands for this host as well: please use the host name rather than the IP address when configuring your network, as we use a CDN network that might serve the contents from various source IP addresses.
On windows, you can test whether your agent machine is configured correctly by running this powershell script:
'gateway.qmonitorapp.com', 'static.qmonitorapp.com' |
Test-NetConnection -Port 443 |
Select ComputerName, TcpTestSucceeded
What you want to see is the following result:
ComputerName TcpTestSucceeded
------------ ----------------
gateway.qmonitorapp.com True
static.qmonitorapp.com True
On Linux you can test using bash:
timeout 1 bash -c '</dev/tcp/gateway.qmonitorapp.com/443 && echo Port is open || echo Port is closed' || echo Connection timeout
timeout 1 bash -c '</dev/tcp/static.qmonitorapp.com/443 && echo Port is open || echo Port is closed' || echo Connection timeout
The output should be “Port is open” for both hosts.
If you see a different output, please investigate any connectivity issues with your network team.