From c6538679d59e88225ec330d84187fa14df1780a8 Mon Sep 17 00:00:00 2001 From: phillip-toohill Date: Wed, 30 Oct 2024 13:10:54 -0500 Subject: [PATCH] Adjusting blackbox and rabbit alerting rules --- 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: