summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/dns_query.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:54:44 +0000
commit836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch)
tree1604da8f482d02effa033c94a84be42bc0c848c3 /src/health/health.d/dns_query.conf
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz
netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/health/health.d/dns_query.conf')
-rw-r--r--src/health/health.d/dns_query.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/health/health.d/dns_query.conf b/src/health/health.d/dns_query.conf
new file mode 100644
index 000000000..756c6a1b6
--- /dev/null
+++ b/src/health/health.d/dns_query.conf
@@ -0,0 +1,15 @@
+# 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
+ summary: DNS query unsuccessful requests to ${label:server}
+ info: DNS request type ${label:record_type} to server ${label:server} is unsuccessful
+ to: sysadmin