summaryrefslogtreecommitdiffstats
path: root/health/health.d/dns_query.conf
blob: bf9397d85891fd8d9622d6c58cceb009562a4656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# detect dns query failure

 template: dns_query_query_status
       on: dns_query.query_status
    class: Errors
     type: DNS
component: DNS
     calc: $success
    units: status
    every: 10s
     warn: $this != nan && $this != 1
    delay: up 30s down 5m multiplier 1.5 max 1h
     info: DNS request type ${label:record_type} to server ${label:server} is unsuccessful
       to: sysadmin