zabbix_export: version: '6.0' date: '2021-11-21T21:51:13Z' groups: - uuid: 7df96b18c230490a9a0a9e2307226338 name: Templates templates: - uuid: d7343b0568264be7912a704a2933e12f template: 'Knot Resolver Statistics' name: 'Knot Resolver Statistics' description: | ## Description Collects statistic values from Knot Resolver ## Overview Knot Resolver statistics Requirements ------------ * None Installation ------------ * Import the template * If needed, modify *{$KRESD\_STATS\_URL}* macro on the Host (under Inherited and host macros) to the URL of your Knot Resolver statistics service, usually *https://localhost:8453/stats* or *http://localhost:8053/stats* Tested on Zabbix 4.0.11 Based on template from https://github.com/heximcz/kresd-stats-zabbix ## Author Václav Nováček groups: - name: Templates items: - uuid: 5b342a14cff14743a73e892e0e5f369a name: answer.1ms type: DEPENDENT key: 'kresd.stats[answer.1ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.1ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: c2b53b45bdd143ea953b90080bb29092 name: answer.10ms type: DEPENDENT key: 'kresd.stats[answer.10ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.10ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 4748e9c333ac450a9c56901d54e42d8b name: answer.50ms type: DEPENDENT key: 'kresd.stats[answer.50ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.50ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 36a2d52d81164390be4697c234bf1c89 name: answer.100ms type: DEPENDENT key: 'kresd.stats[answer.100ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.100ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: c28e4c833441401ab23b53cb45a36294 name: answer.250ms type: DEPENDENT key: 'kresd.stats[answer.250ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.250ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: a88db6d2660e4ea9834a2de9796f89db name: answer.500ms type: DEPENDENT key: 'kresd.stats[answer.500ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.500ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: e5c50e3885ea4a0db672b4c465ebde09 name: answer.1000ms type: DEPENDENT key: 'kresd.stats[answer.1000ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.1000ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: d78570b1a22c425484023848c774cfd9 name: answer.1500ms type: DEPENDENT key: 'kresd.stats[answer.1500ms]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.1500ms'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 9059321b02f94f57bdc27a79cece6dab name: answer.aa type: DEPENDENT key: 'kresd.stats[answer.aa]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.aa'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: b43b64b3f8d64c2da2a1c8fab7c3e81c name: answer.ad type: DEPENDENT key: 'kresd.stats[answer.ad]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.ad'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 111f497050f54e08b681636b8fd8b69b name: answer.cached type: DEPENDENT key: 'kresd.stats[answer.cached]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.cached'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 0c17d656ad764a2aa4cff08b4cb88c2f name: answer.cd type: DEPENDENT key: 'kresd.stats[answer.cd]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.cd'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: d1c0c3998f8446b8a037902c5c02ccdf name: answer.do type: DEPENDENT key: 'kresd.stats[answer.do]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.do'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 5b73121932294a049e7980e5be9a8bf0 name: answer.edns0 type: DEPENDENT key: 'kresd.stats[answer.edns0]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.edns0'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 4b15a123650b423cb00552c17ce7f465 name: answer.nodata type: DEPENDENT key: 'kresd.stats[answer.nodata]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.nodata'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 99a7255cbfc04a569b2d3b453a051d82 name: answer.noerror type: DEPENDENT key: 'kresd.stats[answer.noerror]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.noerror'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 5919789631514d75bef746c3eb185a25 name: answer.nxdomain type: DEPENDENT key: 'kresd.stats[answer.nxdomain]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.nxdomain'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 1f87d97903474c9ebf841df3b2988ec7 name: answer.ra type: DEPENDENT key: 'kresd.stats[answer.ra]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.ra'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 16e49ce940b74430bafce4e229967202 name: answer.rd type: DEPENDENT key: 'kresd.stats[answer.rd]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.rd'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 70539957120c4ef3aa707a769342fb37 name: answer.servfail type: DEPENDENT key: 'kresd.stats[answer.servfail]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.servfail'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer triggers: - uuid: 0ebee98160d04f588d3803d899b4005c expression: 'last(/Knot Resolver Statistics/kresd.stats[answer.servfail],#1:now-0)>1200' name: 'Too many SERVFAIL on {HOST.NAME}' priority: DISASTER - uuid: 5ce7e7c61ca8404cbac5efd1ff10cd56 name: answer.slow type: DEPENDENT key: 'kresd.stats[answer.slow]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.slow'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: bf687db0b84f41349befc11e3eb8fcee name: answer.tc type: DEPENDENT key: 'kresd.stats[answer.tc]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''answer.tc'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: 450b844c6a4b4a33a393a4fb87d1c156 name: answer.total type: DEPENDENT key: 'kresd.stats[answer.total]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''answer.total'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Answer - uuid: cc7d469fb79a437daf8112f8f052cca8 name: cache.clear type: DEPENDENT key: 'kresd.stats[cache.clear]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.clear'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: bc23252afd87439496aba1f69e39f00e name: cache.close type: DEPENDENT key: 'kresd.stats[cache.close]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.close'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 70e7149238954e34adbfef63b6209407 name: cache.commit type: DEPENDENT key: 'kresd.stats[cache.commit]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.commit'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: d550da4c1b7d4a09aa3d98bd6f8af9ce name: cache.count type: DEPENDENT key: 'kresd.stats[cache.count]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.count'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: b48a03163fc841bba08c19d505a62caf name: cache.match type: DEPENDENT key: 'kresd.stats[cache.match]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.match'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 8b45d01eca2f46e18b3289b4e08beedd name: cache.match_miss type: DEPENDENT key: 'kresd.stats[cache.match_miss]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.match_miss'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: c70c9be8b2d54df49631831d271b43a0 name: cache.open type: DEPENDENT key: 'kresd.stats[cache.open]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.open'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 2c0caa7d8520467fabf3f0ce85f8d5bc name: cache.read type: DEPENDENT key: 'kresd.stats[cache.read]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.read'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 75b04c292d6a45b4b3c03e2563c83bda name: cache.read_leq type: DEPENDENT key: 'kresd.stats[cache.read_leq]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.read_leq'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 06c1c03c76b14f6c8c1e8ce2c48c0cc8 name: cache.read_leq_miss type: DEPENDENT key: 'kresd.stats[cache.read_leq_miss]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.read_leq_miss'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 2eceea1dc26c4cf786b96c9aafa85536 name: cache.read_miss type: DEPENDENT key: 'kresd.stats[cache.read_miss]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.read_miss'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 6a81673c2b3a412991ae11128269119a name: cache.remove type: DEPENDENT key: 'kresd.stats[cache.remove]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.remove'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: faf22b75120b460892e525818e2135c2 name: cache.remove_miss type: DEPENDENT key: 'kresd.stats[cache.remove_miss]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.remove_miss'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: 535650ab431b496fa41d3b332e75f3a1 name: cache.write type: DEPENDENT key: 'kresd.stats[cache.write]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''cache.write'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Cache - uuid: ae35f87521ee452e8246006f481be428 name: predict.epoch type: DEPENDENT key: 'kresd.stats[predict.epoch]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''predict.epoch'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Predict - uuid: 4b7a5543676b4456971af56f3b29199e name: predict.learned type: DEPENDENT key: 'kresd.stats[predict.learned]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''predict.learned'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Predict - uuid: 63bce68893494d69812069d8520ecb4d name: predict.queue type: DEPENDENT key: 'kresd.stats[predict.queue]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''predict.queue'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Predict - uuid: 0113a0bc33304ca1a11a1cd1193af390 name: query.dnssec type: DEPENDENT key: 'kresd.stats[query.dnssec]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''query.dnssec'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Query - uuid: 90b5fda09cab4d5593eb60331b8594bf name: query.edns type: DEPENDENT key: 'kresd.stats[query.edns]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''query.edns'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Query - uuid: 7a41da77eba142d4952a09dce12e7bff name: request.doh type: DEPENDENT key: 'kresd.stats[request.doh]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''request.doh'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: 74d9310b61064d17b9bc53fdf9782581 name: request.dot type: DEPENDENT key: 'kresd.stats[request.dot]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''request.dot'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: b2d18469d3d14f839099354d102ec0ef name: request.internal type: DEPENDENT key: 'kresd.stats[request.internal]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''request.internal'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: 3b78550fea23480da6d6d0f171422ce6 name: request.tcp type: DEPENDENT key: 'kresd.stats[request.tcp]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''request.tcp'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: 379c300ece29437186e53b5e4b708a6a name: request.total type: DEPENDENT key: 'kresd.stats[request.total]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''request.total'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: 18dbdd07229b49a69cb196ec803e3c9c name: request.udp type: DEPENDENT key: 'kresd.stats[request.udp]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''request.udp'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Request - uuid: 8ef035a42713443a8d2eef992a5c9877 name: stats type: HTTP_AGENT key: 'kresd.stats[stats]' history: '0' trends: '0' value_type: TEXT url: '{$KRESD_STATS_URL}' - uuid: 62159bbf34f245079029a108d8835770 name: worker.concurrent type: DEPENDENT key: 'kresd.stats[worker.concurrent]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''worker.concurrent'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 2c3381fde5d1474697a37fe06c4081ea name: worker.csw type: DEPENDENT key: 'kresd.stats[worker.csw]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.csw'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: b01de09e501040c29d67f3252622ff97 name: worker.dropped type: DEPENDENT key: 'kresd.stats[worker.dropped]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.dropped'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 9068626fd6724f13b9664161ba5a2ae2 name: worker.ipv4 type: DEPENDENT key: 'kresd.stats[worker.ipv4]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''worker.ipv4'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 9e3e263a32134aa1956160bc2d71de5b name: worker.ipv6 type: DEPENDENT key: 'kresd.stats[worker.ipv6]' delay: '0' preprocessing: - type: JSONPATH parameters: - '$.[''worker.ipv6'']' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: febdf9be98a34e3890296ebbdc16f8d3 name: worker.pagefaults type: DEPENDENT key: 'kresd.stats[worker.pagefaults]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.pagefaults'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 6a2e59e997d8446182fe9c4a516b391e name: worker.queries type: DEPENDENT key: 'kresd.stats[worker.queries]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.queries'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 4b2712fc4b9c4d2f8683230b490df8fc name: worker.rss type: DEPENDENT key: 'kresd.stats[worker.rss]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.rss'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: e3ae6f49f76d43ca8b61443e51f3de19 name: worker.swaps type: DEPENDENT key: 'kresd.stats[worker.swaps]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.swaps'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 7cd57e3fb30240f9b7e078e0e8b73022 name: worker.systime type: DEPENDENT key: 'kresd.stats[worker.systime]' delay: '0' value_type: FLOAT preprocessing: - type: JSONPATH parameters: - '$.[''worker.systime'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: b66e0f12ec8b4b0a86021ca5efba1beb name: worker.tcp type: DEPENDENT key: 'kresd.stats[worker.tcp]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.tcp'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: a632ca00d97a4351b72313f8cab83e47 name: worker.timeout type: DEPENDENT key: 'kresd.stats[worker.timeout]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.timeout'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 891b46f5fe6742d1bce13f52272fa4cd name: worker.tls type: DEPENDENT key: 'kresd.stats[worker.tls]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.tls'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 2af3e9abe2604b57a69b57c3a064d794 name: worker.udp type: DEPENDENT key: 'kresd.stats[worker.udp]' delay: '0' units: /min preprocessing: - type: JSONPATH parameters: - '$.[''worker.udp'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker - uuid: 61c09f5834f345719abbaadaf3b35ba2 name: worker.usertime type: DEPENDENT key: 'kresd.stats[worker.usertime]' delay: '0' value_type: FLOAT preprocessing: - type: JSONPATH parameters: - '$.[''worker.usertime'']' - type: SIMPLE_CHANGE parameters: - '' master_item: key: 'kresd.stats[stats]' tags: - tag: Application value: Worker macros: - macro: '{$KRESD_STATS_URL}' value: 'https://localhost:8453/stats' graphs: - uuid: 7cde35eff1c440fcbc83ebe767a95d2a name: 'Kresd Answers' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.cached]' - sortorder: '1' color: F63100 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.nodata]' - sortorder: '2' color: 2774A4 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.noerror]' - sortorder: '3' color: A54F10 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.nxdomain]' - uuid: c999701de55a4bf390f1f1c8da2cf1b2 name: 'Kresd Answers 1-1500ms' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.1ms]' - sortorder: '1' color: F63100 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.10ms]' - sortorder: '2' color: 2774A4 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.50ms]' - sortorder: '3' color: A54F10 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.100ms]' - sortorder: '4' color: FC6EA3 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.250ms]' - sortorder: '5' color: 6C59DC item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.500ms]' - sortorder: '6' color: AC8C14 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.1000ms]' - sortorder: '7' color: 611F27 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.1500ms]' - uuid: 70db70d2a44d43a580fe01f466a347ef name: 'Kresd Answer SERVFAIL' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.servfail]' - uuid: f0c71d0f45a549e59ff6e7ea8ee9ef25 name: 'Kresd Answers TOTAL' ymin_type_1: FIXED graph_items: - color: AA0000 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[answer.total]' - uuid: c8ad0c4e1dde41b48aeae8e8bb20df03 name: 'Kresd Predict' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[predict.epoch]' - sortorder: '1' color: F63100 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[predict.learned]' - sortorder: '2' color: 2774A4 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[predict.queue]' - uuid: 6d2ae5486a464834a9baf7d2d59cbc56 name: 'Kresd Requests' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[request.internal]' - sortorder: '1' color: 2774A4 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[request.udp]' - sortorder: '2' color: A54F10 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[request.tcp]' - uuid: 304c6e08c92b405db90ed6df59da7d6f name: 'Kresd Requests TOTAL' ymin_type_1: FIXED graph_items: - color: 388E3C item: host: 'Knot Resolver Statistics' key: 'kresd.stats[request.total]' - uuid: 1b9d5dbaf36b48e49d4882f4ae0fe83b name: 'Kresd Worker CPU' ymin_type_1: FIXED graph_items: - color: 1A7C11 calc_fnc: ALL item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.systime]' - sortorder: '1' color: 2774A4 calc_fnc: ALL item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.usertime]' - uuid: d05ec08e7a0c426b8ee17f50ddfb8170 name: 'Kresd Worker Queries' ymin_type_1: FIXED graph_items: - color: 1A7C11 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.dropped]' - sortorder: '1' color: F63100 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.pagefaults]' - sortorder: '2' color: 2774A4 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.queries]' - sortorder: '3' color: A54F10 item: host: 'Knot Resolver Statistics' key: 'kresd.stats[worker.timeout]'