From cb037e0920790aa41f176f138b5df42a6e0ffe67 Mon Sep 17 00:00:00 2001 From: "phillip.toohill" Date: Wed, 30 Oct 2024 15:20:04 -0500 Subject: [PATCH] Adjusting blackbox and rabbit alerting rules (#521) --- base-kustomize/prometheus/alerting_rules.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base-kustomize/prometheus/alerting_rules.yaml b/base-kustomize/prometheus/alerting_rules.yaml index df7c6104..f63aad63 100644 --- a/base-kustomize/prometheus/alerting_rules.yaml +++ b/base-kustomize/prometheus/alerting_rules.yaml @@ -4,7 +4,7 @@ additionalPrometheusRulesMap: - name: Prometheus Alerts rules: - alert: RabbitQueueSizeTooLarge - expr: rabbitmq_queuesTotal>25 + expr: rabbitmq_queuesTotal>3600 for: 5m labels: severity: critical @@ -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: