mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 00:47:18 +08:00
Publish
This commit is contained in:
parent
d400e3e64d
commit
81081bdda5
1 changed files with 9 additions and 0 deletions
9
dist/rules/kubernetes/kubestate-exporter.yml
vendored
9
dist/rules/kubernetes/kubestate-exporter.yml
vendored
|
|
@ -88,6 +88,15 @@ groups:
|
|||
summary: Kubernetes Job not starting ({{ $labels.namespace }}/{{ $labels.job_name }})
|
||||
description: "Job {{ $labels.namespace }}/{{ $labels.job_name }} did not start for 10 minutes\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: KubernetesCronjobFailing
|
||||
expr: '(kube_cronjob_status_last_schedule_time > kube_cronjob_status_last_successful_time) AND (kube_cronjob_status_active == 0) AND (kube_cronjob_spec_suspend == 0)'
|
||||
for: 0m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: Kubernetes CronJob failing ({{ $labels.namespace }}/{{ $labels.cronjob }})
|
||||
description: "CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is failing\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: KubernetesCronjobSuspended
|
||||
expr: 'kube_cronjob_spec_suspend != 0'
|
||||
for: 0m
|
||||
|
|
|
|||
Loading…
Reference in a new issue