Pi-hole

Pi-hole is a Linux network-level advertisement and Internet tracker blocking application which acts as a DNS sinkhole and optionally a DHCP server, intended for use on a private network.

Available solutions

Vendor and Community integrations are created by third parties and are not verified by Zabbix. Zabbix is not responsible for their functionality or quality.

Zabbix community templates

1 Contributed to the zabbix/community-templates repository
community-templates / template_pi-hole_api

Pi-Hole APIAuth integration:Simply execute this command on Pi-Hole to retrieve API Token:sudo cat /etc/pihole/setupVars.conf | grep PASSWORD | cut -d "=" -f2Or go in the Pi-Hole WebUI > Settings > tab Api / Web Interface > button Show API Token.Report the value in Zabbix:Configuration > Hosts > [your Pi-Hole] > Macros Tab > new macro:Macro: {$WEBPASSWORD}Value: [the result of the command executed on your Pi-Hole]Changelog:Update 2020.8.3 (v1.4):- added getQueryTypes dependent items + graph:MXDSRRSIGDNSKEYOTHERUpdate 2020.7.9 (v1.3):- added Auth supportUpdate 2020.7.8 (v1.2):- bugfixes in existing items (preprocessing stuff)switch to "summaryRaw" URL (http://{HOST.IP}/admin/api.php?summaryRaw)link this page to Pi-Hole API FAQtemplate graphicsnew API metrics: http://{HOST.IP}/admin/api.php?getQueryTypesgetQueryTypes dependent items:A (IPv4)AAAA (IPv6)ANYNAPTRPTRSOASRVTXTInitiale release (v1.1):API SummaryRaw (no auth needed): http://{HOST.IP}/admin/api.php?summaryRawAPI Dependent items:Ads blocked todayAds percentage todayDNS queries all typesDNS queries todayDomains being blockedQueries cachedQueries forwardedReply CNAMEReply IPReply NODATAReply NXDOMAINClients ever seenUnique clientsUnique domain

Template Zabbix 5.0+ Undefined_ID
2025 1 y ago
14

See all Zabbix community templates

Articles and documentation

+ Propose new article

Didn't find integration you need?