
This morning i found out that Pi-hole has an small API and can be called from the endpoint: admin/api.php? so i decided to create an small plugin for Centreon/Nagios in order to extract (almost) all the information possible that can be graphed
- Number of DNS queries in a day.
- Number and percentage of ads blocked.
- Number of clients using Pi-hole as their DNS server.
- Number of queries classified by IPv4, IPv6, PTR, SRV, etc…
The API is quite limited so i could not do too much. The following are some graphs that I am getting now using the plugin.
Sigue leyendo “A Centreon/Nagios Plugin for the Pi-hole API”