saner cpu load alerts
This commit is contained in:
parent
ca4717ef08
commit
7282e86483
1 changed files with 2 additions and 4 deletions
|
|
@ -98,8 +98,7 @@ prometheus_agent:
|
|||
alert: CPULoad
|
||||
enabled: True
|
||||
expr: |
|
||||
100 - avg without (cpu) (irate(node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"}[5m])) * 100 > 80 or
|
||||
node_load5{job="node", instance="{{ inventory_hostname }}"} > count without(cpu, mode) (node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"})
|
||||
node_load5{job="node", instance="{{ inventory_hostname }}"} > count without(cpu, mode) (node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"}) * 10
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
|
|
@ -111,8 +110,7 @@ prometheus_agent:
|
|||
alert: CPULoad
|
||||
enabled: True
|
||||
expr: |
|
||||
100 - avg without (cpu) (irate(node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"}[5m])) * 100 > 80 or
|
||||
node_load5{job="node", instance="{{ inventory_hostname }}"} > count without(cpu, mode) (node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"})
|
||||
node_load5{job="node", instance="{{ inventory_hostname }}"} > count without(cpu, mode) (node_cpu_seconds_total{mode="idle", job="node", instance="{{ inventory_hostname }}"}) * 20
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue