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

Adjusting blackbox and rabit alerting rules #521

Merged
merged 1 commit into from
Oct 30, 2024
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions base-kustomize/prometheus/alerting_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ additionalPrometheusRulesMap:
- name: Prometheus Alerts
rules:
- alert: RabbitQueueSizeTooLarge
expr: rabbitmq_queuesTotal>25
expr: rabbitmq_queuesTotal>3600
for: 5m
labels:
severity: critical
Expand Down Expand Up @@ -51,14 +51,14 @@ additionalPrometheusRulesMap:
- name: Blackbox Alerts
rules:
- alert: TLS certificate expiring
expr: (probe_ssl_earliest_cert_expiry - time())/86400 < 60
expr: (probe_ssl_earliest_cert_expiry - time())/86400 < 30
labels:
severity: warning
annotations:
summary: "SSL certificate will expire soon on (instance {{ $labels.instance }})"
description: "SSL certificate expires within 60 days\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: TLS certificate expiring
expr: (probe_ssl_earliest_cert_expiry - time())/86400 < 30
expr: (probe_ssl_earliest_cert_expiry - time())/86400 < 15
labels:
severity: critical
annotations:
Expand Down
Loading