Adds a Pi-Hole stats widget

This commit is contained in:
Alicia Sykes
2021-12-18 20:12:13 +00:00
parent fad1e5ff50
commit dece5c58aa
3 changed files with 197 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a
- [CPU History](#cpu-history-netdata)
- [Memory History](#memory-history-netdata)
- [System Load History](#load-history-netdata)
- [Pi Hole Stats](#pi-hole-stats)
- [Dynamic Widgets](#dynamic-widgets)
- [Iframe Widget](#iframe-widget)
- [HTML Embed Widget](#html-embedded-widget)
@@ -622,6 +623,29 @@ Pull recent load usage in 1, 5 and 15 minute intervals, from NetData.
---
### Pi Hole Stats
Displays the number of queries blocked by [Pi-Hole](https://pi-hole.net/).
<p align="center"><img width="400" src="https://i.ibb.co/zftCLJN/pi-hole-stats.png" /></p>
##### Options
**Field** | **Type** | **Required** | **Description**
--- | --- | --- | ---
**`host`** | `string` | Required | The URL to your Pi-Hole instance
**`hideStatus`** / **`hideChart`** / **`hideInfo`** | `boolean` | _Optional_ | Optionally hide any of the three parts of the widget
##### Example
```yaml
- type: pi-hole-stats
options:
hostname: http://192.168.130.1
```
---
## Dynamic Widgets
### Iframe Widget