adibrov: add test copy alert for CI verification (unique rule name)
All checks were successful
terraform-dev / validate (push) Successful in 5s
terraform-dev / plan (push) Successful in 8s
terraform-dev / apply (push) Has been skipped

Made-with: Cursor
This commit is contained in:
Alexandr
2026-03-25 09:59:45 +03:00
parent 3880a9876c
commit 323e54350c

View File

@ -0,0 +1,31 @@
name: "DEV ADIBROV - Low Disk Space (10%) - VCMT Nodes TEST COPY"
expression: |
100 - (
node_filesystem_avail_bytes{
instance=~"ydx-.*:9100",
mountpoint!~"^(/sys.*|/proc.*|/dev.*|/run.*|/boot.*)$",
fstype=~"(zfs|xfs|ext.)"
}
* 100
/
node_filesystem_size_bytes{
instance=~"ydx-.*:9100",
mountpoint!~"^(/sys.*|/proc.*|/dev.*|/run.*|/boot.*)$",
fstype=~"(zfs|xfs|ext.)"
}
)
threshold: 90
for: "1m"
condition_type: "gt"
need_reduce: true
reducer_type: "min"
no_data_state: "NoData"
exec_err_state: "Error"
labels:
service: "system"
severity: "critical"
status: "test"
summary: |
{{ printf "%.0f" $values.B.Value }}% Usage on {{ $labels.mountpoint }} ({{ $labels.instance }})
description: |
ТЕСТОВЫЙ АЛЛЕРТ (копия для проверки CI) — дев контур.