Update gen_config.py

pull/42/head
StarsL.cn 2 years ago committed by GitHub
parent 42b2285360
commit b9d760343b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,7 +62,7 @@ groups:
description: "{{ $labels.name }}:内存使用率{{ $value | humanize }}%\\n> {{ $labels.group }}-{{ $labels.instance }}"
- alert: CPU使用率
expr: 100 - (avg by(instance,name,group,account) (irate(node_cpu_seconds_total[5m])) * 100) > 92
expr: 100 - (avg by(instance,name,group,account) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 92
for: 5m
labels:
alertype: system

Loading…
Cancel
Save