1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

Only alert for nodes that currently exist (#1661)

This commit is contained in:
Ali Rizwan
2018-07-23 12:20:54 +02:00
committed by Frederic Branczyk
parent aa0166b0ee
commit e82f7bbd51
6 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Kubernetes node exporter
name: exporter-node
version: 0.4.3
version: 0.4.4
maintainers:
- name: Giancarlo Rubio
email: gianrubio@gmail.com

View File

@@ -29,7 +29,7 @@ groups:
or node-exporters have disappeared from discovery
summary: Prometheus could not scrape a node-exporter
- alert: NodeDiskRunningFull
expr: predict_linear(node_filesystem_free{job="node-exporter",mountpoint!~"^/etc/(?:resolv.conf|hosts|hostname)$"}[6h], 3600 * 24)
expr: predict_linear(node_filesystem_free{job="node-exporter",mountpoint!~"^/etc/(?:resolv.conf|hosts|hostname)$"}[6h], 3600 * 24) and on(instance) up{job="node-exporter"}
for: 30m
labels:
severity: warning
@@ -38,7 +38,7 @@ groups:
full within the next 24 hours (mounted at {{`{{$labels.mountpoint}}`}})
summary: Node disk is running full within 24 hours
- alert: NodeDiskRunningFull
expr: predict_linear(node_filesystem_free{job="node-exporter",mountpoint!~"^/etc/(?:resolv.conf|hosts|hostname)$"}[30m], 3600 * 2) < 0
expr: predict_linear(node_filesystem_free{job="node-exporter",mountpoint!~"^/etc/(?:resolv.conf|hosts|hostname)$"}[30m], 3600 * 2) < 0 and on(instance) up{job="node-exporter"}
for: 10m
labels:
severity: critical

View File

@@ -7,4 +7,4 @@ maintainers:
name: kube-prometheus
sources:
- https://github.com/coreos/prometheus-operator
version: 0.0.100
version: 0.0.101

View File

@@ -58,7 +58,7 @@ dependencies:
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
- name: exporter-node
version: 0.4.3
version: 0.4.4
#e2e-repository: file://../exporter-node
repository: https://s3-eu-west-1.amazonaws.com/coreos-charts/stable/
condition: deployExporterNode