1769 lines
41 KiB
JSON
1769 lines
41 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": "Smartmon Texfile node_exporter Dashboard",
|
||
|
"editable": true,
|
||
|
"fiscalYearStartMonth": 0,
|
||
|
"gnetId": 10530,
|
||
|
"graphTooltip": 0,
|
||
|
"id": 10,
|
||
|
"links": [],
|
||
|
"liveNow": false,
|
||
|
"panels": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 3,
|
||
|
"x": 0,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 4,
|
||
|
"interval": "",
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"mean"
|
||
|
],
|
||
|
"fields": "/^Value$/",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 3,
|
||
|
"x": 3,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 26,
|
||
|
"links": [
|
||
|
{
|
||
|
"title": "Errors",
|
||
|
"url": "/d/HIwbBGIZk/s-m-a-r-t-disk-monitoring-for-prometheus-errors?$__url_time_range&$__all_variables"
|
||
|
}
|
||
|
],
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "background",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"mean"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 6,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 10,
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"colorMode": "none",
|
||
|
"graphMode": "none",
|
||
|
"justifyMode": "auto",
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showPercentChange": false,
|
||
|
"textMode": "auto",
|
||
|
"wideLayout": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"expr": "sum(smartmon_device_active)",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Active devices",
|
||
|
"type": "stat"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 11,
|
||
|
"x": 9,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 1,
|
||
|
"interval": "",
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [
|
||
|
"mean",
|
||
|
"lastNotNull",
|
||
|
"max",
|
||
|
"min"
|
||
|
],
|
||
|
"displayMode": "table",
|
||
|
"placement": "bottom",
|
||
|
"showLegend": true
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"repeatDirection": "h",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "Temperature_Graph",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"custom": {
|
||
|
"cellOptions": {
|
||
|
"type": "auto"
|
||
|
},
|
||
|
"inspect": false
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "instance"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "job"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "smart_id"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "type"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "__name__"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "Value"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "Threshold"
|
||
|
},
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "celsius"
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 7,
|
||
|
"w": 4,
|
||
|
"x": 20,
|
||
|
"y": 0
|
||
|
},
|
||
|
"id": 16,
|
||
|
"options": {
|
||
|
"cellHeight": "sm",
|
||
|
"footer": {
|
||
|
"countRows": false,
|
||
|
"fields": "",
|
||
|
"reducer": [
|
||
|
"sum"
|
||
|
],
|
||
|
"show": false
|
||
|
},
|
||
|
"showHeader": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"expr": "smartmon_temperature_celsius_threshold{instance=~\"$instance\", disk=~\"$disk\"}",
|
||
|
"format": "table",
|
||
|
"instant": true,
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Temperature_Threshold",
|
||
|
"transformations": [
|
||
|
{
|
||
|
"id": "merge",
|
||
|
"options": {
|
||
|
"reducers": []
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"type": "table"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 9,
|
||
|
"x": 0,
|
||
|
"y": 3
|
||
|
},
|
||
|
"id": 14,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 7
|
||
|
},
|
||
|
"id": 49,
|
||
|
"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.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"description": "yellow after 2 year\nred after 4",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"decimals": 2,
|
||
|
"mappings": [],
|
||
|
"max": 35064,
|
||
|
"min": 0,
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "#EAB839",
|
||
|
"value": 17532
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 35064
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "h"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 9
|
||
|
},
|
||
|
"id": 3,
|
||
|
"interval": "",
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 9
|
||
|
},
|
||
|
"id": 32,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"mean"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"editorMode": "code",
|
||
|
"expr": "smartmon_power_cycle_count_raw_value{ instance=~\"$instance\", disk=~\"$disk\"}",
|
||
|
"format": "time_series",
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{disk}}",
|
||
|
"range": true,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Power_Cycle_Count",
|
||
|
"type": "gauge"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 14
|
||
|
},
|
||
|
"id": 48,
|
||
|
"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.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "#EAB839",
|
||
|
"value": 33
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 67
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "percent"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 12,
|
||
|
"x": 0,
|
||
|
"y": 16
|
||
|
},
|
||
|
"id": 44,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 5,
|
||
|
"w": 12,
|
||
|
"x": 12,
|
||
|
"y": 16
|
||
|
},
|
||
|
"id": 47,
|
||
|
"maxDataPoints": 100,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "horizontal",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"lastNotNull"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 2,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 21
|
||
|
},
|
||
|
"id": 43,
|
||
|
"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.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"type": "text"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"description": "Average time to spin up disk. (in ms)\nHigh values indicate problems with the motor.",
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "palette-classic"
|
||
|
},
|
||
|
"custom": {
|
||
|
"axisBorderShow": false,
|
||
|
"axisCenteredZero": false,
|
||
|
"axisColorMode": "text",
|
||
|
"axisLabel": "",
|
||
|
"axisPlacement": "auto",
|
||
|
"barAlignment": 0,
|
||
|
"drawStyle": "line",
|
||
|
"fillOpacity": 10,
|
||
|
"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"
|
||
|
}
|
||
|
},
|
||
|
"mappings": [],
|
||
|
"thresholds": {
|
||
|
"mode": "absolute",
|
||
|
"steps": [
|
||
|
{
|
||
|
"color": "green",
|
||
|
"value": null
|
||
|
},
|
||
|
{
|
||
|
"color": "red",
|
||
|
"value": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unit": "ms"
|
||
|
},
|
||
|
"overrides": []
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 4,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 23
|
||
|
},
|
||
|
"id": 20,
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"calcs": [],
|
||
|
"displayMode": "list",
|
||
|
"placement": "right",
|
||
|
"showLegend": false
|
||
|
},
|
||
|
"tooltip": {
|
||
|
"mode": "multi",
|
||
|
"sort": "none"
|
||
|
}
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"expr": "smartmon_spin_up_time_raw_value",
|
||
|
"format": "time_series",
|
||
|
"instant": false,
|
||
|
"intervalFactor": 1,
|
||
|
"legendFormat": "{{disk}}",
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Spin_Up_Time",
|
||
|
"type": "timeseries"
|
||
|
},
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 27
|
||
|
},
|
||
|
"id": 34,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 27
|
||
|
},
|
||
|
"id": 24,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": 27
|
||
|
},
|
||
|
"id": 36,
|
||
|
"options": {
|
||
|
"minVizHeight": 75,
|
||
|
"minVizWidth": 75,
|
||
|
"orientation": "auto",
|
||
|
"reduceOptions": {
|
||
|
"calcs": [
|
||
|
"last"
|
||
|
],
|
||
|
"fields": "",
|
||
|
"values": false
|
||
|
},
|
||
|
"showThresholdLabels": false,
|
||
|
"showThresholdMarkers": true,
|
||
|
"sizing": "auto"
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"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": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"fieldConfig": {
|
||
|
"defaults": {
|
||
|
"color": {
|
||
|
"mode": "thresholds"
|
||
|
},
|
||
|
"custom": {
|
||
|
"cellOptions": {
|
||
|
"type": "auto"
|
||
|
},
|
||
|
"inspect": false
|
||
|
},
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "device_model"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "displayName",
|
||
|
"value": "device_model"
|
||
|
},
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "__name__"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "instance"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "job"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "type"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"matcher": {
|
||
|
"id": "byName",
|
||
|
"options": "Value"
|
||
|
},
|
||
|
"properties": [
|
||
|
{
|
||
|
"id": "unit",
|
||
|
"value": "short"
|
||
|
},
|
||
|
{
|
||
|
"id": "decimals",
|
||
|
"value": 2
|
||
|
},
|
||
|
{
|
||
|
"id": "custom.align"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"gridPos": {
|
||
|
"h": 5,
|
||
|
"w": 24,
|
||
|
"x": 0,
|
||
|
"y": 31
|
||
|
},
|
||
|
"id": 12,
|
||
|
"options": {
|
||
|
"cellHeight": "sm",
|
||
|
"footer": {
|
||
|
"countRows": false,
|
||
|
"fields": "",
|
||
|
"reducer": [
|
||
|
"sum"
|
||
|
],
|
||
|
"show": false
|
||
|
},
|
||
|
"showHeader": true
|
||
|
},
|
||
|
"pluginVersion": "10.4.0",
|
||
|
"targets": [
|
||
|
{
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"expr": "smartmon_device_info",
|
||
|
"format": "table",
|
||
|
"instant": true,
|
||
|
"interval": "",
|
||
|
"intervalFactor": 1,
|
||
|
"refId": "A"
|
||
|
}
|
||
|
],
|
||
|
"title": "Device_Info",
|
||
|
"transformations": [
|
||
|
{
|
||
|
"id": "merge",
|
||
|
"options": {
|
||
|
"reducers": []
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"type": "table"
|
||
|
}
|
||
|
],
|
||
|
"refresh": false,
|
||
|
"schemaVersion": 39,
|
||
|
"tags": [
|
||
|
"prometheus",
|
||
|
"node_exporter",
|
||
|
"smartmon"
|
||
|
],
|
||
|
"templating": {
|
||
|
"list": [
|
||
|
{
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "All",
|
||
|
"value": "$__all"
|
||
|
},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"definition": "",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"multi": true,
|
||
|
"name": "instance",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(smartmon_smartctl_version, instance)",
|
||
|
"refId": "Prometheus-instance-Variable-Query"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"tagValuesQuery": "",
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "All",
|
||
|
"value": "$__all"
|
||
|
},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"definition": "label_values(smartmon_device_info, device_model)",
|
||
|
"hide": 2,
|
||
|
"includeAll": true,
|
||
|
"multi": true,
|
||
|
"name": "device_model",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(smartmon_device_info, device_model)",
|
||
|
"refId": "Prometheus-device_model-Variable-Query"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"tagValuesQuery": "",
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
},
|
||
|
{
|
||
|
"current": {
|
||
|
"selected": false,
|
||
|
"text": "All",
|
||
|
"value": "$__all"
|
||
|
},
|
||
|
"datasource": {
|
||
|
"type": "prometheus",
|
||
|
"uid": "PBFA97CFB590B2093"
|
||
|
},
|
||
|
"definition": "label_values(smartmon_device_info, disk)",
|
||
|
"hide": 0,
|
||
|
"includeAll": true,
|
||
|
"multi": true,
|
||
|
"name": "disk",
|
||
|
"options": [],
|
||
|
"query": {
|
||
|
"query": "label_values(smartmon_device_info, disk)",
|
||
|
"refId": "Prometheus-disk-Variable-Query"
|
||
|
},
|
||
|
"refresh": 1,
|
||
|
"regex": "",
|
||
|
"skipUrlSync": false,
|
||
|
"sort": 1,
|
||
|
"tagValuesQuery": "",
|
||
|
"tagsQuery": "",
|
||
|
"type": "query",
|
||
|
"useTags": false
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"time": {
|
||
|
"from": "now-7d",
|
||
|
"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 disk monitoring for Prometheus Dashboard",
|
||
|
"uid": "PkPI4xGWz",
|
||
|
"version": 6,
|
||
|
"weekStart": ""
|
||
|
}
|