You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
560 B

groups:
- name: system-alerts
rules:
- alert: HighCPUUsage
expr: 100 - (avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[1m])) * 100) > 80
for: 1m
labels:
severity: warning
annotations:
summary: "⚠ CẢNH BÁO: CPU cao trên {{ $labels.instance }}"
description: |
💥 Máy chủ: {{ $labels.instance }}
🔥 CPU đã vượt ngưỡng 80% trong hơn 1 phút
📊 Giá trị hiện tại: {{ $value | printf "%.2f" }}%