Skip to content

Commit

Permalink
Add NodeBondingDegraded alert (#2843)
Browse files Browse the repository at this point in the history
Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com>
  • Loading branch information
Ayoub NASR authored Nov 12, 2023
1 parent 74ff1c6 commit 7333465
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/node-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,20 @@
description: 'Systemd service {{ $labels.name }} has entered failed state at {{ $labels.instance }}',
},
},
{
alert: 'NodeBondingDegraded',
expr: |||
(node_bonding_slaves - node_bonding_active) != 0
||| % $._config,
'for': '5m',
labels: {
severity: 'warning',
},
annotations: {
summary: 'Bonding interface is degraded',
description: 'Bonding interface {{ $labels.master }} on {{ $labels.instance }} is in degraded state due to one or more slave failures.',
},
},
],
},
],
Expand Down

0 comments on commit 7333465

Please # to comment.