Tencent Cloud CVM monitoring agent installation is disabled

Collect the monitoring metrics needed for operations.

Description

disable_monitor_service = true disables automatic monitoring-agent installation when creating a CVM instance. Operational metrics may be missing if no separate collection method is used.

Potential impact

Resource shortages or performance degradation may be noticed late, making outage investigation harder.

Remediation

Omit disable_monitor_service or set it to false when the agent is needed. Verify metrics and alerts; review the possibility of OS reinstallation when changing an existing instance.

Examples

The examples retain default monitoring at creation. Use an image and instance type supported in the target availability zone.

Before

hcl
resource "tencentcloud_instance" "app" {
  instance_name           = "app"
  availability_zone       = "ap-guangzhou-7"
  image_id                = "img-9qrfy1xt"
  instance_type           = "S5.MEDIUM4"
  disable_monitor_service = true
}

After

hcl
resource "tencentcloud_instance" "app" {
  instance_name     = "app"
  availability_zone = "ap-guangzhou-7"
  image_id          = "img-9qrfy1xt"
  instance_type     = "S5.MEDIUM4"
}

References