Fix NodeFileDescriptorLimit alerts

Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
This commit is contained in:
Vitaly Zhuravlev 2022-04-07 16:25:17 +04:00
parent b52bf958f8
commit 8823605f12

View File

@ -281,7 +281,7 @@
alert: 'NodeFileDescriptorLimit', alert: 'NodeFileDescriptorLimit',
expr: ||| expr: |||
( (
node_filefd_allocated{job="node-exporter"} * 100 / node_filefd_maximum{job="node-exporter"} > 70 node_filefd_allocated{%(nodeExporterSelector)s} * 100 / node_filefd_maximum{%(nodeExporterSelector)s} > 70
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '15m',
@ -297,7 +297,7 @@
alert: 'NodeFileDescriptorLimit', alert: 'NodeFileDescriptorLimit',
expr: ||| expr: |||
( (
node_filefd_allocated{job="node-exporter"} * 100 / node_filefd_maximum{job="node-exporter"} > 90 node_filefd_allocated{%(nodeExporterSelector)s} * 100 / node_filefd_maximum{%(nodeExporterSelector)s} > 90
) )
||| % $._config, ||| % $._config,
'for': '15m', 'for': '15m',