Explorar el Código

alert for hypervisor oomkills

Josh Bicking hace 1 día
padre
commit
7bc700ff5d
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      monitoring/node-exporter/alerts.yaml

+ 17 - 0
monitoring/node-exporter/alerts.yaml

@@ -0,0 +1,17 @@
+---
+apiVersion: monitoring.coreos.com/v1
+kind: PrometheusRule
+metadata:
+  labels:
+    prometheus: node-exporter
+    role: alert-rules
+  name: prometheus-node-exporter-rules
+  namespace: monitoring
+spec:
+  groups:
+  - name: ./node-exporter.rules
+    rules:
+    - alert: OOMKill
+      expr: sum by (instance) (increase(node_vmstat_oom_kill[5m])) > 0
+
+