This is a basic API Poller for the Pi-hole Ad Blocker. This API poller was originally discussed in an article Don't Shut Your Pi-hole, Monitor it! (The Sequel).
My version of this template only has two values monitored for a status change. The rest are just informational. The two with applied thresholds are:
- Service Status - if the service reports back anything except "enabled" it's critical
- Gravity Updated: Days Ago - if the blocked domain database was updated over 7 days ago it's warning and over 14 days ago, it's critical.
The simple pi-hole API does not require authentication.