Skip to content

Commit 7333465

Browse files
author
Ayoub NASR
authored
Add NodeBondingDegraded alert (#2843)
Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com>
1 parent 74ff1c6 commit 7333465

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/node-mixin/alerts/alerts.libsonnet

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,20 @@
407407
description: 'Systemd service {{ $labels.name }} has entered failed state at {{ $labels.instance }}',
408408
},
409409
},
410+
{
411+
alert: 'NodeBondingDegraded',
412+
expr: |||
413+
(node_bonding_slaves - node_bonding_active) != 0
414+
||| % $._config,
415+
'for': '5m',
416+
labels: {
417+
severity: 'warning',
418+
},
419+
annotations: {
420+
summary: 'Bonding interface is degraded',
421+
description: 'Bonding interface {{ $labels.master }} on {{ $labels.instance }} is in degraded state due to one or more slave failures.',
422+
},
423+
},
410424
],
411425
},
412426
],

0 commit comments

Comments
 (0)