remove dns-lg rules (replaced by dns-probe)

master 0.5.0
parent 9019f1b964
commit 770f3b5653
  1. 49
      discovery.conf.d/dns.yaml
  2. 22
      rules/dns.yaml

@ -1,49 +0,0 @@
- zones:
- bksp.space
- evinamuller.fr
- expressifs.com
ns:
- ns1.bksp.space
- ns2.bksp.space
- ns2.ppsfleet.navy
host: bksp.space
- zones:
- fede.re
- ppsfleet.navy
ns:
- ns1.ppsfleet.navy
- ns2.ppsfleet.navy
- ns3.ppsfleet.navy
host: ppsfleet.navy
- zones:
- fede.re
- ppsfleet.navy
ns:
- ns1.ppsfleet.navy
- ns2.ppsfleet.navy
- ns3.ppsfleet.navy
host: ppsfleet.navy
#- zones:
# - contesludiques.eu.org
# - dns-witch.net.eu.org
# - grimoire.eu.org
# - jeuviodeo.fr.eu.org
# - mail.dns-witch.net.eu.org
# - monkeygames.fr.eu.org
# - snug.eu.org
# - stryges.fr.eu.org
# - sumomo.net.eu.org
# - wicce.eu.org
# ns:
# - ns1.dns-witch.net.eu.org
# - ns2.dns-witch.net.eu.org
# host: dns-witch.net.eu.org
#- zones:
# - blog.wehost.lgbt
# ns:
# - ns1.blog.wehost.lgbt
# - ns2.blog.wehost.lgbt
# host: dns-witch.net.eu.org

@ -1,22 +0,0 @@
groups:
- name: dns
rules:
- alert: NsMismatch
for: 5m
expr:
count by (Name, Target, host, job) (dns_lg_answer_section_rr_info{Type="NS"}) != on (Name) group_left count by (Name) (group by (instance, Name) (dns_lg_answer_section_rr_info{Type="NS"}))
labels:
severity: critical
annotations:
summary: NS not found in all name severs
description: The NS {{ $labels.Target }} has not been found on all name servers of zone {{ $labels.Name }}
- alert: SerialMismatch
for: 5m
expr:
count by (Name, host, job) (group by(Name, Serial) (dns_lg_answer_section_rr_info{Type="SOA"})) > 1
labels:
severity: critical
annotations:
summary: Serial out of sync
description: Name servers for zone {{ $labels.Name }} are serving {{ $value }} different values of the serial
Loading…
Cancel
Save