You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
734 B
26 lines
734 B
3 months ago
|
{
|
||
|
prometheusAlerts+:: {
|
||
|
groups+: [
|
||
|
{
|
||
|
name: 'node-network',
|
||
|
rules: [
|
||
|
{
|
||
|
alert: 'NodeNetworkInterfaceFlapping',
|
||
|
annotations: {
|
||
|
summary: 'Network interface is often changing its status',
|
||
|
description: 'Network interface "{{ $labels.device }}" changing its up status often on node-exporter {{ $labels.namespace }}/{{ $labels.pod }}',
|
||
|
},
|
||
|
expr: |||
|
||
|
changes(node_network_up{%(nodeExporterSelector)s,%(hostNetworkInterfaceSelector)s}[2m]) > 2
|
||
|
||| % $._config,
|
||
|
'for': '2m',
|
||
|
labels: {
|
||
|
severity: 'warning',
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
}
|