One-Click Agent Restoration Fails
Symptom
After you click Restore Agent Configurations, the Agent status is still Configuration error.
Possible Cause
Check the following items to troubleshoot the fault:
- DNS configuration
- IAM agency configuration
- User permissions
Solution
- Check the DNS configuration.
- Log in to the management console.
- Under Computing, select Elastic Cloud Server.
- Click the name of the ECS.
- Click the VPC name.
- In the VPC list, click the VPC name.
- On the Subnets tab, check whether the DNS server addresses are correct.
For details about how to configure the DNS servers in different regions, see Modifying the DNS Server Address and Adding Security Group Rules (Windows) or Modifying the DNS Server Address and Adding Security Group Rules (Linux).
Figure 1 DNS server address
- Check the IAM agency configuration.
- Log in to the management console.
- Hover your mouse on the username and click Identity and Access Management.
- On the IAM console, choose Agencies.
- Check whether there is an agency named CESAgentAutoConfigAgency.
If not, create the agency. You can delete unnecessary agencies if the agency quota has been reached.
- Check user permissions.
- Log in to the management console.
- Hover your mouse on the username and click Identity and Access Management.
- In the navigation pane on the left, click User Groups.
- Locate your user group and click Assign Permissions in the Operation column.
- To install the Agent, you must have the following permissions:
- Global: Security Administrator
- Region: ECS CommonOperationsr or BMS CommonOperations, and CES Administrator or CES FullAccess
Figure 2 User permissions required for installing the Agent
Last Article: Troubleshooting
Next Article: What Can I Do If No Monitoring Data Is Displayed After One-Click Agent Restoration? (Old Agent)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.