Revert alerts pending durtions

Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
This commit is contained in:
Vitaly Zhuravlev 2023-06-29 23:24:03 +08:00
parent 3e250a95a0
commit e8d7f4e8b3

View file

@ -53,7 +53,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0 node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '30m',
labels: { labels: {
severity: 'warning', severity: 'warning',
}, },
@ -71,7 +71,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0 node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '30m',
labels: { labels: {
severity: '%(nodeCriticalSeverity)s' % $._config, severity: '%(nodeCriticalSeverity)s' % $._config,
}, },
@ -129,7 +129,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0 node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '1h',
labels: { labels: {
severity: 'warning', severity: 'warning',
}, },
@ -147,7 +147,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0 node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '1h',
labels: { labels: {
severity: '%(nodeCriticalSeverity)s' % $._config, severity: '%(nodeCriticalSeverity)s' % $._config,
}, },
@ -161,7 +161,7 @@
expr: ||| expr: |||
rate(node_network_receive_errs_total{%(nodeExporterSelector)s}[2m]) / rate(node_network_receive_packets_total{%(nodeExporterSelector)s}[2m]) > 0.01 rate(node_network_receive_errs_total{%(nodeExporterSelector)s}[2m]) / rate(node_network_receive_packets_total{%(nodeExporterSelector)s}[2m]) > 0.01
||| % $._config, ||| % $._config,
'for': '15m', 'for': '1h',
labels: { labels: {
severity: 'warning', severity: 'warning',
}, },
@ -175,7 +175,7 @@
expr: ||| expr: |||
rate(node_network_transmit_errs_total{%(nodeExporterSelector)s}[2m]) / rate(node_network_transmit_packets_total{%(nodeExporterSelector)s}[2m]) > 0.01 rate(node_network_transmit_errs_total{%(nodeExporterSelector)s}[2m]) / rate(node_network_transmit_packets_total{%(nodeExporterSelector)s}[2m]) > 0.01
||| % $._config, ||| % $._config,
'for': '15m', 'for': '1h',
labels: { labels: {
severity: 'warning', severity: 'warning',
}, },