Alibaba Cloud EIP¶
Alibaba Cloud EIP Metrics display, including network bandwidth, network packets, rate limit packet loss rate, bandwidth utilization, etc.
Configuration¶
Install Func¶
It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata)
For self-deploying Func, refer to Self-deploying Func
Activate Script¶
Note: Please prepare the Alibaba Cloud AK that meets the requirements in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess
)
Automata Activation Script¶
- Log in to the TrueWatch console
- Click the 【Integration】 menu and select 【Cloud Account Management】
- Click 【Add Cloud Account】, select 【Alibaba Cloud】, and fill in the required information on the interface. If the cloud account information has been configured before, ignore this step
- Click 【Test】, after the test is successful, click 【Save】. If the test fails, please check whether the relevant configuration information is correct and test again
- Click 【Cloud Account Management】, you can see the added cloud account in the list, click the corresponding cloud account to enter the details page
- Click the 【Integration】 button on the cloud account details page, find
Alibaba Cloud EIP
under theUninstalled
list, click the 【Install】 button, and the installation interface will pop up for installation.
Manual Activation Script¶
-
Log in to the Func console, click 【Script Market】, enter the TrueWatch script market, search:
integration_alibabacloud_eip
-
After clicking 【Install】, enter the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.
-
Click 【Deploy Startup Script】, the system will automatically create the
Startup
script set and automatically configure the corresponding startup script. -
After activation, you can see the corresponding automatic trigger configuration in 「Manage / Automatic Trigger Configuration」. Click 【Execute】 to execute it immediately without waiting for the scheduled time. After a while, you can view the execution task records and corresponding logs.
Verification¶
- In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also check the corresponding task records and logs to check for any abnormalities
- In TrueWatch, check whether asset information exists in 「Infrastructure / Custom」
- In TrueWatch, check whether there is corresponding monitoring data in 「Metrics」
Metrics¶
After configuring Alibaba Cloud Cloud Monitor, the default Measurement is as follows. More Metrics can be collected through configuration Alibaba Cloud Cloud Monitor Metrics Details
Metric | Description | Statistics | Unit |
---|---|---|---|
net_rx_rate |
Network inbound bandwidth | Value | bits/s |
net_tx_rate |
Network outbound bandwidth | Value | bits/s |
netrxPkgs_rate |
Inbound packet rate | Average,Minimum,Maximum,Sum | Packets/Second |
nettxPkgs_rate |
Outbound packet rate | Average,Minimum,Maximum,Sum | Packets/Second |
net_in.rate_percentage |
Network inbound bandwidth utilization | Average | |
net_out.rate_percentage |
Network outbound bandwidth utilization | Average | |
net_rx |
Inbound traffic | Average,Minimum,Maximum,Sum | bytes |
net_tx |
Outbound traffic | Average,Minimum,Maximum,Sum | bytes |
net_rxPkgs |
Inbound packet count | Average,Minimum,Maximum,Sum | Count |
net_txPkgs |
Outbound packet count | Average,Minimum,Maximum,Sum | Count |
in_ratelimit_drop_speed |
Inbound rate limit packet drop rate | Average,Minimum,Maximum,Sum | Packets/Second |
out_ratelimit_drop_speed |
Outbound rate limit packet drop rate | Average,Minimum,Maximum,Sum | Packets/Second |
Object¶
The collected Alibaba Cloud EIP object data structure can be seen in 「Infrastructure - Custom」
{
"measurement": "aliyun_eip",
"tags": {
"name" : "eip-xxxxx",
"AllocationId" : "eip-bp1lfsikwo4roa0mcqg9u",
"EIPName" : "",
"Status" : "InUse",
"RegionId" : "cn-hangzhou",
"Bandwidth" : "1",
"IpAddress" : "47.96.22.249",
"InternetChargeType": "PayByTraffic",
"BusinessStatus" : "Normal",
"ChargeType" : "PostPaid"
},
"fields": {
"AllocationTime": "2022-01-20T03:06:51Z",
"ExpiredTime" : "",
"message" : "{Instance JSON data}"
}
}