421 lines
11 KiB
YAML

apiVersion: 1
groups:
- orgId: 1
name: alertes
folder: rules
interval: 1m
rules:
- uid: cpu-gnprod
title: CPU High - GNPROD
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"gnprod", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-adventure
title: CPU High - ADVENTURE
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"adventure", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-webhosting
title: CPU High - WEBHOSTING
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"cicd-server", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-backup-prod
title: CPU High - PRODBACKUP
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"prod-backup", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-prod-2
title: CPU High - PROD-2
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"prod-2", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-prod-3
title: CPU High - PROD-3 / ODOO
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"prod-3", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email
- uid: cpu-garage-ai
title: CPU High - GARAGE-AI
condition: H
data:
- refId: A
relativeTimeRange:
from: 300
to: 0
datasourceUid: PBFA97CFB590B2093
model:
datasource:
type: prometheus
uid: PBFA97CFB590B2093
expr: 100 - (avg(rate(node_cpu_seconds_total{instance=~"garage-ai", mode="idle"}[1m])) * 100)
format: time_series
instant: false
interval: 15s
refId: A
- refId: F
datasourceUid: __expr__
model:
expression: A
type: reduce
reducer: last
refId: F
- refId: H
datasourceUid: __expr__
model:
expression: F
type: threshold
refId: H
conditions:
- evaluator:
type: gt
params: [80]
operator:
type: and
query:
params: [H]
reducer:
type: last
params: []
type: query
dashboardUid: EbtmMBZSk
panelId: 27
noDataState: NoData
execErrState: Error
for: 1m
annotations:
__dashboardUid__: EbtmMBZSk
__panelId__: "27"
labels: {}
isPaused: false
notification_settings:
receiver: garagenum-email