summaryrefslogtreecommitdiffstats
path: root/health/health.d/dns_query.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/dns_query.conf')
-rw-r--r--health/health.d/dns_query.conf21
1 files changed, 12 insertions, 9 deletions
diff --git a/health/health.d/dns_query.conf b/health/health.d/dns_query.conf
index 64770b986..1fbb2c598 100644
--- a/health/health.d/dns_query.conf
+++ b/health/health.d/dns_query.conf
@@ -1,12 +1,15 @@
# detect dns query failure
-template: dns_query_time_query_time
- on: dns_query_time.query_time
- lookup: average -10s unaligned foreach *
- units: ms
- every: 10s
- warn: $this == nan
- delay: up 20s down 5m multiplier 1.5 max 1h
- info: average DNS query round trip time over the last 10 seconds
- to: sysadmin
+ template: dns_query_time_query_time
+ on: dns_query_time.query_time
+ class: DNS
+component: DNS
+ type: Latency
+ lookup: average -10s unaligned foreach *
+ units: ms
+ every: 10s
+ warn: $this == nan
+ delay: up 20s down 5m multiplier 1.5 max 1h
+ info: average DNS query round trip time over the last 10 seconds
+ to: sysadmin