dashboards/json/smart.json

1852 lines
45 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"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": "",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 10530,
"graphTooltip": 0,
"id": 38,
"links": [
{
"asDropdown": true,
"icon": "external link",
"includeVars": false,
"keepTime": false,
"tags": [
"Zogg"
],
"targetBlank": false,
"title": "Dashboards",
"tooltip": "",
"type": "dashboards",
"url": ""
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "null"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "#E02F44",
"value": 1
},
{
"color": "#d44a3a"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 0
},
"id": 4,
"interval": "",
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "/^Value$/",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "sum(smartmon_device_smart_healthy{instance=~\"$instance\"})-sum(smartmon_device_smart_healthy{instance=~\"$instance\"})",
"format": "table",
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
}
],
"title": "Unhealthy Disks",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"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": 1
},
{
"color": "#d44a3a",
"value": 10
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 0
},
"id": 26,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "sum( smartmon_reallocate_nand_blk_cnt_raw_value ) +\nsum( smartmon_reallocated_sector_ct_raw_value ) +\nsum( smartmon_reallocated_event_count_raw_value ) +\nsum( smartmon_raw_read_error_rate_raw_value ) +\nsum( smartmon_current_pending_sector_raw_value ) +\nsum( smartmon_offline_uncorrectable_raw_value ) +\nsum( smartmon_udma_crc_error_count_raw_value ) +\nsum( smartmon_seek_error_rate_raw_value ) +\nsum( smartmon_spin_retry_count_raw_value ) +\nsum( smartmon_multi_zone_error_rate_raw_value )",
"format": "time_series",
"intervalFactor": 1,
"refId": "B"
}
],
"title": "Errors",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"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": 3,
"w": 3,
"x": 8,
"y": 0
},
"id": 10,
"links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "sum(smartmon_device_active)",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Active devices",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 1,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 13,
"x": 11,
"y": 0
},
"id": 1,
"interval": "",
"links": [],
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max",
"min"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Name",
"sortDesc": false
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "10.2.1",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "avg(smartmon_temperature_celsius_raw_value{ instance=~\"$instance\", disk=~\"$disk\" }) by (instance, disk)",
"format": "time_series",
"hide": false,
"interval": "",
"intervalFactor": 4,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "T° Graph",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 1,
"mappings": [],
"max": "80",
"min": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 32
},
{
"color": "red",
"index": 2,
"value": 50
}
]
},
"unit": "celsius"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 11,
"x": 0,
"y": 3
},
"id": 14,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_temperature_celsius_raw_value{ instance=~\"$instance\", disk=~\"$disk\" }",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{ disk }}",
"refId": "A"
}
],
"title": "Temperture_Gauge",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": true,
"inspect": false,
"minWidth": 50
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "job"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "smart_id"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "type"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "__name__"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "displayName",
"value": "Threshold"
},
{
"id": "unit",
"value": "celsius"
},
{
"id": "custom.align",
"value": "auto"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 7
},
"id": 16,
"links": [],
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"enablePagination": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_temperature_celsius_threshold{instance=~\"$instance\", disk=~\"$disk\"}",
"format": "table",
"instant": true,
"intervalFactor": 1,
"refId": "A"
}
],
"title": "T° Threshold",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"__name__": true,
"alias": true,
"cluster": true,
"group": true,
"instance": true,
"ip": true,
"job": true,
"namespace": true
},
"indexByName": {},
"renameByName": {}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 13
},
"id": 49,
"links": [],
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<p></p>\n<p style=\"text-align: center;font-size: x-large;face:arial;\">__________ Wear and Tear __________</p>",
"mode": "html"
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"refId": "A"
}
],
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Yellow after 1 year\nRed after 1 1/2 years",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [],
"max": "17520",
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 8760
},
{
"color": "red",
"index": 2,
"value": 12500
}
]
},
"unit": "h"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 15
},
"id": 3,
"interval": "",
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_power_on_hours_raw_value{ disk=~\"$disk\", instance=~\"$instance\" }",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": " {{disk}}",
"refId": "A"
}
],
"title": "Power On Hours",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Number of times disk was turned on",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 1000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "yellow",
"index": 1,
"value": 200
},
{
"color": "red",
"index": 2,
"value": 500
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 12,
"x": 12,
"y": 15
},
"id": 32,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_power_cycle_count_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Power Cycle Count",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 20
},
"id": 48,
"links": [],
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<p></p>\n<p style=\"text-align: center;font-size: x-large;face:arial;\">__________ SSD Specific Values __________</p>",
"mode": "html"
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"refId": "A"
}
],
"type": "text"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Estimated remaining lifetime.\nBased on amount of written data.\n(Very vague one flash chip can be witten 10 000 times)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 33
},
{
"color": "green",
"index": 2,
"value": 67
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 12,
"x": 0,
"y": 22
},
"id": 44,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_percent_lifetime_remain_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Remaining Lifetime",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "One block typically have 256 to 4096 B \n(most likely 4096)\nCrucial BX500 (ETA 40TB)",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#299c46",
"value": null
},
{
"color": "rgba(237, 129, 40, 0.89)",
"value": 10000
},
{
"color": "#d44a3a",
"value": 20000
}
]
},
"unit": "gbytes"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 12,
"x": 12,
"y": 22
},
"id": 47,
"links": [],
"maxDataPoints": 100,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_total_host_sector_write_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}*4096/1024/1024/1024",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Host Sector Write (TB)",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 26
},
"id": 43,
"links": [],
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<p></p>\n<p style=\"text-align: center;font-size: x-large;face:arial;\">__________ HDD Specific Values __________</p>",
"mode": "html"
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"refId": "A"
}
],
"type": "text"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Average time to spin up disk. (in ms)\nHigh values indicate problems with the motor.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 28
},
"hiddenSeries": false,
"id": 20,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "10.2.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_spin_up_time_raw_value",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Spin Up Time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": "",
"logBase": 1,
"show": true
},
{
"format": "ms",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Number of unexpected power outages (no correct shutdown) \nThis kind of shutdown lowers the lifetime of a disk way more than a clean shutdown",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 10
},
{
"color": "red",
"index": 2,
"value": 40
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 0,
"y": 32
},
"id": 34,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_power_off_retract_count_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Power Off Retract Count",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Counts start/stop events.\nHigh values indicate high wear.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 2000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 750
},
{
"color": "red",
"index": 2,
"value": 1500
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 8,
"y": 32
},
"id": 24,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_start_stop_count_raw_value { instance=~\"$instance\", disk=~\"$disk\" }",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Start Stop Count",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"description": "Number times the head was placed in the parking area.\nMostly mobile disks.\n300000 times is intended.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 300000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"index": 0,
"value": null
},
{
"color": "#EAB839",
"index": 1,
"value": 50000
},
{
"color": "red",
"index": 2,
"value": 150000
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 8,
"x": 16,
"y": 32
},
"id": 36,
"links": [],
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_load_cycle_count_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{disk}}",
"refId": "A"
}
],
"title": "Load Cycle Count",
"type": "gauge"
},
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": true,
"inspect": false,
"minWidth": 50
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "device_model"
},
"properties": [
{
"id": "displayName",
"value": "device_model"
},
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "__name__"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "instance"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "job"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "type"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Value"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "decimals",
"value": 2
},
{
"id": "custom.align",
"value": "auto"
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 36
},
"id": 12,
"links": [],
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": false,
"displayName": "disk"
}
]
},
"pluginVersion": "10.2.1",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"expr": "smartmon_device_info",
"format": "table",
"instant": true,
"interval": "",
"intervalFactor": 1,
"refId": "A"
}
],
"title": "Device Info",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"__name__": true,
"alias": true,
"cluster": true,
"group": true,
"instance": true,
"ip": true,
"job": true,
"namespace": true
},
"indexByName": {},
"renameByName": {}
}
}
],
"type": "table"
}
],
"refresh": "5m",
"schemaVersion": 38,
"tags": [
"Zogg",
"Prometheus",
"NodeExporter",
"Grafana",
"Proxmox",
"SMART"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "amaterasu.home:5001",
"value": "amaterasu.home:5001"
},
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"definition": "",
"hide": 0,
"includeAll": false,
"label": "Instance",
"multi": false,
"name": "instance",
"options": [],
"query": "label_values(smartmon_smartctl_version, instance)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"definition": "label_values(smartmon_device_info, device_model)",
"hide": 2,
"includeAll": true,
"multi": true,
"name": "device_model",
"options": [],
"query": "label_values(smartmon_device_info, device_model)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "b00a2176-d15e-49e1-9a3c-e7cc3783ca10"
},
"definition": "label_values(smartmon_device_info, disk)",
"hide": 0,
"includeAll": true,
"label": "Disk",
"multi": true,
"name": "disk",
"options": [],
"query": "label_values(smartmon_device_info, disk)",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "S.M.A.R.T",
"uid": "60de7d9e-d952-40d1-9b39-ce75a0b8f96f",
"version": 15,
"weekStart": ""
}