Skip to content

Commit

Permalink
Merge branch 'canonical:main' into smartctl-snap-func-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Deezzir authored Nov 29, 2024
2 parents 70fb2e1 + 6d94c75 commit c57ab4b
Showing 1 changed file with 7 additions and 72 deletions.
79 changes: 7 additions & 72 deletions src/grafana_dashboards/smart.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,71 +77,6 @@
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_devices{instance=~\"$instance\", job=\"$job\"}) - sum(smartctl_device{instance=~\"$instance\", job=\"$job\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${prometheusds}"
},
"type": "stat",
"title": "Missing devices",
"gridPos": {
"x": 3,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"showPercentChange": false,
"wideLayout": true,
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
Expand All @@ -164,7 +99,7 @@
"type": "stat",
"title": "Exit status",
"gridPos": {
"x": 6,
"x": 3,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -229,7 +164,7 @@
"type": "stat",
"title": "Error log entries",
"gridPos": {
"x": 9,
"x": 6,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -294,7 +229,7 @@
"type": "stat",
"title": "Media errors",
"gridPos": {
"x": 12,
"x": 9,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -359,7 +294,7 @@
"type": "stat",
"title": "SMART error log count",
"gridPos": {
"x": 15,
"x": 12,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -424,7 +359,7 @@
"type": "stat",
"title": "Critical warnings",
"gridPos": {
"x": 18,
"x": 15,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -489,7 +424,7 @@
"type": "stat",
"title": "SMART failed",
"gridPos": {
"x": 21,
"x": 18,
"y": 1,
"w": 3,
"h": 3
Expand Down Expand Up @@ -3953,4 +3888,4 @@
}
]
}
}
}

0 comments on commit c57ab4b

Please sign in to comment.