Compare commits
2 commits
8503d2b46f
...
414b7d9318
Author | SHA1 | Date | |
---|---|---|---|
414b7d9318 | |||
a7578bf430 |
1 changed files with 11 additions and 1 deletions
|
@ -44,6 +44,16 @@ data:
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Free disk space below 2 GB"
|
summary: "Free disk space below 2 GB"
|
||||||
description: "Disk space on server {{ $labels.node }} is under 2 GB. Plox fix. Free Space: {{ $value }} GB on partition {{ $labels.device }}"
|
description: "Disk space on server {{ $labels.node }} is under 2 GB. Plox fix. Free Space: {{ $value }} GB on partition {{ $labels.device }}"
|
||||||
|
- name: KubernetesUnhealthyPod
|
||||||
|
rules:
|
||||||
|
- alert: KubernetesUnhealthyPod
|
||||||
|
expr: kube_pod_container_status_waiting_reason = 1
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "The Pod {{ $labels.pod }} is {{ $labels.reason }}""
|
||||||
|
description: "The Pod {{ $labels.pod }} is in the state {{ $labels.reason }} for more than 5m. The Pod is in namespace {{ $labels.namespace }} and on node {{ $labels.node }}."
|
||||||
- name: PrometheusTargetMissing
|
- name: PrometheusTargetMissing
|
||||||
rules:
|
rules:
|
||||||
- alert: PrometheusTargetMissing
|
- alert: PrometheusTargetMissing
|
||||||
|
@ -53,7 +63,7 @@ data:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: Prometheus target missing (instance {{ $labels.instance }})
|
summary: Prometheus target missing (instance {{ $labels.instance }})
|
||||||
description: "A Prometheus target has disappeared. \n Job: {{ $labels.job }}\n App: {{ $labels.app }}\n Pod: {{ $labels.pod }}\n Node: {{ $labels.node }}\n Namespace: {{ $labels.namespace }}"
|
description: "A Prometheus target has disappeared. {{if ne $labels.job ""}}\n Job: {{ $labels.job }}{{end}}{{if ne $labels.app ""}}\n App: {{ $labels.app }}{{end}}{{if ne $labels.pod ""}}\n Pod: {{ $labels.pod }}{{end}}{{if ne $labels.node ""}}\n Node: {{ $labels.node }}{{end}}{{if ne $labels.namespace ""}}\n Namespace: {{ $labels.namespace }}{{end}}"
|
||||||
- name: PrometheusConfigurationReloadFailure
|
- name: PrometheusConfigurationReloadFailure
|
||||||
rules:
|
rules:
|
||||||
- alert: PrometheusConfigurationReloadFailure
|
- alert: PrometheusConfigurationReloadFailure
|
||||||
|
|
Loading…
Reference in a new issue