Skip to content

Configuration Manual for "Alibaba Cloud - Domain" Collector

Before reading this article, please read the following first:

Before using this collector, you must install the 'Integration Core Package' and its associated third-party dependency packages

1. Configuration Structure

This script requires no additional configuration.

2. Data Reporting Format

After data synchronization is successful, you can view the data in the "Infrastructure - Resource Catalog" section of {{( brand_name }}}.

The example of reported data is as follows:

JSON
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
{
  "measurement": "aliyun_domain",
  "tags": {
    "name"        : "S202182xxx",
    "DomainType"  : "New gTLD",
    "InstanceId"  : "S202182xxx",
    "DomainName"  : "slxxx",
    "DomainStatus": "3"
  },
  "fields": {
    "ExpirationDate"      : "2023-10-18 07:59:59",
    "ExpirationDateStatus": "1",
    "RegistrationDate"    : "2021-10-17 10:01:53",
    "message"             : "{JSON instance data}"
  }
}

The fields in tags and fields may change with subsequent updates.

The value of tags.name is the instance ID, used as a unique identifier. fields.message is the string after JSON serialization. fields.DomainStatus indicates the domain status, values: 1: Urgent need to renew. 2: Urgent need to redeem. 3: Normal. fields.ExpirationDateStatus indicates the domain expiration status, values: 1: Domain not expired. 2: Domain expired.

X. Appendix

Please refer to the official Alibaba Cloud documentation: