Skip to content

Commit

Permalink
Adjusting blackbox and rabbit alerting rules (rackerlabs#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
the2hill authored Oct 30, 2024
1 parent 030d257 commit cb037e0
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit cb037e0

Please sign in to comment.