{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.1.0" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [ "blackbox", "prometheus" ], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "Prometheus Blackbox Exporter Overview", "editable": true, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "axisSoftMax": 599, "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "always", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "area" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "blue", "value": 300 }, { "color": "orange", "value": 400 }, { "color": "red", "value": 500 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 0 }, "id": 30, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "multi" } }, "pluginVersion": "8.1.0", "targets": [ { "exemplar": true, "expr": "probe_http_status_code{target=~\"$target\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "B" } ], "timeFrom": null, "timeShift": null, "title": "HTTP Status Code", "type": "timeseries" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "DOWN" }, "1": { "text": "UP" } }, "type": "value" }, { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 1 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 12, "y": 0 }, "id": 2, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "repeatDirection": "v", "targets": [ { "exemplar": true, "expr": "probe_success{target=~\"$target\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "Status", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [ { "options": { "0": { "text": "N/A" }, "1": { "text": "YES" } }, "type": "value" }, { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 201 }, { "color": "#d44a3a", "value": 399 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 16, "y": 0 }, "id": 20, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "repeatDirection": "h", "targets": [ { "exemplar": true, "expr": "probe_http_status_code{target=~\"$target\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "HTTP Status Code", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 20, "y": 0 }, "id": 27, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "targets": [ { "exemplar": true, "expr": "probe_http_version{target=~\"$target\"}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "HTTP Version", "transformations": [], "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "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": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "orange", "value": 0.2 }, { "color": "red", "value": 0.5 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 6 }, "id": 17, "links": [], "options": { "legend": { "calcs": [ "mean" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "multi" } }, "pluginVersion": "8.1.0", "repeat": null, "targets": [ { "exemplar": true, "expr": "probe_duration_seconds{target=~\"$target\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Probe Duration", "type": "timeseries" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "orange", "value": 0.2 }, { "color": "red", "value": 0.5 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 12, "y": 6 }, "id": 23, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "targets": [ { "exemplar": true, "expr": "avg(probe_duration_seconds{target=~\"$target\"}) by (target)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "Average Probe Duration", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "dark-green", "value": null }, { "color": "orange", "value": 0.025 }, { "color": "red", "value": 0.05 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 16, "y": 6 }, "id": 24, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "repeatDirection": "h", "targets": [ { "exemplar": true, "expr": "avg(probe_dns_lookup_time_seconds{target=~\"$target\"}) by (target)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "Average DNS Lookup", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 20, "y": 6 }, "id": 28, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "targets": [ { "exemplar": true, "expr": "probe_ip_protocol{target=~\"$target\"}", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "IP protocol", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 6, "w": 12, "x": 0, "y": 12 }, "id": 25, "links": [], "options": { "legend": { "calcs": [ "mean" ], "displayMode": "table", "placement": "right" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.0", "targets": [ { "exemplar": true, "expr": "probe_http_duration_seconds{target=~\"$target\", phase=~\"$phase\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}} - {{ phase }}", "refId": "B" } ], "timeFrom": null, "timeShift": null, "title": "HTTP Duration (phase = $phase)", "type": "timeseries" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [ { "options": { "0": { "text": "NO" }, "1": { "text": "YES" } }, "type": "value" }, { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 1209600 } ] }, "unit": "dtdhms" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 12, "y": 12 }, "id": 19, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "repeatDirection": "h", "targets": [ { "exemplar": true, "expr": "probe_ssl_earliest_cert_expiry{target=~\"$target\"} - time()", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "timeFrom": null, "title": "SSL Expiry", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "NO" }, "1": { "text": "YES" } }, "type": "value" }, { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 16, "y": 12 }, "id": 18, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": { "titleSize": 12, "valueSize": 12 }, "textMode": "auto" }, "pluginVersion": "8.1.0", "repeat": null, "repeatDirection": "v", "targets": [ { "exemplar": true, "expr": "probe_http_ssl{target=~\"$target\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{target}}", "refId": "A" } ], "title": "SSL", "type": "stat" }, { "cacheTimeout": null, "datasource": "${DS_PROMETHEUS}", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "filterable": false }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 20, "y": 12 }, "id": 29, "interval": null, "links": [], "maxDataPoints": 100, "options": { "showHeader": false, "sortBy": [ { "desc": false, "displayName": "job" } ] }, "pluginVersion": "8.1.0", "targets": [ { "exemplar": true, "expr": "probe_tls_version_info{target=~\"$target\"}", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "{{version}}", "refId": "A" } ], "title": "TLS version", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "Value #A": true, "__name__": true, "instance": true, "job": true, "version": false }, "indexByName": {}, "renameByName": { "__name__": "" } } } ], "type": "table" } ], "refresh": false, "schemaVersion": 30, "style": "dark", "tags": [ "blackbox", "prometheus" ], "templating": { "list": [ { "auto": true, "auto_count": 10, "auto_min": "10s", "current": { "selected": false, "text": "30s", "value": "30s" }, "description": null, "error": null, "hide": 0, "label": "Interval", "name": "interval", "options": [ { "selected": false, "text": "auto", "value": "$__auto_interval_interval" }, { "selected": false, "text": "5s", "value": "5s" }, { "selected": false, "text": "10s", "value": "10s" }, { "selected": true, "text": "30s", "value": "30s" }, { "selected": false, "text": "1m", "value": "1m" }, { "selected": false, "text": "10m", "value": "10m" }, { "selected": false, "text": "30m", "value": "30m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "12h", "value": "12h" }, { "selected": false, "text": "1d", "value": "1d" }, { "selected": false, "text": "7d", "value": "7d" }, { "selected": false, "text": "14d", "value": "14d" }, { "selected": false, "text": "30d", "value": "30d" } ], "query": "5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "queryValue": "", "refresh": 2, "skipUrlSync": false, "type": "interval" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(probe_success, target)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "target", "options": [], "query": { "query": "label_values(probe_success, target)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(probe_http_duration_seconds, phase)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": "HTTP phase", "multi": true, "name": "phase", "options": [], "query": { "query": "label_values(probe_http_duration_seconds, phase)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" }, "description": null, "error": null, "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" } ] }, "time": { "from": "now-30m", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "30m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "Prometheus Blackbox Exporter", "uid": "pS6ZuGV7z", "version": 1, "gnetId": 14928 }