fix(blackbox-overview): revive dead dashboard (retired datasource, dead TCP/DNS panels) #288

Merged
k.renner merged 1 commits from claude-bot/dash-blackbox-overview into master 2026-07-17 13:17:13 +00:00
@@ -12,7 +12,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
@@ -51,6 +51,7 @@
"targets": [
{
"expr": "probe_success{job=\"blackbox-http\"}",
"instant": true,
"legendFormat": "{{instance}}",
"refId": "A"
}
@@ -61,7 +62,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
@@ -136,82 +137,59 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 90,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null }
{ "color": "red", "value": null },
{ "color": "orange", "value": 7 },
{ "color": "green", "value": 30 }
]
},
"unit": "s"
"unit": "suffix: days"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 },
"id": 3,
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
"displayMode": "basic",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
"showUnfilled": true,
"valueMode": "color"
},
"targets": [
{
"expr": "probe_ssl_earliest_cert_expiry{job=\"blackbox-http\"} - time()",
"expr": "(probe_ssl_earliest_cert_expiry{job=\"blackbox-http\"} - time()) / 86400",
"instant": true,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "SSL Certificate Expiry (seconds until expiry)",
"type": "timeseries"
"title": "SSL Certificate Expiry (days remaining)",
"type": "bargauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
@@ -219,20 +197,22 @@
"mode": "thresholds"
},
"mappings": [
{ "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" }
{ "options": { "0": { "color": "red", "text": "FAIL" } }, "type": "value" }
],
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "red", "value": null },
{ "color": "green", "value": 1 }
{ "color": "green", "value": 200 },
{ "color": "orange", "value": 300 },
{ "color": "red", "value": 400 }
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 12, "x": 0, "y": 14 },
"gridPos": { "h": 6, "w": 24, "x": 0, "y": 14 },
"id": 4,
"options": {
"colorMode": "background",
@@ -249,67 +229,19 @@
"pluginVersion": "10.0.0",
"targets": [
{
"expr": "probe_success{job=\"blackbox-tcp\"}",
"expr": "probe_http_status_code{job=\"blackbox-http\"}",
"instant": true,
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "TCP Endpoint Status",
"title": "HTTP Status Codes",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{ "options": { "0": { "color": "red", "text": "DOWN" }, "1": { "color": "green", "text": "UP" } }, "type": "value" }
],
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "red", "value": null },
{ "color": "green", "value": 1 }
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 12, "x": 12, "y": 14 },
"id": 5,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "10.0.0",
"targets": [
{
"expr": "probe_success{job=\"blackbox-dns\"}",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"title": "DNS Status",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus-legacy"
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
@@ -323,7 +255,7 @@
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
@@ -347,6 +279,8 @@
}
},
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
@@ -357,7 +291,7 @@
},
"overrides": []
},
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 18 },
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 20 },
"id": 6,
"options": {
"legend": {