Skip to content

Commit 4bfdd15

Browse files
authored
Provisioned alerts don't fire on No Data (#2576)
1 parent 07803ba commit 4bfdd15

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

grafana/default-alerts/cpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,12 @@ groups:
8181
maxDataPoints: 43200
8282
refId: C
8383
type: threshold
84-
noDataState: NoData
85-
execErrState: Error
84+
noDataState: OK
85+
execErrState: OK
8686
for: 10m
8787
annotations:
8888
summary: CPU usage high, above 90%
8989
labels:
9090
severity: medium
91+
origin: provisioned
9192
isPaused: false

grafana/default-alerts/crit_disk_space.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ groups:
7979
maxDataPoints: 43200
8080
refId: C
8181
type: threshold
82-
noDataState: NoData
83-
execErrState: Error
82+
noDataState: OK
83+
execErrState: OK
8484
for: 10m
8585
annotations:
8686
summary: Disk space critically low on {{ $labels.mountpoint }}, {{ $values.B }} percent free
8787
labels:
8888
severity: critical
89+
origin: provisioned
8990
isPaused: false

grafana/default-alerts/disk_space.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ groups:
7979
maxDataPoints: 43200
8080
refId: C
8181
type: threshold
82-
noDataState: NoData
83-
execErrState: Error
82+
noDataState: OK
83+
execErrState: OK
8484
for: 10m
8585
annotations:
8686
summary: Disk space low on {{ $labels.mountpoint }}, {{ $values.B }} percent free
8787
labels:
8888
severity: medium
89+
origin: provisioned
8990
isPaused: false

grafana/default-alerts/memory.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,12 @@ groups:
8282
maxDataPoints: 43200
8383
refId: C
8484
type: threshold
85-
noDataState: NoData
86-
execErrState: Error
85+
noDataState: OK
86+
execErrState: OK
8787
for: 5m
8888
annotations:
8989
summary: memory usage is dangerously high at {{ humanizePercentage $values.B.Value }}.
9090
labels:
9191
severity: critical
92+
origin: provisioned
9293
isPaused: false

grafana/default-alerts/oom.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,5 @@ groups:
8989
summary: A container ran out of memory and was killed by Linux
9090
labels:
9191
severity: critical
92+
origin: provisioned
9293
isPaused: false

0 commit comments

Comments
 (0)