Skip to content

Commit

Permalink
linstor-cluster: add alerts for offline targets
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Mar 5, 2024
1 parent dda8b65 commit d6a32df
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/linstor-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ keywords:
- storage
sources:
- https://github.com/piraeusdatastore/linstor-cluster
version: 1.0.0
appVersion: "v2.3.0"
version: 1.0.1
appVersion: "v2.4.0"
14 changes: 14 additions & 0 deletions charts/linstor-cluster/templates/monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ spec:
groups:
- name: linstor.rules
rules:
- alert: linstorControllerOffline
annotations:
description: |
LINSTOR Controller is not reachable.
expr: up{job="linstor-controller"} == 0
labels:
severity: critical
- alert: linstorSatelliteErrorRate
annotations:
description: |
Expand Down Expand Up @@ -118,6 +125,13 @@ spec:
severity: warn
- name: drbd.rules
rules:
- alert: drbdReactorOffline
annotations:
description: |
DRBD Reactor on "{{`{{ $labels.node }}`}}" is not reachable.
expr: up{job="{{ .Release.Namespace }}/linstor-satellite"} == 0
labels:
severity: critical
- alert: drbdConnectionNotConnected
annotations:
description: |
Expand Down

0 comments on commit d6a32df

Please sign in to comment.