mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-27 14:39:53 -08:00
Merge pull request #1657 from povilasv/NodeTextFileCollectorScrapeError
Add NodeTextFileCollectorScrapeError alert to mixin
This commit is contained in:
commit
b42819b69d
|
@ -190,8 +190,21 @@
|
||||||
(node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
|
(node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
|
||||||
||| % $._config,
|
||| % $._config,
|
||||||
annotations: {
|
annotations: {
|
||||||
summary: 'Number of conntrack are getting close to the limit',
|
summary: 'Number of conntrack are getting close to the limit.',
|
||||||
description: '{{ $value | humanizePercentage }} of conntrack entries are used',
|
description: '{{ $value | humanizePercentage }} of conntrack entries are used.',
|
||||||
|
},
|
||||||
|
labels: {
|
||||||
|
severity: 'warning',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
alert: 'NodeTextFileCollectorScrapeError',
|
||||||
|
expr: |||
|
||||||
|
node_textfile_scrape_error{%(nodeExporterSelector)s} == 1
|
||||||
|
||| % $._config,
|
||||||
|
annotations: {
|
||||||
|
summary: 'Node Exporter text file collector failed to scrape.',
|
||||||
|
description: 'Node Exporter text file collector failed to scrape.',
|
||||||
},
|
},
|
||||||
labels: {
|
labels: {
|
||||||
severity: 'warning',
|
severity: 'warning',
|
||||||
|
|
Loading…
Reference in a new issue