summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/unbound.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/unbound.conf')
-rw-r--r--src/health/health.d/unbound.conf30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/health/health.d/unbound.conf b/src/health/health.d/unbound.conf
new file mode 100644
index 000000000..3c898f1d5
--- /dev/null
+++ b/src/health/health.d/unbound.conf
@@ -0,0 +1,30 @@
+
+# make sure there is no overwritten/dropped queries in the request-list
+
+ template: unbound_request_list_overwritten
+ on: unbound.request_list_jostle_list
+ class: Errors
+ type: DNS
+component: Unbound
+ lookup: average -60s unaligned absolute match-names of overwritten
+ units: queries
+ every: 10s
+ warn: $this > 5
+ delay: up 10 down 5m multiplier 1.5 max 1h
+ summary: Unbound overwritten queries
+ info: Number of overwritten queries in the request-list
+ to: sysadmin
+
+ template: unbound_request_list_dropped
+ on: unbound.request_list_jostle_list
+ class: Errors
+ type: DNS
+component: Unbound
+ lookup: average -60s unaligned absolute match-names of dropped
+ units: queries
+ every: 10s
+ warn: $this > 0
+ delay: up 10 down 5m multiplier 1.5 max 1h
+ summary: Unbound dropped queries
+ info: Number of dropped queries in the request-list
+ to: sysadmin