# 1. Tạo Alert cho các Virtual Machine

**Bước 1**: Đăng nhập [FPT Cloud Portal](https://console.fptcloud.com/)

**Bước 2:** Truy cập trang **Cloud Guard** > **Alert** > Chọn tab **Alerts.**

![](/files/VpQCshuhbHchMFvSO9WX)

**Bước 3**: Nhấn **Create Alert** để mở hộp thoại **New alert.**

![](/files/W4w9eQrtjUW8gc3fUavl)

**Bước 4:** Người dùng thực hiện cấu hình như bên dưới:

| Field                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Type**              | Chọn **Virtual Machine**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Name**              | Nhập tên của alert                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **Applied to**        | <p>Chọn máy ảo (instance) hoặc autoscale group sẽ áp dụng Alert này.</p><p>Lưu ý: Người dùng có thể áp dụng Alert cho 1 hoặc nhiều máy chủ ảo cùng lúc bằng cách chọn <strong>All instances</strong> hoặc nhiều <strong>instance</strong> tùy ý.</p>                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Configure metrics** | <p>Tùy chỉnh ngưỡng alert bao gồm:</p><p><strong>Type</strong> (Metric Type): Chọn loại dữ liệu muốn sử dụng để đặt ngưỡng cảnh báo, các loại dữ liệu được hỗ trợ cho Virtual Machine (CPU (%), RAM (%))</p><p><strong>Operator:</strong> Chọn loại so sánh giá trị thực với ngưỡng, bao gồm các toán tử <, <=, >=, >.</p><p><strong>Value:</strong> Nhập ngưỡng cảnh báo, giá trị sẽ được validate tùy theo đơn vị của các <strong>Metric Types</strong>.</p><p><strong>Alert Interval:</strong> Chọn chu kỳ tính toán của hệ thống, bao gồm các giá trị (3 minutes, 5 minutes, 30 minutes, 1 hour, 6 hours, 1 day)</p> |
| **Notified to**       | Chọn người nhận cảnh báo từ danh sách **Recipient.**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

![](/files/eZCXPbIug4rQwcAp6xrR)

Danh sách metric FPT Cloud hỗ trợ:

<table><thead><tr><th width="84">No.</th><th width="230">Metric Type</th><th width="88">Unit</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>CPU</td><td>%</td><td>Phần trăm sử dụng CPU của máy chủ.</td></tr><tr><td>2</td><td>RAM</td><td>%</td><td>Phần trăm sử dụng bộ nhớ của máy chủ.</td></tr><tr><td>3</td><td>Disk IOPS</td><td>IOPS</td><td>Hiệu năng đọc ghi ổ cứng (Input/Output per second).</td></tr><tr><td>4</td><td>Disk Read Bandwidth</td><td>MBps</td><td>Dung lượng băng thông đọc ổ cứng.</td></tr><tr><td>5</td><td>Disk Write Bandwidth</td><td>MBps</td><td>Dung lượng băng thông ghi ô cứng.</td></tr><tr><td>6</td><td>Network Bandwidth In</td><td>Mbps</td><td>Tổng dung lượng băng thông tải về của tất cả card mạng thuộc máy chủ.</td></tr><tr><td>7</td><td>Network Bandwidth Out</td><td>Mbps</td><td>Tổng dung lượng băng thông tải đi của tất cả card mạng thuộc máy chủ.</td></tr><tr><td>8</td><td>Total Network Bandwidth</td><td>Mbps</td><td>Tổng dung lượng băng thông tải đi và tải về của tất cả card mạng thuộc máy chủ.</td></tr></tbody></table>

{% hint style="info" %} <mark style="color:blue;">**Lưu ý:**</mark>&#x20;

* Tên Alert trong một tenant phải khác nhau.
* Hệ thống cho phép người dùng chọn được loại máy chủ đang tắt, vui lòng kiểm tra kỹ trạng thái của máy chủ trước khi chọn.
  {% endhint %}

**Bước 5:** Chọn **Create**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fptcloud.com/cloud-guard-alert/tutorials/quan-ly-alert/1.-tao-alert-cho-cac-virtual-machine.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
