2019-05-28 23:31:15 +02:00
|
|
|
{
|
2020-12-29 23:51:46 +01:00
|
|
|
{
|
|
|
|
"__inputs": [
|
|
|
|
{
|
|
|
|
"name": "DS_PROMETHEUS",
|
|
|
|
"label": "Prometheus",
|
|
|
|
"description": "",
|
|
|
|
"type": "datasource",
|
|
|
|
"pluginId": "prometheus",
|
|
|
|
"pluginName": "Prometheus"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"__requires": [
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "gauge",
|
|
|
|
"name": "Gauge",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "grafana",
|
|
|
|
"id": "grafana",
|
|
|
|
"name": "Grafana",
|
|
|
|
"version": "6.2.1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "grafana-piechart-panel",
|
|
|
|
"name": "Pie Chart",
|
|
|
|
"version": "1.3.6"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "graph",
|
|
|
|
"name": "Graph",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "datasource",
|
|
|
|
"id": "prometheus",
|
|
|
|
"name": "Prometheus",
|
|
|
|
"version": "1.0.0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "singlestat",
|
|
|
|
"name": "Singlestat",
|
|
|
|
"version": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "panel",
|
|
|
|
"id": "table",
|
|
|
|
"name": "Table",
|
|
|
|
"version": ""
|
|
|
|
}
|
|
|
|
],
|
2019-05-28 23:31:15 +02:00
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
2020-12-29 23:51:46 +01:00
|
|
|
"datasource": "${DS_PROMETHEUS}",
|
2019-05-28 23:31:15 +02:00
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
2020-12-29 23:49:37 +01:00
|
|
|
"showIn": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": "This is a PI-Hole dashboard when using the https://github.com/eko/pihole-exporter Prometheus exporter",
|
|
|
|
"editable": true,
|
|
|
|
"gnetId": 10176,
|
|
|
|
"graphTooltip": 0,
|
2020-12-29 23:51:46 +01:00
|
|
|
"id": null,
|
2020-12-29 23:49:37 +01:00
|
|
|
"iteration": 1609280899627,
|
2019-05-28 23:31:15 +02:00
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": null,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 60,
|
|
|
|
"panels": [],
|
|
|
|
"title": "🍓PI-Hole",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": true,
|
|
|
|
"colorPostfix": false,
|
|
|
|
"colorPrefix": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#d44a3a",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#299c46"
|
|
|
|
],
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 2,
|
|
|
|
"w": 4,
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 84,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_status{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"instant": true,
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ legend }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "0,1",
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Status",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "Disabled",
|
|
|
|
"value": "0"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "Enabled",
|
|
|
|
"value": "1"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorPostfix": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#299c46",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#d44a3a"
|
|
|
|
],
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
2019-05-28 23:31:15 +02:00
|
|
|
"decimals": null,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 2,
|
|
|
|
"w": 4,
|
|
|
|
"x": 4,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 80,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_domains_being_blocked{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"instant": false,
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Domains being blocked",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "avg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"colorBackground": false,
|
|
|
|
"colorValue": false,
|
|
|
|
"colors": [
|
|
|
|
"#299c46",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"#d44a3a"
|
|
|
|
],
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"format": "none",
|
|
|
|
"gauge": {
|
|
|
|
"maxValue": 100,
|
|
|
|
"minValue": 0,
|
|
|
|
"show": false,
|
|
|
|
"thresholdLabels": false,
|
|
|
|
"thresholdMarkers": true
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 2,
|
|
|
|
"w": 4,
|
|
|
|
"x": 8,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 82,
|
|
|
|
"interval": null,
|
|
|
|
"links": [],
|
|
|
|
"mappingType": 1,
|
|
|
|
"mappingTypes": [
|
|
|
|
{
|
|
|
|
"name": "value to text",
|
|
|
|
"value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "range to text",
|
|
|
|
"value": 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"nullText": null,
|
|
|
|
"postfix": "",
|
|
|
|
"postfixFontSize": "50%",
|
|
|
|
"prefix": "",
|
|
|
|
"prefixFontSize": "50%",
|
|
|
|
"rangeMaps": [
|
|
|
|
{
|
|
|
|
"from": "null",
|
|
|
|
"text": "N/A",
|
|
|
|
"to": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"sparkline": {
|
|
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
|
|
"full": false,
|
|
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
|
|
"show": false
|
|
|
|
},
|
|
|
|
"tableColumn": "",
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_unique_domains{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": "",
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Unique domains",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "singlestat",
|
|
|
|
"valueFontSize": "80%",
|
|
|
|
"valueMaps": [
|
|
|
|
{
|
|
|
|
"op": "=",
|
|
|
|
"text": "N/A",
|
|
|
|
"value": "null"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"valueName": "avg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"breakPoint": "50%",
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"combine": {
|
|
|
|
"label": "Others",
|
|
|
|
"threshold": 0
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fontSize": "80%",
|
|
|
|
"format": "short",
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 4,
|
|
|
|
"x": 12,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 70,
|
|
|
|
"interval": null,
|
|
|
|
"legend": {
|
|
|
|
"header": "",
|
|
|
|
"show": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"legendType": "Under graph",
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"pieType": "donut",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_top_queries{hostname=~'$node'}",
|
|
|
|
"instant": true,
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ domain }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Top queries by domain",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "grafana-piechart-panel",
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"breakPoint": "50%",
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"combine": {
|
|
|
|
"label": "Others",
|
|
|
|
"threshold": 0
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fontSize": "80%",
|
|
|
|
"format": "short",
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 4,
|
|
|
|
"x": 16,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 86,
|
|
|
|
"interval": null,
|
|
|
|
"legend": {
|
|
|
|
"percentage": true,
|
|
|
|
"show": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"legendType": "On graph",
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"pieType": "donut",
|
|
|
|
"pluginVersion": "6.1.4",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_reply{hostname='$node'}",
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ type }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Replies by type",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "grafana-piechart-panel",
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"breakPoint": "50%",
|
|
|
|
"cacheTimeout": null,
|
|
|
|
"combine": {
|
|
|
|
"label": "Others",
|
|
|
|
"threshold": 0
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fontSize": "80%",
|
|
|
|
"format": "short",
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 4,
|
|
|
|
"x": 20,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 72,
|
|
|
|
"interval": null,
|
|
|
|
"legend": {
|
|
|
|
"show": false,
|
|
|
|
"values": true
|
|
|
|
},
|
|
|
|
"legendType": "Right side",
|
|
|
|
"links": [],
|
|
|
|
"maxDataPoints": 3,
|
|
|
|
"nullPointMode": "connected",
|
|
|
|
"pieType": "pie",
|
|
|
|
"strokeWidth": 1,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_top_ads{hostname=~'$node'}",
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ domain }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Top ads by domain",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "grafana-piechart-panel",
|
|
|
|
"valueName": "current"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
"pihole": "super-light-blue"
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"align": null,
|
|
|
|
"filterable": false
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 0,
|
|
|
|
"y": 3
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 66,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": false,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_dns_queries_all_types{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ job }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "DNS queries all of types",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cacheTimeout": null,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"custom": {},
|
|
|
|
"decimals": 2,
|
|
|
|
"mappings": [],
|
|
|
|
"max": "100",
|
|
|
|
"min": 0,
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"index": 0,
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "#EAB839",
|
|
|
|
"index": 1,
|
|
|
|
"value": 40
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"index": 2,
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "percent"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 4,
|
|
|
|
"x": 8,
|
|
|
|
"y": 3
|
|
|
|
},
|
|
|
|
"id": 92,
|
|
|
|
"links": [],
|
|
|
|
"options": {
|
2020-12-29 23:49:37 +01:00
|
|
|
"orientation": "auto",
|
|
|
|
"reduceOptions": {
|
2019-05-28 23:31:15 +02:00
|
|
|
"calcs": [
|
|
|
|
"mean"
|
|
|
|
],
|
2020-12-29 23:49:37 +01:00
|
|
|
"fields": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"showThresholdLabels": false,
|
|
|
|
"showThresholdMarkers": true
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_ads_percentage_today{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"instant": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"interval": "",
|
2020-12-29 23:49:37 +01:00
|
|
|
"legendFormat": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "% ads blocked",
|
|
|
|
"transparent": true,
|
|
|
|
"type": "gauge"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
"pihole": "light-red"
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 0,
|
|
|
|
"y": 8
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 62,
|
|
|
|
"legend": {
|
|
|
|
"alignAsTable": false,
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": false,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_ads_blocked_today{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"instant": false,
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ job }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Ads blocked (today)",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 8,
|
|
|
|
"y": 8
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 68,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": true,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_queries_cached{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "Queries cached",
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_queries_forwarded{hostname=~'$node'}",
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "Queries forwarded",
|
|
|
|
"refId": "B"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Queries cached/forwarded",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 16,
|
|
|
|
"y": 8
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 78,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_querytypes",
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ type }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "DNS Query types",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "percent",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {
|
|
|
|
"pihole": "super-light-red"
|
|
|
|
},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 0,
|
|
|
|
"y": 13
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 64,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
|
|
|
"show": true,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "pihole_ads_percentage_today",
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ job }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "% of ads blocked",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "percent",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"columns": [],
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fontSize": "100%",
|
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 8,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 74,
|
|
|
|
"links": [],
|
|
|
|
"pageSize": null,
|
|
|
|
"scroll": true,
|
|
|
|
"showHeader": true,
|
|
|
|
"sort": {
|
2020-12-29 23:49:37 +01:00
|
|
|
"col": 2,
|
2019-05-28 23:31:15 +02:00
|
|
|
"desc": true
|
|
|
|
},
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"alias": "",
|
2020-12-29 23:49:37 +01:00
|
|
|
"align": "auto",
|
2019-05-28 23:31:15 +02:00
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"rgba(50, 172, 45, 0.97)"
|
|
|
|
],
|
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"decimals": 2,
|
|
|
|
"link": false,
|
|
|
|
"mappingType": 1,
|
|
|
|
"pattern": "Time",
|
|
|
|
"thresholds": [],
|
|
|
|
"type": "date",
|
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "topk(15, pihole_top_queries)",
|
|
|
|
"instant": true,
|
|
|
|
"interval": "30s",
|
2019-05-28 23:31:15 +02:00
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "{{ domain }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Top queries",
|
|
|
|
"transform": "timeseries_to_rows",
|
|
|
|
"transparent": true,
|
2020-12-29 23:49:37 +01:00
|
|
|
"type": "table-old"
|
2019-05-28 23:31:15 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"columns": [],
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fontSize": "100%",
|
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 8,
|
|
|
|
"x": 16,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 90,
|
|
|
|
"links": [],
|
|
|
|
"pageSize": null,
|
|
|
|
"scroll": true,
|
|
|
|
"showHeader": true,
|
|
|
|
"sort": {
|
2020-12-29 23:49:37 +01:00
|
|
|
"col": 2,
|
2019-05-28 23:31:15 +02:00
|
|
|
"desc": true
|
|
|
|
},
|
|
|
|
"styles": [
|
|
|
|
{
|
|
|
|
"alias": "Time",
|
2020-12-29 23:49:37 +01:00
|
|
|
"align": "auto",
|
2019-05-28 23:31:15 +02:00
|
|
|
"dateFormat": "YYYY-MM-DD HH:mm:ss",
|
|
|
|
"pattern": "Time",
|
|
|
|
"type": "date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"alias": "",
|
2020-12-29 23:49:37 +01:00
|
|
|
"align": "auto",
|
2019-05-28 23:31:15 +02:00
|
|
|
"colorMode": null,
|
|
|
|
"colors": [
|
|
|
|
"rgba(245, 54, 54, 0.9)",
|
|
|
|
"rgba(237, 129, 40, 0.89)",
|
|
|
|
"rgba(50, 172, 45, 0.97)"
|
|
|
|
],
|
|
|
|
"decimals": 2,
|
|
|
|
"pattern": "/.*/",
|
|
|
|
"thresholds": [],
|
|
|
|
"type": "number",
|
|
|
|
"unit": "short"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"targets": [
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"expr": "topk(15, pihole_top_ads)",
|
|
|
|
"instant": true,
|
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ domain }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Top ads domains",
|
|
|
|
"transform": "timeseries_to_rows",
|
|
|
|
"transparent": true,
|
2020-12-29 23:49:37 +01:00
|
|
|
"type": "table-old"
|
2019-05-28 23:31:15 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"aliasColors": {},
|
|
|
|
"bars": false,
|
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"fill": 1,
|
2020-12-29 23:49:37 +01:00
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 12,
|
|
|
|
"x": 0,
|
|
|
|
"y": 18
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 88,
|
|
|
|
"legend": {
|
2020-12-29 23:49:37 +01:00
|
|
|
"alignAsTable": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"rightSide": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"show": false,
|
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
|
|
|
"lines": true,
|
|
|
|
"linewidth": 1,
|
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
2020-12-29 23:49:37 +01:00
|
|
|
"seriesOverrides": [
|
|
|
|
{
|
|
|
|
"alias": "pihole_unique_clients{hostname=\\\"127.0.0.1\\\",instance=\\\"localhost:9311\\\",job=\\\"pihole\\\"}",
|
|
|
|
"color": "#E0B400"
|
|
|
|
}
|
|
|
|
],
|
2019-05-28 23:31:15 +02:00
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_forward_destinations{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"interval": "",
|
2019-05-28 23:31:15 +02:00
|
|
|
"legendFormat": "{{ destination }}",
|
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Forward destinations",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
2020-12-29 23:49:37 +01:00
|
|
|
"sort": 2,
|
2019-05-28 23:31:15 +02:00
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "percent",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-12-29 23:49:37 +01:00
|
|
|
"aliasColors": {},
|
2019-06-01 12:48:33 +02:00
|
|
|
"bars": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"dashLength": 10,
|
|
|
|
"dashes": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"datasource": "Prometheus",
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"custom": {
|
|
|
|
"align": null,
|
|
|
|
"filterable": false
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"fill": 1,
|
|
|
|
"fillGradient": 0,
|
2019-05-28 23:31:15 +02:00
|
|
|
"gridPos": {
|
|
|
|
"h": 5,
|
|
|
|
"w": 12,
|
|
|
|
"x": 12,
|
|
|
|
"y": 18
|
|
|
|
},
|
2020-12-29 23:49:37 +01:00
|
|
|
"hiddenSeries": false,
|
2019-05-28 23:31:15 +02:00
|
|
|
"id": 76,
|
|
|
|
"legend": {
|
|
|
|
"avg": false,
|
|
|
|
"current": false,
|
|
|
|
"max": false,
|
|
|
|
"min": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"show": true,
|
2019-05-28 23:31:15 +02:00
|
|
|
"total": false,
|
|
|
|
"values": false
|
|
|
|
},
|
2019-06-01 12:48:33 +02:00
|
|
|
"lines": true,
|
2020-12-29 23:49:37 +01:00
|
|
|
"linewidth": 1,
|
2019-05-28 23:31:15 +02:00
|
|
|
"links": [],
|
|
|
|
"nullPointMode": "null",
|
2020-12-29 23:49:37 +01:00
|
|
|
"options": {
|
|
|
|
"alertThreshold": true
|
|
|
|
},
|
2019-05-28 23:31:15 +02:00
|
|
|
"percentage": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"pluginVersion": "7.2.0",
|
2019-05-28 23:31:15 +02:00
|
|
|
"pointradius": 2,
|
|
|
|
"points": false,
|
|
|
|
"renderer": "flot",
|
|
|
|
"seriesOverrides": [],
|
|
|
|
"spaceLength": 10,
|
|
|
|
"stack": false,
|
|
|
|
"steppedLine": false,
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"expr": "pihole_unique_clients{hostname=~'$node'}",
|
2020-12-29 23:49:37 +01:00
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "{{ hostname }}",
|
2019-05-28 23:31:15 +02:00
|
|
|
"refId": "A"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": [],
|
|
|
|
"timeFrom": null,
|
|
|
|
"timeRegions": [],
|
|
|
|
"timeShift": null,
|
|
|
|
"title": "Unique clients",
|
|
|
|
"tooltip": {
|
|
|
|
"shared": true,
|
|
|
|
"sort": 0,
|
|
|
|
"value_type": "individual"
|
|
|
|
},
|
|
|
|
"transparent": true,
|
|
|
|
"type": "graph",
|
|
|
|
"xaxis": {
|
|
|
|
"buckets": null,
|
|
|
|
"mode": "time",
|
|
|
|
"name": null,
|
|
|
|
"show": true,
|
|
|
|
"values": []
|
|
|
|
},
|
|
|
|
"yaxes": [
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"format": "short",
|
|
|
|
"label": null,
|
|
|
|
"logBase": 1,
|
|
|
|
"max": null,
|
|
|
|
"min": null,
|
|
|
|
"show": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"yaxis": {
|
|
|
|
"align": false,
|
|
|
|
"alignLevel": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"refresh": false,
|
2020-12-29 23:49:37 +01:00
|
|
|
"schemaVersion": 26,
|
2019-05-28 23:31:15 +02:00
|
|
|
"style": "dark",
|
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"allValue": null,
|
2020-12-29 23:49:37 +01:00
|
|
|
"current": {
|
|
|
|
"selected": false,
|
|
|
|
"text": "10.10.200.20",
|
|
|
|
"value": "10.10.200.20"
|
|
|
|
},
|
|
|
|
"datasource": "Prometheus",
|
2019-05-28 23:31:15 +02:00
|
|
|
"definition": "label_values(pihole_ads_blocked_today, hostname)",
|
|
|
|
"hide": 0,
|
|
|
|
"includeAll": false,
|
|
|
|
"label": null,
|
|
|
|
"multi": false,
|
|
|
|
"name": "node",
|
|
|
|
"options": [],
|
|
|
|
"query": "label_values(pihole_ads_blocked_today, hostname)",
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
|
|
|
"skipUrlSync": false,
|
|
|
|
"sort": 0,
|
|
|
|
"tagValuesQuery": "",
|
|
|
|
"tags": [],
|
|
|
|
"tagsQuery": "",
|
|
|
|
"type": "query",
|
|
|
|
"useTags": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-30m",
|
|
|
|
"to": "now"
|
|
|
|
},
|
|
|
|
"timepicker": {
|
|
|
|
"hidden": false,
|
|
|
|
"nowDelay": "",
|
|
|
|
"refresh_intervals": [
|
|
|
|
"5s",
|
|
|
|
"10s",
|
|
|
|
"30s",
|
|
|
|
"1m",
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"30m",
|
|
|
|
"1h",
|
|
|
|
"2h",
|
|
|
|
"1d"
|
|
|
|
],
|
|
|
|
"time_options": [
|
|
|
|
"5m",
|
|
|
|
"15m",
|
|
|
|
"1h",
|
|
|
|
"6h",
|
|
|
|
"12h",
|
|
|
|
"24h",
|
|
|
|
"2d",
|
|
|
|
"7d",
|
|
|
|
"30d"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"timezone": "",
|
|
|
|
"title": "PI-Hole Exporter",
|
2020-12-29 23:49:37 +01:00
|
|
|
"uid": "PI-Hole-Exporter",
|
|
|
|
"version": 31
|
|
|
|
}
|