EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 1130448b authored by Karl Grube's avatar Karl Grube
Browse files

added alerts and renamed dns check

parent 640dad6e
No related branches found
No related tags found
No related merge requests found
......@@ -203,5 +203,13 @@ groups:
annotations:
summary: "Certificate Test failed (instance {{ $labels.instance }})"
description: "Certificate Probe Failed!\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: PostfixQueueNotEmpty
expr: topk(1, sum by (instance,le) (postfix_showq_message_age_seconds_bucket )> 0)
for: 30m
labels:
severity: warning
annotations:
summary: "Postfix Queue is not empty on (instance {{ $labels.instance }})"
description: "Postfix Queue is not empty.\n VALUE= {{ $value}}\n LABELS: {{ $labels }}"
......@@ -178,7 +178,7 @@ scrape_configs:
{% endif %}
{% if blackbox_monitoring.dns is defined %}
{% for domain in blackbox_monitoring.dns %}
- job_name: {{exporter}}_{{domain}}
- job_name: {{exporter}}_{{domain}}_dns
scheme: https
tls_config:
ca_file: '/etc/ssl/prometheus_client/root.ca.crt'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment