Skip to content

Alibaba Cloud Site Monitoring

Alibaba Cloud Site Monitoring mainly retrieves site testing information.

Configuration

Install Func

It is recommended to activate TrueWatch Integration - Extensions - DataFlux Func (Automata)

If deploying Func manually, refer to Deploy Func Manually

Activate Script

Note: Please prepare the required Alibaba Cloud AK in advance (for simplicity, you can directly grant global read-only permissions ReadOnlyAccess)

Activate Script for DataFlux Func (Automata)

  1. Log in to the TrueWatch console
  2. Click on the 【Integration】 menu, select 【Cloud Account Management】
  3. Click on 【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
  4. Click on 【Test】, and if the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and retest
  5. In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page
  6. Click on the 【Integration】 button on the cloud account details page, find Alibaba Cloud Site Monitoring under the Not Installed list, and click on the 【Install】 button. A pop-up installation interface will appear for installation.

Activate Script Manually

  1. Log in to the Func console, click on 【Script Market】, enter the TrueWatch script market, and search for: integration_alibabacloud_site_monitor_task

  2. Click on 【Install】, then enter the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.

  3. Click on 【Deploy Startup Script】, the system will automatically create a Startup script set and configure the corresponding startup script.

  4. After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click on 【Execute】 to immediately execute it once without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs.

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the task records and logs for any abnormalities
  2. In TrueWatch, check if asset information exists in 「Infrastructure / Custom」
  3. In TrueWatch, check if there is corresponding monitoring data in 「Metrics」

Metrics

Tags

Tag Name Description
Address Site Address
TaskName Testing Task Name
countryCN Country Name in Chinese
countryEN Country Name in English
cityCN City Name in Chinese
cityEN City Name in English
provinceCN Province Name in Chinese
provinceEN Province Name in English
areaCN Area Name in Chinese
areaEN Area Name in English

Metric aliyun_site_monitor

Metric Description Unit
HTTPResponseCode HTTP Response Code int
HTTPConnectTime HTTP Connection Time seconds
HTTPDNSTime DNS Resolution Time seconds
HTTPDownloadTime HTTP Download Time seconds
HTTPDownloadSpeed HTTP Download Speed Frequency
HTTPDownloadSize HTTP Download Size bytes
SSLConnectTime SSL Connection Time seconds
redirectTime Redirection Time seconds
redirectCount Redirection Count count
tcpConnectTime TCP Connection Time seconds
TotalTime Total Response Time seconds