pihole_influxdb/pihole_grafana.json

448 lines
9.5 KiB
JSON
Raw Normal View History

2020-03-01 19:48:23 +01:00
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 5,
"links": [],
"panels": [
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"title": "PiHole Stats",
"type": "row"
},
{
"cacheTimeout": null,
"datasource": "dev_pihole",
"gridPos": {
"h": 6,
"w": 6,
"x": 0,
"y": 1
},
"hideTimeOverride": false,
"id": 4,
"links": [],
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"title": "DNS Queries",
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal"
},
"pluginVersion": "6.6.2",
"targets": [
{
"alias": "DNS Queries",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "piholestats.pihole",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"dns_queries_today"
],
"type": "field"
},
{
"params": [],
"type": "distinct"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "pihole"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "PiHole Stats",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "dev_pihole",
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"y": 1
},
"hideTimeOverride": false,
"id": 5,
"links": [],
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"title": "Ads Percentage",
"unit": "%"
},
"overrides": [],
"values": false
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal"
},
"pluginVersion": "6.6.2",
"targets": [
{
"alias": "Ads Blocked",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "piholestats.pihole",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ads_percentage_today"
],
"type": "field"
},
{
"params": [],
"type": "distinct"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "pihole"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "PiHole Stats",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "dev_pihole",
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"y": 1
},
"hideTimeOverride": false,
"id": 6,
"links": [],
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"title": "Ads Blocked",
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal"
},
"pluginVersion": "6.6.2",
"targets": [
{
"alias": "Ads Blocked",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "piholestats.pihole",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"ads_blocked_today"
],
"type": "field"
},
{
"params": [],
"type": "distinct"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "pihole"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "PiHole Stats",
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": "dev_pihole",
"gridPos": {
"h": 6,
"w": 6,
"x": 18,
"y": 1
},
"hideTimeOverride": false,
"id": 7,
"links": [],
"options": {
"colorMode": "value",
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"title": "Domains Blocked",
"unit": "none"
},
"overrides": [],
"values": false
},
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal"
},
"pluginVersion": "6.6.2",
"targets": [
{
"alias": "Domains Blocked",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "piholestats.pihole",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"domains_blocked"
],
"type": "field"
},
{
"params": [],
"type": "distinct"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "pihole"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "PiHole Stats",
"type": "stat"
}
],
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "PiHole",
"uid": "oP8IN5mRk",
"version": 5
}