Help Center/ Cloud Eye/ FAQs/ Server Monitoring/ How Can I Ensure that a Newly Purchased ECS Comes with the OS Monitoring Function?
Updated on 2022-09-14 GMT+08:00

How Can I Ensure that a Newly Purchased ECS Comes with the OS Monitoring Function?

Scenarios

This topic describes how to ensure that the newly purchased ECS comes with the OS monitoring function.

A private image can only be used in the region where it is created. If it is used in other regions, no monitoring data will be generated for the ECSs created by using this private image.

Prerequisites

An ECS with the Agent installed is available.

Procedure

  1. Log in to the ECS console. In the ECS list, locate the row containing the ECS with the Agent installed, choose More > Stop in the Operation column, and click OK.
    Figure 1 Stop
  2. Choose More > Manage Image/Disk > Create Image.
    Figure 2 Create Image
  3. Set the private image name to Image_with_agent and click Next.
    Figure 3 Image_with_agent
  4. Purchase a new ECS and select the newly created private image Image_with_agent.
    Figure 4 Image_with_agent(40GB)
  5. Log in to the newly purchased ECS. Change InstanceId in Agent configuration file /usr/local/telescope/bin/conf.json to the ECS name.
    Figure 5 Modifying the Agent configuration file