检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Figure 1 Configuring a collection task Table 4 Parameters for configuring a collection task Operation Parameter Description Select Instance Prometheus Instance Select a Prometheus instance for ECS to store collected data.
alarm named "test". https://{EndPoint}/v2/{project_id}/push/events { "events" : [ { "starts_at" : 1605232501000, "timeout" : 60000, "metadata" : { "event_name" : "test", "event_severity" : "Major", "event_type" : "alarm", "resource_provider" : "ecs
Prerequisites You have connected a Prometheus instance for ECS or a common Prometheus instance. For details, see Managing Prometheus Instances or Connecting Open-Source System to AOM. A host group has been created. For details, see (New) Managing Host Groups.
Create a Prometheus instance for ECS and associate it with a collection task to mark and categorize collected data. For details, see Managing Prometheus Instances. Connect middleware and custom plug-ins to AOM.
A host can be your own VM or physical machine, or an Elastic Cloud Service (ECS) or Bare Metal Server (BMS) purchased from Huawei Cloud. A host can be connected to AOM for monitoring only when its OS meets requirements and it is installed with an ICAgent.
ECS: Prometheus for ECS CCE: Prometheus for CCE REMOTE_WRITE: Common Prometheus instance CLOUD_SERVICE: Prometheus for cloud services ACROSS_ACCOUNT: Prometheus for multi-account aggregation prom_version No String Prometheus instance version. enterprise_project_id No String Enterprise
AOM, APIG, Astro Zero, Bare Metal Server (BMS), CBH, Cloud Container Engine (CCE), CDN, Cloud Firewall (CFW), Cloud Trace Service (CTS), DCS, DDS, Anti-DDoS Service (AAD), DMS for Kafka, DRS, DWS, Elastic Cloud Server (ECS), ELB, Enterprise Router, FunctionGraph, GaussDB, Graph Engine
Figure 2 Viewing the access code Log in to the ECS and locate the Prometheus configuration file. Run the following command: .
Figure 1 Configuration code for Prometheus remote write Log in to the target ECS and configure the prometheus.yml file. Run the following command to find and start the prometheus.yml file: .
Obtaining Basic Information Before querying time series data, obtain the value of the node ID from dimensions on the ECS console, and the value of the cluster ID from dimensions on the cluster management page of the CCE console.
There are two types of nodes: Static: Select an ECS under a specified CMDB application. Dynamic: Select a node in the CMDB application to dynamically obtain ECSs under the node. This method also takes effect for instances added later.
A VM refers to an Elastic Cloud Server (ECS) running Linux. Log dumps AOM enables you to dump logs to Object Storage Service (OBS) buckets for long-term storage.
Create a Prometheus instance for ECS or a common Prometheus instance and associate it with a collection task to mark and categorize collected data. For details, see Managing Prometheus Instances. Connect middleware to AOM. For details, see Ingesting MySQL Metrics to AOM.
60000, "resource_group_id": "5680587ab6*******755c543c1f", "metadata": { "event_name": "test", //${metadata.event_name} "event_severity": "Major", //${metadata.event_severity} "event_type": "alarm", //${metadata.event_type} "resource_provider": "ecs
A host can be your own VM or physical machine, or a VM (for example, an ECS) or physical machine (for example, a BMS) that you purchased on Huawei Cloud.
Enumeration values: default ECS VPC CCE REMOTE_WRITE KUBERNETES CLOUD_SERVICE ACROSS_ACCOUNT cce_cluster_enable No String Whether to enable a CCE cluster. Enumeration values: true false prom_status No String Prometheus instance status.
Solved the issue of high CPU usage caused by file signature. 2024-10-09 5.12.224 Cleared all export HISTSIZE=0 entries (if any) from the .bashrc file in the ECS upgrade scenario. 2024-09-27 5.12.218 Supported GBK encoding in the logs reported by ICAgent.
Package", "template_name" : "CMS::ECS::Package", "type" : "manual", "update_time" : 1600000000 } ], "total_elements" : 1 } Status code: 400 Bad Request: Invalid request.
In the case of an ECS, click Bind Resource & Install Agent to bind the ECS and install an Agent. Setting an Alarm Rule Metric alarm rules can be created using the following modes: Select from all metrics, and PromQL. The following uses Select from all metrics as an example.
There are two types of nodes: Static: Select an ECS under a specified CMDB application. Dynamic: Select a node in the CMDB application to dynamically obtain ECSs under the node. This method also takes effect for instances added later. Set a package management task.