Virtual Private Network (VPN) Monitoring

Monitor VPN connections and the websites accessed from various locations to ensure sensitive data is sent successfully and without any security breaches.

Start 30-day free trial Try now, sign up in 30 seconds

A virtual private network (VPN) is used to establish a connection between remote users and private networks. These connections, secured by data encryption, allows data to be sent between a device and the network. It is critical to monitor VPN usage to receive alerts before there is a spike in response time and the VPN goes down.

Install this plugin to ensure continued availability of VPN connection across multiple locations and monitor the performance of the network by checking the response time of the URL.

Performance Metrics

  • Status of the VPN
  • Status of the URL used
  • Response time of the URL
  • ISP vendor
  • Packet Loss

Prerequisites

  • Our Linux/Windows server monitoring agent should be installed in the VPN network.
  • While adding a plugin, the plugin name and its folder name inside the Site24x7 agent should be identical.

Plugin Installation

Linux

  • Download and install the latest version of the Site24x7 Linux agent in the network where you plan to run the plugin. If it is installed successfully, you will see a Linux server monitor in the Site24x7 Control Panel. This confirms that the agent is able to communicate with our data center.
  • Download the vpn_check.py and the isp.sh files from our GitHub repository.
    wget https://raw.githubusercontent.com/site24x7/plugins/master/vpn_check/vpn_check.py
    wget https://raw.githubusercontent.com/site24x7/plugins/master/vpn_check/isp.sh
  • Edit the file 'vpn_check.py' to configure the VPN host and port to be monitored. Configure the URL to be monitored in the field 'URL_BEHIND_VPN' in the file 'vpn_check.py'.
  • Create a folder with the name 'vpn_check', under the Site24x7 Linux agent plugin directory '/opt/site24x7/monagent/plugins/' and place the 'vpn_check.py' and 'isp.sh' files under '/opt/site24x7/monagent/plugins/vpn_check/'.

Windows

  • Download and install the latest version of the Site24x7 Windows agent in the network where you plan to run the plugin. If it is installed successfully, you will see a Windows server monitor in the Site24x7 Control Panel. This confirms that the agent is able to communicate with our data center.
  • Download the vpn_check.py file from our GitHub repository.
  • Edit the file 'vpn_check.py' to configure the VPN host and port to be monitored. Configure the URL to be monitored in the field 'URL_BEHIND_VPN' in the file 'vpn_check.py'.
  • Create a folder with the name 'vpn_check', under the Site24x7 Windows agent plugin directory - C:\Program Files (x86)\Site24x7\WinAgent\monitoring\Plugins\ and place the 'vpn_check.py' file under 'C:\Program Files (x86)\Site24x7\WinAgent\monitoring\Plugins\vpn_check\'
The agent will automatically execute the plugin within five minutes and send performance data to the Site24x7 data center.

View Data in the Site24x7 Web Client

  1. Log in to Site24x7 and go to Server > Plugins > click on the name of the plugin monitor.
  2. You will be able to view the performance charts on the various metrics for your VPN network.

Plugin Contribution

Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.