The Domain Name System (DNS) is a hierarchical decentralized naming system for computers, services, or other resources connected to the Internet or a private network.
A records and DNS server must be specified in macros. {$ARECORDLIST} {$DNSSERVER}
Self-contained Zabbix template to get information about PowerDNS dnsdist.For installation instructions see: https://github.com/frei-style/zabbix-powerdns-dnsdist-template
Collects all metrics through a single master item and extracts individual values with Prometheus preprocessing. Source: https://github.com/zabbix/community-templates/ Author: Joël de Jager
This is the Agent 2 Active variant
RequirementsBind Server 9 and aboveZabbix Server 4+ and aboveZabbix Agent on monitored hostHow it worksInclude statistics in named.confstatistics-channels {inet 127.0.0.1 port 8053 allow { 127.0.0.1; };};Include - zabbix_agentd.d/bind.confUserParameter=bind.net.udp,netstat -nua | grep :53 | wc -lUserParameter=bind.net.tcp,netstat -nta | grep :53 | wc -lUserParameter=bind.queries.in[],curl http://127.0.0.1:8053/ 2>/dev/null | xml2 | grep -A1 "/statistics/server/counters/counter/@name=$1$" | tail -1 | cut -d= -f2UserParameter=bind.queries.out[],curl http://127.0.0.1:8053/ 2>/dev/null | xml2 | grep -A1 "/statistics/views/view/counters/counter/@name=$1$" | tail -1 | cut -d= -f2UserParameter=bind.queries.query[*],curl http://127.0.0.1:8053/ 2>/dev/null | xml2 | grep -A1 "/statistics/server/counters/counter/@name=Qry$1$" | tail -1 | cut -d= -f2
GitHub: https://github.com/AdguardTeam/AdGuardHome API documentation: https://github.com/AdguardTeam/AdGuardHome/tree/master/openapi Access the documentation with https://editor.swagger.io by importing the openapi.yaml file.
Core Web FTL To use, set the {$WEBPASSWORD} macro to your API key & assign the template to your pihole host.
This template provides monitoring for Unbound DNS resolver statistics. It includes metrics such as total number of queries, cache hits and misses, recursion times, response codes, and more. The metrics are collected using the Unbound-Control command-line tool and parsed using grep and cut.
Shows recursive queries on your BIND server. Triggers on excesive usage. Best for caching servers.Instalation description:/etc/zabbix/zabbix_agentd.d/userparameter_bind.conf:UserParameter=bind.tcpcl,/bin/cat /tmp/namedtcp.logUserParameter=bind.udpcl,/bin/cat /tmp/namedudp.logcron every 30 sec:/var/spool/cron/root:SHELL=/bin/shPATH=/sbin:/bin:/usr/sbin:/usr/bin0-59 * * * * /etc/zabbix/custom/named.sh0-59 * * * * ( sleep 30; /etc/zabbix/custom/named.sh )chmod +x /etc/zabbix/custom/named.sh:#!/bin/bash/usr/local/named/sbin/rndc status > /tmp/rndcstatuscat /tmp/rndcstatus | grep tcp | awk ´{ print $3 }´ | cut -d ´/´ -f 1 > /tmp/namedtcp.logcat /tmp/rndcstatus | grep recursive | awk ´{ print $3 }´ | cut -d ´/´ -f 1 > /tmp/namedudp.logadd key for rndc in config of named
check status pihole-FTL serviceif not "start" send alarm triger
DNSの応答性能を測定します。テンプレートを利用する場合zabbix_agentd.confでリモートコマンドを有効にしてください。EnableRemoteCommands=1UnsafeUserParameters=1マクロ{$DNS_SERVER}=利用するDNSサーバを指定します。{$DOMAIN_NAME}=対象ドメイン名を指定します。
This external check allows public dns records monitoring without zabbix agent or dns server access. It is also useful when you want to know if the pinged host does not exist (that's right).
Periodical update of the root zone for Bind DNS resolver.