Add NodeBondingDegraded alert (#2843)
Signed-off-by: Ayoub Nasr <ayoub.nasr@scality.com>
This commit is contained in:
parent
74ff1c6937
commit
7333465abf
|
@ -407,6 +407,20 @@
|
||||||
description: 'Systemd service {{ $labels.name }} has entered failed state at {{ $labels.instance }}',
|
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.',
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue