Score:0

Prometheus Alert Manager - CPU high not alerting

gt flag

I configured prometheus alert manager, but he is not alerting when the CPU of one of my server goes to 99% of usage. This is the alert :

- alert: HostHighCpuLoad
  expr: avg(irate(node_cpu_seconds_total{mode="idle"}[1m]) * 100) < 30
  for: 1m
  labels:
    severity: warning
  annotations:
    summary: "High usage on {{ $labels.instance }}"
    description: "{{ $labels.instance }} has a average CPU idle (current value: {{ $value }}s)"

It looks like my expression, take the global average of all my servers, but i need to monitor this measure for every single server.

Someone already got this problem ?

c4f4t0r avatar
nl flag
How many cpus has your server?
Score:0
gt flag
avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[1m]) * 100) < 30
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.