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: