Help Center> Cloud Eye> FAQ> User Permissions> What Can I Do If the System Displays a Message Indicating Insufficient Permission When I Click Configure on the Server Monitoring Page?

What Can I Do If the System Displays a Message Indicating Insufficient Permission When I Click Configure on the Server Monitoring Page?

Symptoms

When you click Configure on the Server Monitoring page as an IAM user account, a message is displayed, indicating that you do not have the required permissions. In this case, the administrator needs to grant the agency querying permission to the user account.

Procedure

  1. Add a custom policy for querying the agencies.

    1. Use the HUAWEI CLOUD account to log in to the HUAWEI CLOUD management console.
    2. Ensure that the HUAWEI CLOUD account has been granted the Agent permission for the region. On the Cloud Eye console, choose Server Monitoring > Elastic Cloud Server. Check whether Configure is displayed above the ECS list.
      • If no, the Agent permission has been granted for the region.
      • If yes, you need to click Configure to enable the Agent permission for the region.
    3. On the management console, hover over the username in the upper right corner, and choose Identity and Access Management from the drop-down list.
    4. In the navigation pane on the left, choose Permissions. In the upper right corner of the page, click Create Custom Policy.
    5. Enter the following information to create a policy:
      • Policy Name: Specify a custom policy name.
      • Scope: Select Global services.
      • Policy View: Select JSON.
      • Policy Content: Copy the following code and paste it to the text box.
        {
            "Version": "1.1",
            "Statement": [
                {
                    "Action": [
                        "iam:agencies:listAgencies",
                        "iam:agencies:getAgency"
                    ],
                    "Effect": "Allow"
                }
            ]
        }
    6. Confirm the policy content and click OK to save the policy.
      Figure 1 Create Custom Policy

  2. Assign permissions to the user account.

    1. On the IAM console, in the navigation pane, choose User Groups, locate the row containing the user group which the user account belongs to, click More in the Operation column, and choose Manage Permissions.
    2. Click Assign Permissions. On the displayed page, search for the created custom policy, select it, and click OK.
      Figure 2 Assign Permissions