Decrease NodeFilesystem pending time to 15m

30m is too long and there is a risk of running out of disk space/inodes completely if something is filling up disk very fast (like log file).

Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
pull/2644/head
Vitaly Zhuravlev 2 years ago committed by Vitaly Zhuravlev
parent fc967aa992
commit 0e0399d41e

@ -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': '30m', 'for': '15m',
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': '30m', 'for': '15m',
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': '1h', 'for': '15m',
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': '1h', 'for': '15m',
labels: { labels: {
severity: '%(nodeCriticalSeverity)s' % $._config, severity: '%(nodeCriticalSeverity)s' % $._config,
}, },

Loading…
Cancel
Save