This topic describes how to monitor a VPN gateway by using CloudMonitor. You can also set threshold-triggered alert rules and monitor the traffic of a VPN gateway. When a threshold is breached, a notification is sent to you.
View the monitoring data about a VPN gateway
- Log on to the VPN gateway console.
In the top navigation bar, select the region in which the VPN gateway resides.
On the VPN Gateways page, find the VPN gateway that you want to manage and click its ID.
On the details page, click the Monitor tab to view the monitoring data.
By default, the system displays the monitoring data within the last hour. You can also select 3 hours, 6 hours, 12 hours, or specify a custom time range.
The system can automatically update monitoring data.
On the top of the Monitor tab, you can turn on Auto Refresh to enable the system to automatically update monitoring data every minute.
Metric
Description
Inbound Packet Rate of VPN Gateway
The rate at which the VPN gateway receives packets. Unit: packet/s.
Outbound Packet Rate of VPN Gateway
The rate at which the VPN gateway sends packets. Unit: packet/s.
Inbound Traffic Rate of VPN Gateway
The rate at which the VPN gateway receives data. Unit: bit/s.
Outbound Traffic Rate of VPN Gateway
The rate at which the VPN gateway sends data. Unit: bit/s.
Number of SSL Clients
The number of clients connected to the VPN gateway through SSL-VPN. Unit: clients.
Inbound Bandwidth Usage of VPN Gateway
The percentage of bandwidth usage when the VPN gateway receives data.
Outbound Bandwidth Usage of VPN Gateway
The percentage of bandwidth usage when the VPN gateway sends data.
Create a threshold-triggered alert rule for a VPN gateway
We recommend that you create a threshold-triggered alert rule for a VPN gateway. When a threshold is breached, a notification is sent to you.
Log on to the CloudMonitor console.
In the left-side navigation pane, choose
.On the Alert Rules page, click Create Alert Rule.
In the Create Alert Rule panel, select vpngw from the Product drop-down list, set the parameters, and then click OK.
The following table describes the parameters that are relevant to this topic. For more information about how to configure other parameters, see Create an alert rule.
Click +Add Rule, set the following parameters in the Add Rule Description panel, and then click OK.
Parameter
Description
Alert Rule
Enter a name for the alert rule.
Metric Type
Select a metric type for the alert rule. In this example, Single Metric is selected. For more information about how to configure multiple metrics and dynamic thresholds, see Create an alert template.
Single Metric
Multiple Metrics
Dynamic Threshold
Metric
Select a metric.
Gateway.rx.utilization: the percentage of bandwidth usage when the VPN gateway receives data.
Gateway.tx.utilization: the percentage of bandwidth usage when the VPN gateway sends data.
Gateway.rxPkgs: the rate at which the VPN gateway receives packets.
Gateway.txPkgs: the rate at which the VPN gateway sends packets.
SSL Client Count: the number of clients connected to the VPN gateway through SSL-VPN.
Inbound Bandwidth: the bandwidth used by the VPN gateway to receive data.
Outbound Bandwidth: the bandwidth used by the VPN gateway to send data.
Threshold and Alert Level
Enter the conditions, threshold, and alert level of the alert rule.
Chart Preview
The monitoring data of the selected metric is displayed in the chart.