2023-04-16 17:49:23 +02:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"builtIn": 1,
|
|
|
|
"datasource": {
|
|
|
|
"type": "grafana",
|
|
|
|
"uid": "-- Grafana --"
|
|
|
|
},
|
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"target": {
|
|
|
|
"limit": 100,
|
|
|
|
"matchAny": false,
|
|
|
|
"tags": [],
|
|
|
|
"type": "dashboard"
|
|
|
|
},
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"description": "Show stats from node_exporter systemd collector.",
|
|
|
|
"editable": true,
|
|
|
|
"fiscalYearStartMonth": 0,
|
|
|
|
"graphTooltip": 0,
|
2025-04-06 21:55:16 +02:00
|
|
|
"id": 3,
|
2023-04-16 17:49:23 +02:00
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 8,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Global Systemd State Count",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"barWidthFactor": 0.6,
|
|
|
|
"drawStyle": "points",
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": false,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 8,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "always",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 1
|
|
|
|
},
|
|
|
|
"id": 2,
|
|
|
|
"options": {
|
2025-04-06 21:55:16 +02:00
|
|
|
"alertThreshold": true,
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"mean",
|
|
|
|
"lastNotNull",
|
|
|
|
"max",
|
|
|
|
"min"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "multi",
|
|
|
|
"sort": "asc"
|
|
|
|
}
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state) by (state)",
|
|
|
|
"interval": "1m",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "{{ state }}",
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 120
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"timeFrom": "24h",
|
|
|
|
"title": "Unit State Count",
|
2025-04-06 21:55:16 +02:00
|
|
|
"type": "timeseries"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 12
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Dashboard Row",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "null",
|
|
|
|
"result": {
|
|
|
|
"text": "N/A"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "rgba(50, 172, 45, 0.97)",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
|
|
"value": 5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "rgba(245, 54, 54, 0.9)",
|
|
|
|
"value": 13
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "none"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 3,
|
|
|
|
"w": 6,
|
|
|
|
"x": 0,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 3,
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "background",
|
|
|
|
"graphMode": "area",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "horizontal",
|
2025-04-06 21:55:16 +02:00
|
|
|
"percentChangeColorMode": "standard",
|
2023-04-16 17:49:23 +02:00
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"showPercentChange": false,
|
|
|
|
"textMode": "auto",
|
|
|
|
"wideLayout": true
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"activating\"})",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 600
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Activating",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"fixedColor": "rgb(31, 120, 193)",
|
|
|
|
"mode": "fixed"
|
|
|
|
},
|
|
|
|
"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": 3,
|
|
|
|
"w": 6,
|
|
|
|
"x": 6,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 4,
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "none",
|
|
|
|
"graphMode": "area",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "horizontal",
|
2025-04-06 21:55:16 +02:00
|
|
|
"percentChangeColorMode": "standard",
|
2023-04-16 17:49:23 +02:00
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"showPercentChange": false,
|
|
|
|
"textMode": "auto",
|
|
|
|
"wideLayout": true
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"active\"})",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 600
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Active",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "thresholds"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"options": {
|
|
|
|
"match": "null",
|
|
|
|
"result": {
|
|
|
|
"text": "N/A"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "special"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "rgba(50, 172, 45, 0.97)",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
2025-04-06 21:55:16 +02:00
|
|
|
"color": "rgba(237, 129, 40, 0.89)"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "rgba(245, 54, 54, 0.9)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "none"
|
|
|
|
},
|
|
|
|
"overrides": []
|
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 3,
|
|
|
|
"w": 6,
|
|
|
|
"x": 12,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 5,
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "background",
|
|
|
|
"graphMode": "none",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "horizontal",
|
2025-04-06 21:55:16 +02:00
|
|
|
"percentChangeColorMode": "standard",
|
2023-04-16 17:49:23 +02:00
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"showPercentChange": false,
|
|
|
|
"textMode": "auto",
|
|
|
|
"wideLayout": true
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"failed\"})",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 600
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Failed",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"fixedColor": "rgb(31, 120, 193)",
|
|
|
|
"mode": "fixed"
|
|
|
|
},
|
|
|
|
"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": 3,
|
|
|
|
"w": 6,
|
|
|
|
"x": 18,
|
|
|
|
"y": 13
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"maxDataPoints": 100,
|
|
|
|
"options": {
|
|
|
|
"colorMode": "none",
|
|
|
|
"graphMode": "area",
|
|
|
|
"justifyMode": "auto",
|
|
|
|
"orientation": "horizontal",
|
2025-04-06 21:55:16 +02:00
|
|
|
"percentChangeColorMode": "standard",
|
2023-04-16 17:49:23 +02:00
|
|
|
"reduceOptions": {
|
|
|
|
"calcs": [
|
|
|
|
"mean"
|
|
|
|
],
|
|
|
|
"fields": "",
|
|
|
|
"values": false
|
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"showPercentChange": false,
|
|
|
|
"textMode": "auto",
|
|
|
|
"wideLayout": true
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state{instance=~\"^$Node$\", state=\"inactive\"})",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"legendFormat": "",
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 600
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Inactive",
|
|
|
|
"type": "stat"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"collapsed": false,
|
|
|
|
"gridPos": {
|
|
|
|
"h": 1,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 16
|
|
|
|
},
|
|
|
|
"id": 10,
|
|
|
|
"panels": [],
|
|
|
|
"title": "Dashboard Row",
|
|
|
|
"type": "row"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"barWidthFactor": 0.6,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": false,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "short"
|
|
|
|
},
|
|
|
|
"overrides": []
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"gridPos": {
|
|
|
|
"h": 7,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 17
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"options": {
|
2025-04-06 21:55:16 +02:00
|
|
|
"alertThreshold": true,
|
|
|
|
"legend": {
|
|
|
|
"calcs": [],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "bottom",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "multi",
|
|
|
|
"sort": "none"
|
|
|
|
}
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"pluginVersion": "11.3.5",
|
2023-04-16 17:49:23 +02:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"expr": "sum(node_systemd_unit_state{instance=~\"^.*$\",state=\"failed\"}) by (name, state) > 0",
|
|
|
|
"intervalFactor": 2,
|
|
|
|
"metric": "node_systemd_unit_state",
|
|
|
|
"refId": "A",
|
|
|
|
"step": 20
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Failed Services",
|
2025-04-06 21:55:16 +02:00
|
|
|
"type": "timeseries"
|
2023-04-16 17:49:23 +02:00
|
|
|
}
|
|
|
|
],
|
2025-04-06 21:55:16 +02:00
|
|
|
"preload": false,
|
2023-04-16 17:49:23 +02:00
|
|
|
"refresh": "",
|
2025-04-06 21:55:16 +02:00
|
|
|
"schemaVersion": 40,
|
2023-04-16 17:49:23 +02:00
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"current": {
|
|
|
|
"text": "newton",
|
|
|
|
"value": "newton"
|
|
|
|
},
|
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
2025-04-06 21:55:16 +02:00
|
|
|
"uid": "PBFA97CFB590B2093"
|
2023-04-16 17:49:23 +02:00
|
|
|
},
|
|
|
|
"definition": "",
|
|
|
|
"includeAll": false,
|
|
|
|
"name": "Node",
|
|
|
|
"options": [],
|
|
|
|
"query": {
|
|
|
|
"query": "label_values(node_systemd_unit_state, instance)",
|
|
|
|
"refId": "Prometheus-Node-Variable-Query"
|
|
|
|
},
|
|
|
|
"refresh": 1,
|
|
|
|
"regex": "",
|
2025-04-06 21:55:16 +02:00
|
|
|
"type": "query"
|
2023-04-16 17:49:23 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-6h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
2025-04-06 21:55:16 +02:00
|
|
|
"timepicker": {},
|
2023-04-16 17:49:23 +02:00
|
|
|
"timezone": "browser",
|
|
|
|
"title": "Systemd Service Dashboard",
|
|
|
|
"uid": "T1ZsWHP4z",
|
2025-04-06 21:55:16 +02:00
|
|
|
"version": 19,
|
2023-04-16 17:49:23 +02:00
|
|
|
"weekStart": ""
|
|
|
|
}
|