Official release can be found on integrations-extras: https://github.com/DataDog/integrations-extras/tree/master/pihole
This check monitors pihole through the Datadog Agent.
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
To install the pihole check on your host:
- Install the developer toolkit on any machine.
- Run
ddev release build pihole
to build the package. - Download the Datadog Agent.
- Upload the build artifact to any host with an Agent andrun
datadog-agent integration install -w path/to/pihole/dist/<ARTIFACT_NAME>.whl
.
-
Edit the
pihole.d/conf.yaml
file, in theconf.d/
folder at the root of your Agent's configuration directory to start collecting your pihole performance data. See the sample pihole.d/conf.yaml for all available configuration options.
Run the Agent's status subcommand and look for pihole
under the Checks section.
- Queries forwarded
- Domains being blocked
- Ads percentage today
- Ads blocked today
- DNS queries today
- Total clients
- Unique clients
- Queries cached
- Unique Domains
- Top Queries
- Top Ads
- Top clients
- Forward destinations
- Query type
- Reply type
- DNS queries by host
See metadata.csv for a list of metrics provided by this check.
pi-hole.can.connect
pihole does not include any events.
Need help? Contact Datadog support.