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>
This commit is contained in:
Vitaly Zhuravlev 2023-03-28 01:43:53 +08:00 committed by Vitaly Zhuravlev
parent fc967aa992
commit 0e0399d41e

View file

@ -53,7 +53,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
)
||| % $._config,
'for': '30m',
'for': '15m',
labels: {
severity: 'warning',
},
@ -71,7 +71,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
)
||| % $._config,
'for': '30m',
'for': '15m',
labels: {
severity: '%(nodeCriticalSeverity)s' % $._config,
},
@ -129,7 +129,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
)
||| % $._config,
'for': '1h',
'for': '15m',
labels: {
severity: 'warning',
},
@ -147,7 +147,7 @@
node_filesystem_readonly{%(nodeExporterSelector)s,%(fsSelector)s,%(fsMountpointSelector)s} == 0
)
||| % $._config,
'for': '1h',
'for': '15m',
labels: {
severity: '%(nodeCriticalSeverity)s' % $._config,
},