After you install the Agent, configure it by clicking Restore Agent Configurations on the Cloud Eye console. If the Agent fails to be configured by clicking Restore Agent Configurations or due to other reasons, manually configure it by following the instructions provided in this topic.
This topic takes an ECS as an example. The operations for BMSs are similar.
The Agent has been installed.
cd /usr/local/telescope/bin
vi conf.json
ECS parameters
Storing plaintext AKs and SKs poses great security risks. You are advised to delegate all ECS or BMS Agents in the region. For details, see How Can I Create an Agency?
{ "InstanceId":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "ProjectId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "AccessKey": "XXXXXXXXXXXXXXXXXXXX", "SecretKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "RegionId": "eu-de", "ClientPort": 0, "PortNum": 200 }
BMS parameters
{ "InstanceId":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "ProjectId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "AccessKey": "XXXXXXXXXXXXXXXXXXXX", "SecretKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "RegionId": "eu-de", "ClientPort": 0, "PortNum": 200, "BmsFlag": true }
Parameter |
Description |
---|---|
InstanceId |
(Optional) Specifies the ECS ID. You can log in to the management console and view the ECS ID in the ECS list. NOTE:
If you do not configure InstanceId, retain "InstanceId":"". If you configure it, ensure that the following two requirements are met:
|
ProjectId |
(Optional) Specifies the project ID. If you do not configure ProjectId, retain "ProjectId": "". If you configure it, perform the following operations:
|
AccessKey/SecretKey |
To obtain the AK and SK, perform the following operations: Log in to the Cloud Eye console, click the username in the upper right corner, and choose My Credentials, and choose Access Keys.
|
RegionId |
Specifies the region ID. For example, if the ECS is located in region EU DE, RegionId is eu-de. |
ClientPort |
Specifies the start port number used by the Agent. NOTE:
The default value is 0, indicating that the Agent will randomly use any port. Ports 1 to 1023 are reserved. You are advised not to specify a port in this range for the Agent. |
PortNum |
Specifies the number of ports configured for the Agent. NOTE:
The default value is 200. If ClientPort is 5000, the port range will be 5000 to 5199. |
BmsFlag |
Set this parameter to true for a BMS. This parameter is not required by an ECS. You do not need to set this parameter for the Windows OS. |
vi conf_ces.json
{ "Endpoint": "https://ces.eu-de.otc.t-systems.com" }
Parameter |
Description |
---|---|
Endpoint |
Specifies the Cloud Eye endpoint URL in the region of the ECS or BMS. For example, if the ECS or BMS is located in region EU-DE, Endpoint is ces.eu-de.otc.t-systems.com. |