Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding safeguard alert #7233

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prometheus-rules/prometheus-vmware-rules/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A collection of Prometheus alert rules.
name: prometheus-vmware-rules
version: 1.0.7
version: 1.0.8
dependencies:
- name: owner-info
repository: oci://keppel.eu-de-1.cloud.sap/ccloud-helm
Expand Down
20 changes: 20 additions & 0 deletions prometheus-rules/prometheus-vmware-rules/alerts/vrops.alerts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ groups:
which indicates that vrops is reporting internal server errors or is unreachable.
Check if vrops is running and healthy.

- alert: VropsAPIDownEntirely
expr: |
abesent(vrops_api_response)
viennaa marked this conversation as resolved.
Show resolved Hide resolved
for: 10m
labels:
severity: critical
tier: vmware
service: compute
support_group: compute
context: vrops
playbook: docs/devops/alert/vcenter/vrops#vrops_api_down_entirely
dashboard: vrops-exporter-status
meta: "Vrops API is down. All collectors are not reporting anymore."
annotations:
meta: "Vrops API is down. All collectors are not reporting anymore."
description: |
Exporters can not connect to vrops anymore. Most likely the VM is stuck.
If this alert fires, complete vmware-montioring is down in Prometheus.
Ensure vrops is running and healthy.

- alert: VropsTokenAcquisitionFailed
expr: vrops_api_response{get_request="token"} >= 500
for: 15m
Expand Down