7481 lines
242 KiB
YAML
7481 lines
242 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: snmp-exporter-dashboard-synology
|
|
namespace: monitoring
|
|
labels:
|
|
grafana_dashboard: "1"
|
|
app.kubernetes.io/name: snmp-exporter
|
|
data:
|
|
synology-nas-details.json: |
|
|
{
|
|
"__elements": {},
|
|
"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": "The Synology NAS Details dashboard provides detailed information as to the operational status of the system(s).",
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"links": [
|
|
{
|
|
"asDropdown": true,
|
|
"icon": "external link",
|
|
"includeVars": false,
|
|
"keepTime": true,
|
|
"tags": [
|
|
"synology"
|
|
],
|
|
"targetBlank": false,
|
|
"title": "Synology",
|
|
"tooltip": "",
|
|
"type": "dashboards",
|
|
"url": ""
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 14,
|
|
"panels": [],
|
|
"title": "System State - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 176
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Uptime"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "s"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 85
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Upgrades"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "Update Available"
|
|
},
|
|
"2": {
|
|
"text": "Up to Date"
|
|
},
|
|
"3": {
|
|
"text": "Connecting"
|
|
},
|
|
"4": {
|
|
"text": "Disconnected"
|
|
},
|
|
"5": {
|
|
"text": "Others"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "color"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 3
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "System Temperature"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "fahrenheit"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "gradient",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 140
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"mode": "thresholds"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 100
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 135
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byRegexp",
|
|
"options": "^.*Status$"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "NORMAL"
|
|
},
|
|
"2": {
|
|
"text": "FAILED"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Memory"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "deckbytes"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 70
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Drives"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 55
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Serial Number"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 130
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "DSM Version"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 130
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Model"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 75
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 184,
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sysUpTime{job=~'$JobName',instance=~'$Device'}/100",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "uptime",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "upgradeAvailable{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(temperature{job=~'$JobName',instance=~'$Device'}*9/5)+32",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "cpuFanStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "systemFanStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "systemStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "powerStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "modelName{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "H"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "version{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "I"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "serialNumber{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "J"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "memTotalReal{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "K"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}+1",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "L"
|
|
}
|
|
],
|
|
"title": "System Information - $Device",
|
|
"transformations": [
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "Time"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"Value #A",
|
|
"Value #B",
|
|
"Value #C",
|
|
"Value #D",
|
|
"Value #E",
|
|
"Value #F",
|
|
"Value #G",
|
|
"modelName",
|
|
"version",
|
|
"serialNumber",
|
|
"Value #K",
|
|
"Value #L"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"Value #A": 5,
|
|
"Value #B": 7,
|
|
"Value #C": 11,
|
|
"Value #D": 9,
|
|
"Value #E": 10,
|
|
"Value #F": 6,
|
|
"Value #G": 8,
|
|
"Value #K": 3,
|
|
"Value #L": 4,
|
|
"modelName": 0,
|
|
"serialNumber": 2,
|
|
"version": 1
|
|
},
|
|
"renameByName": {
|
|
"Value": "Uptime",
|
|
"Value #A": "Uptime",
|
|
"Value #B": "Upgrades",
|
|
"Value #C": "System Temperature",
|
|
"Value #D": "CPU Fan Status",
|
|
"Value #E": "System Fan Status",
|
|
"Value #F": "System Status",
|
|
"Value #G": "Power Status",
|
|
"Value #H": "Version1",
|
|
"Value #I": "Version",
|
|
"Value #K": "Memory",
|
|
"Value #L": "Drives",
|
|
"modelName": "Model",
|
|
"serialNumber": "Serial Number",
|
|
"version": "DSM Version"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"transparent": true,
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "Enter the number of Synology's you are monitoring in the NASDevices variable. A positive Number here means there is a NAS down or not being scraped for data. A negative Number means you are collecting data from more Synology's than the system expects in the NASDevices variable.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Synology's Down"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": -9999
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "DOWN"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-green",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "displayName",
|
|
"value": "Interfaces Down"
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Up"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 1176,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(systemStatus)",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Total Synology's",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "$NASDevices-count(systemStatus)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Synology's Down",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(systemStatus)-$NASDevices",
|
|
"hide": true,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Update NAS variable",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Synology Systems",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Down"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "DOWN"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "displayName",
|
|
"value": "Interfaces Down"
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Up"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 5
|
|
},
|
|
"id": 1445,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==1)",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Admin Up",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Admin Down",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(count(ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2)) - (count(ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfacePhysical'}==2))",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "DOWN",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Network Interface Status",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "RAID Warning"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "RAID Failure"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 8,
|
|
"y": 5
|
|
},
|
|
"id": 1260,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "count(raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Total Volumes",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count((raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=2 and raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=10) or (raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=13 and {job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=20))",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "RAID Warning",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count((raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>=11 and raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}<=12) or raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}>21)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "RAID Failure",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Storage Volumes",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Not Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Failure"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 12,
|
|
"y": 5
|
|
},
|
|
"id": 1259,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'})",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Total Drives",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}>=2) and count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}<=3)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Not Used",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskName'}>=4)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Failure",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Hard Drives",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"noValue": "0",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Not Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Failure"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 16,
|
|
"y": 5
|
|
},
|
|
"id": 1319,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskIndex{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'})",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Total Drives",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}==3)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Not Used",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskStatus{job=~'$JobName',instance=~'$Device',diskID=~'$DiskNameSSD'}>=4)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Failure",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Cache Drives",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "SMART Failures"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 4,
|
|
"x": 20,
|
|
"y": 5
|
|
},
|
|
"id": 1378,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device'}==1)",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "SMART Checks",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device',diskSMARTAttrStatus!=\"OK\"}==1)",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "SMART Failures",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "S.M.A.R.T Status",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 8
|
|
},
|
|
"id": 1720,
|
|
"panels": [],
|
|
"title": "System Resources - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "CPU Usage %",
|
|
"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": "line"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "transparent",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(51, 162, 229, 0.2)",
|
|
"value": 100
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#37872D",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Idle"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "transparent",
|
|
"mode": "shades"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 9
|
|
},
|
|
"id": 33,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ssCpuUser{job=~'$JobName',instance=~'$Device'} + ssCpuSystem{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "100-(ssCpuUser{job=~'$JobName',instance=~'$Device'} + ssCpuSystem{job=~'$JobName',instance=~'$Device'})",
|
|
"format": "time_series",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Idle",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "CPU Usage - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Memory Used %",
|
|
"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": "line+area"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"max": 1,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "transparent",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(51, 162, 229, 0.2)",
|
|
"value": 1
|
|
}
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#37872D",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(0, 0, 0, 0)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 9
|
|
},
|
|
"id": 117,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(memTotalReal{job=~'$JobName',instance=~'$Device'} - (memAvailReal{job=~'$JobName',instance=~'$Device'} + memCached{job=~'$JobName',instance=~'$Device'} + memBuffer{job=~'$JobName',instance=~'$Device'})) / memTotalReal{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "1-((memTotalReal{job=~'$JobName',instance=~'$Device'} - (memAvailReal{job=~'$JobName',instance=~'$Device'} + memCached{job=~'$JobName',instance=~'$Device'} + memBuffer{job=~'$JobName',instance=~'$Device'})) / memTotalReal{job=~'$JobName',instance=~'$Device'})",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Memory Usage - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "CPU Utilization %",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 50,
|
|
"gradientMode": "opacity",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "line"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "transparent",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(51, 162, 229, 0.2)",
|
|
"value": 100
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Idle"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "blue",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "System"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "User"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Idle"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(0, 0, 0, 0)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "User"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgb(56, 102, 47)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "System"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#1F60C4",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 15
|
|
},
|
|
"id": 23,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "100",
|
|
"hide": true,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Max",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ssCpuSystem{job=~'$JobName',instance=~'$Device'}",
|
|
"interval": "",
|
|
"legendFormat": "System",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ssCpuUser{job=~'$JobName',instance=~'$Device'}",
|
|
"interval": "",
|
|
"legendFormat": "User",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ssCpuIdle{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Idle",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "CPU Utilization - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Physical Memory",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "deckbytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Available"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Cached"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "super-light-yellow",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Reserved"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "light-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Shared"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-purple",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Total"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#C4162A",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Cached"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgb(7, 53, 117)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Buffer"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-yellow",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "transparent",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Reserved"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgb(56, 102, 47)",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 15
|
|
},
|
|
"id": 114,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "memTotalReal{job=~'$JobName',instance=~'$Device'} ",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Size",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "memTotalReal{job=~'$JobName',instance=~'$Device'} - (memShared{job=~'$JobName',instance=~'$Device'} + memCached{job=~'$JobName',instance=~'$Device'} + memBuffer{job=~'$JobName',instance=~'$Device'} + memAvailReal{job=~'$JobName',instance=~'$Device'})",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Reserved",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "memBuffer{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Buffer",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "memCached{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Cached",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "memShared{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Shared",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "memAvailReal{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Physical Memory - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "CPU Load",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 90,
|
|
"gradientMode": "opacity",
|
|
"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": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-1"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Load avg 1 min"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-5"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Load avg 5 min"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-15"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName",
|
|
"value": "Load avg 15 min"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-1"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#37872D",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-5"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#1F60C4",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Load-15"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#E0B400",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 21
|
|
},
|
|
"id": 11,
|
|
"options": {
|
|
"alertThreshold": true,
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "laLoadInt{job=~'$JobName',instance=~'$Device'}/100",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{laNames}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "CPU Load - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Virtual Memory",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "deckbytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free Virtual Memory"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Total Virtual Memory"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used Virtual Memory"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-orange",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#C4162A",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(0, 0, 0, 0)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#37872D",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 21
|
|
},
|
|
"id": 115,
|
|
"options": {
|
|
"alertThreshold": true,
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "memTotalReal{job=~'$JobName',instance=~'$Device'} + memTotalSwap{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Size",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(memTotalReal{job=~'$JobName',instance=~'$Device'} + memTotalSwap{job=~'$JobName',instance=~'$Device'}) - memTotalFree{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Used",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "memTotalFree{job=~'$JobName',instance=~'$Device'}",
|
|
"hide": false,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Virtual Memory - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Running Processes",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 10,
|
|
"gradientMode": "opacity",
|
|
"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": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 27
|
|
},
|
|
"id": 1116,
|
|
"options": {
|
|
"alertThreshold": true,
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrSystemProcesses{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Processes",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Processes - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Connected Users",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 0,
|
|
"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"
|
|
}
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 27
|
|
},
|
|
"id": 1057,
|
|
"options": {
|
|
"alertThreshold": false,
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "serviceUsers{job=~'$JobName',instance=~'$Device',serviceName=~'$services'}",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{serviceName}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Users / Service - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 33
|
|
},
|
|
"id": 76,
|
|
"panels": [],
|
|
"title": "System Internals - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"links": [],
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 120
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Speed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "decbytes"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
},
|
|
"4": {
|
|
"text": "UNKNOWN"
|
|
},
|
|
"5": {
|
|
"text": "DORMANT"
|
|
},
|
|
"6": {
|
|
"text": "NOT PRESENT"
|
|
},
|
|
"7": {
|
|
"text": "LOWER LAYER DOWN"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 7
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 120
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "MTU"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "MAC Address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 175
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Interface"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 90
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 34
|
|
},
|
|
"id": 210,
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifPhysAddress{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifSpeed{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifAlias{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": true,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifMtu{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "G"
|
|
}
|
|
],
|
|
"title": "Network Interfaces - ($Device)",
|
|
"transformations": [
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "ifName"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"ifName",
|
|
"ifPhysAddress",
|
|
"Value #B",
|
|
"Value #D",
|
|
"Value #E",
|
|
"Value #G"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"Value #B": 3,
|
|
"Value #D": 1,
|
|
"Value #E": 4,
|
|
"Value #G": 2,
|
|
"ifName": 0,
|
|
"ifPhysAddress": 5
|
|
},
|
|
"renameByName": {
|
|
"Value #B": "Admin Status",
|
|
"Value #C": "Connector",
|
|
"Value #D": "Speed",
|
|
"Value #E": "Status",
|
|
"Value #F": "Description",
|
|
"Value #G": "MTU",
|
|
"ifName": "Interface",
|
|
"ifPhysAddress": "MAC Address"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "System Name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "gradient",
|
|
"type": "color-background"
|
|
}
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(40, 33, 96, 0.78)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 220
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 120
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Speed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "decbytes"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
},
|
|
"4": {
|
|
"text": "UNKNOWN"
|
|
},
|
|
"5": {
|
|
"text": "DORMANT"
|
|
},
|
|
"6": {
|
|
"text": "NOT PRESENT"
|
|
},
|
|
"7": {
|
|
"text": "LOWER LAYER DOWN"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 7
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 120
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "MAC Address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 200
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Interface"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 90
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 34
|
|
},
|
|
"id": 1722,
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": false,
|
|
"displayName": "System Name"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifPhysAddress{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifSpeed{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifAlias{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifMtu{job=~'$JobName',instance=~'$Device',ifName=~'$InterfaceVirtual'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "F"
|
|
}
|
|
],
|
|
"title": "Bond/Virtual Network Interface Information",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"ifName",
|
|
"instance",
|
|
"Value #B",
|
|
"Value #C",
|
|
"Value #D",
|
|
"Value #F"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "merge",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"instance": true
|
|
},
|
|
"includeByName": {},
|
|
"indexByName": {
|
|
"Value #B": 4,
|
|
"Value #C": 2,
|
|
"Value #D": 5,
|
|
"Value #E": 6,
|
|
"Value #F": 3,
|
|
"ifName": 1,
|
|
"ifPhysAddress": 7,
|
|
"instance": 0
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "",
|
|
"Value #B": "Admin Status",
|
|
"Value #C": "Speed",
|
|
"Value #D": "Status",
|
|
"Value #E": "what",
|
|
"Value #F": "MTU",
|
|
"ifName": "Interface",
|
|
"ifPhysAddress": "MAC Address",
|
|
"instance": "System Name"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "sortBy",
|
|
"options": {
|
|
"fields": {},
|
|
"sort": [
|
|
{
|
|
"field": "System Name"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sortBy",
|
|
"options": {
|
|
"fields": {},
|
|
"sort": [
|
|
{
|
|
"field": "Interface"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "center",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"max": 140,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-yellow",
|
|
"value": 100
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 138
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Disk"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "auto"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 65
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Temperature"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "gradient",
|
|
"type": "gauge"
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
},
|
|
{
|
|
"id": "max",
|
|
"value": 140
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "fahrenheit"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Type"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 65
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "Normal"
|
|
},
|
|
"2": {
|
|
"text": "Initialized"
|
|
},
|
|
"3": {
|
|
"text": "Not Initialized"
|
|
},
|
|
"4": {
|
|
"text": "System Partition Failed"
|
|
},
|
|
"5": {
|
|
"text": "Crashed"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "dark-yellow",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 4
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.width",
|
|
"value": 118
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Model"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 42
|
|
},
|
|
"id": 132,
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(diskTemperature{job=~'$JobName',instance=~'$Device'}*9/5)+32",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskType{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskModel{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
}
|
|
],
|
|
"title": "Hard Drives - ($Device)",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"diskID",
|
|
"Value #A",
|
|
"diskType",
|
|
"Value #C",
|
|
"diskModel"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "diskID"
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"Value #A": 4,
|
|
"Value #C": 3,
|
|
"diskID": 0,
|
|
"diskModel": 2,
|
|
"diskType": 1
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "Temperature",
|
|
"Value #C": "Status",
|
|
"diskID": "Disk",
|
|
"diskModel": "Model",
|
|
"diskType": "Type"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 50
|
|
},
|
|
"id": 230,
|
|
"panels": [],
|
|
"repeat": "raidName",
|
|
"title": "Storage: $raidName - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "Raid Normal"
|
|
},
|
|
"2": {
|
|
"text": "Raid Repairing"
|
|
},
|
|
"3": {
|
|
"text": "Raid Migrating"
|
|
},
|
|
"4": {
|
|
"text": "Raid Expanding"
|
|
},
|
|
"5": {
|
|
"text": "Raid Deleting"
|
|
},
|
|
"6": {
|
|
"text": "Raid Creating"
|
|
},
|
|
"7": {
|
|
"text": "Raid Syncing"
|
|
},
|
|
"8": {
|
|
"text": "Raid Parity Checking"
|
|
},
|
|
"9": {
|
|
"text": "Raid Assembling"
|
|
},
|
|
"10": {
|
|
"text": "Raid Canceling"
|
|
},
|
|
"11": {
|
|
"text": "Raid Degraded"
|
|
},
|
|
"12": {
|
|
"text": "Raid Crashed"
|
|
},
|
|
"13": {
|
|
"text": "Raid Data Scrubbing"
|
|
},
|
|
"14": {
|
|
"text": "Raid Deploying"
|
|
},
|
|
"15": {
|
|
"text": "Raid UnDeploying"
|
|
},
|
|
"16": {
|
|
"text": "Raid Mount Cache"
|
|
},
|
|
"17": {
|
|
"text": "Raid Unmount Cache"
|
|
},
|
|
"18": {
|
|
"text": "Raid Expanding Unfinished SHR"
|
|
},
|
|
"19": {
|
|
"text": "Raid Convert SHR To Pool"
|
|
},
|
|
"21": {
|
|
"text": "Raid Unknown Status"
|
|
},
|
|
"20 ": {
|
|
"text": "Raid Migrate SHR1 To SHR2"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "#299c46",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 11
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 13
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 21
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 51
|
|
},
|
|
"id": 9,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "raidStatus{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "RAID Status",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "normal"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "0x566F6C756D652031 Free Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "0x566F6C756D652031 Total Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "yellow",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Total Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "orange",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Size"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#C4162A",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Free"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(0, 0, 0, 0)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Used"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgb(0, 98, 255)",
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 90
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 2
|
|
},
|
|
{
|
|
"id": "custom.stacking",
|
|
"value": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 21,
|
|
"x": 3,
|
|
"y": 51
|
|
},
|
|
"id": 26,
|
|
"maxPerRow": 6,
|
|
"options": {
|
|
"alertThreshold": true,
|
|
"legend": {
|
|
"calcs": [
|
|
"lastNotNull",
|
|
"max",
|
|
"min"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "multi",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "raidTotalSize{job='$JobName',instance='$Device',raidName='$raidName'}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Size",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(raidTotalSize{job='$JobName',instance='$Device',raidName='$raidName'}-raidFreeSize{job='$JobName',instance='$Device',raidName='$raidName'})",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "raidFreeSize{job='$JobName',instance='$Device',raidName='$raidName'}",
|
|
"hide": false,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Storage Usage - $raidName ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-blue",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 53
|
|
},
|
|
"id": 295,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Storage Size",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 2,
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "light-yellow",
|
|
"value": 80
|
|
},
|
|
{
|
|
"color": "dark-orange",
|
|
"value": 85
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 55
|
|
},
|
|
"id": 557,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"minVizHeight": 75,
|
|
"minVizWidth": 75,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"sizing": "auto",
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "11.3.0+security-01",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "((raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'}-raidFreeSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})/raidTotalSize{job=~'$JobName',instance=~'$Device',raidName=~'$raidName'})*100",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "% Free",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "% Used Space",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 59
|
|
},
|
|
"id": 374,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-blue"
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 83
|
|
},
|
|
"id": 453,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showPercentChange": false,
|
|
"text": {},
|
|
"textMode": "value",
|
|
"wideLayout": true
|
|
},
|
|
"pluginVersion": "11.3.0",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'}",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "File System Size",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 0,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 21,
|
|
"x": 3,
|
|
"y": 83
|
|
},
|
|
"id": 404,
|
|
"maxPerRow": 6,
|
|
"options": {
|
|
"alertThreshold": true,
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "11.3.0",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Size",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'} - hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'}) * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'}\n",
|
|
"hide": false,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "File System Usage: $hrStorageDescr ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 2,
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-green"
|
|
},
|
|
{
|
|
"color": "light-yellow",
|
|
"value": 80
|
|
},
|
|
{
|
|
"color": "dark-orange",
|
|
"value": 85
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 85
|
|
},
|
|
"id": 610,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"minVizHeight": 75,
|
|
"minVizWidth": 75,
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"sizing": "auto",
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "11.3.0",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'} /hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrStorageDescr'})*100",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "% Used",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "% Used Space",
|
|
"type": "gauge"
|
|
}
|
|
],
|
|
"repeat": "hrStorageDescr",
|
|
"title": "File Systems: $hrStorageDescr ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 72
|
|
},
|
|
"id": 28,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 2548
|
|
},
|
|
"id": 30,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIONReadX{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Bits",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIONWrittenX{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Bits",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Bits Read/Write: $storageIODevice - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "bps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 2548
|
|
},
|
|
"id": 877,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIOLA{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "I/0",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIOLA1{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "I/O 1 min avg",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIOLA5{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "I/O 5 min avg",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(storageIOLA15{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "I/O 15 min avg",
|
|
"refId": "D"
|
|
}
|
|
],
|
|
"title": "I/O: $storageIODevice - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 2554
|
|
},
|
|
"id": 31,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(storageIOReads{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Read Load",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(storageIOWrites{job=~'$JobName',instance=~'$Device',storageIODevice=~'$storageIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Load",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Load: $storageIODevice - ($Device)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"repeat": "storageIODevice",
|
|
"title": "HDD/SSD: $storageIODevice - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 76
|
|
},
|
|
"id": 876,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 42617
|
|
},
|
|
"id": 504,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheDiskRead{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Bytes",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheDiskWrite{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Written Bytes",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Bytes Read/Write: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 42617
|
|
},
|
|
"id": 995,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheReadHits{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Hits",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheWriteHits{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Hits",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Read/Write Hits: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 42623
|
|
},
|
|
"id": 996,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheTotalRead{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Total Read Hits",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheTotalWrite{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Total Write Hits",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Read/Write Total: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 42623
|
|
},
|
|
"id": 936,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheReadHitRate{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Hit Rate",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheWriteHitRate{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Hit Rate",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Read/Write Hit Rate: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 42629
|
|
},
|
|
"id": 997,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheReadSeqSkip{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Skips",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheWriteSeqSkip{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Skips",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Read/Write Skips: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "The number of\ndata writes to SSD\nfor the first time",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 42629
|
|
},
|
|
"id": 998,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(flashCacheWriteMissSsd{job=~'$JobName',instance=~'$Device',flashCacheSSDDev=~'$flashCacheDisk'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Write Misses",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Write Misses: $flashCacheDisk- ($Device)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"repeat": "flashCacheDisk",
|
|
"title": "SSD Cache: $flashCacheDisk - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 77
|
|
},
|
|
"id": 654,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-blue"
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 330109
|
|
},
|
|
"id": 703,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value"
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'}",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Memory Size",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 21,
|
|
"x": 3,
|
|
"y": 330109
|
|
},
|
|
"id": 652,
|
|
"maxPerRow": 6,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Size",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'} * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'} - hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'}) * hrStorageAllocationUnits{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'}\n",
|
|
"hide": false,
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "Free",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Memory Usage: $hrMemoryDescr ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"decimals": 2,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-green"
|
|
},
|
|
{
|
|
"color": "light-yellow",
|
|
"value": 70
|
|
},
|
|
{
|
|
"color": "dark-orange",
|
|
"value": 80
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 330111
|
|
},
|
|
"id": 756,
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "(hrStorageUsed{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'} /hrStorageSize{job=~'$JobName',instance=~'$Device',hrStorageDescr=~'$hrMemoryDescr'})*100",
|
|
"format": "time_series",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "% Used",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "% Used Space",
|
|
"type": "gauge"
|
|
}
|
|
],
|
|
"repeat": "hrMemoryDescr",
|
|
"title": "Memory: $hrMemoryDescr - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 83
|
|
},
|
|
"id": 17,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "left",
|
|
"cellOptions": {
|
|
"type": "auto"
|
|
},
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"links": [],
|
|
"mappings": [],
|
|
"noValue": "No Data Available",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Admin Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Speed"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "decbytes"
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"1": {
|
|
"text": "UP"
|
|
},
|
|
"2": {
|
|
"text": "DOWN"
|
|
},
|
|
"3": {
|
|
"text": "TESTING"
|
|
},
|
|
"4": {
|
|
"text": "UNKNOWN"
|
|
},
|
|
"5": {
|
|
"text": "DORMANT"
|
|
},
|
|
"6": {
|
|
"text": "NOT PRESENT"
|
|
},
|
|
"7": {
|
|
"text": "LOWER LAYER DOWN"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"type": "color-text"
|
|
}
|
|
},
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 3
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 7
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "MTU"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "center"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 2016909
|
|
},
|
|
"id": 346,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "9.3.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifPhysAddress{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifAdminStatus{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifConnectorPresent{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifSpeed{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifOperStatus{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "ifMtu{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "F"
|
|
}
|
|
],
|
|
"title": "Interfaces Details: $Interface - ($Device)",
|
|
"transformations": [
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "ifName"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"ifName",
|
|
"ifPhysAddress",
|
|
"instance 2",
|
|
"Value #D",
|
|
"Value #E",
|
|
"Value #F"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"Value #D": 2,
|
|
"Value #E": 4,
|
|
"Value #F": 3,
|
|
"ifName": 1,
|
|
"ifPhysAddress": 5,
|
|
"instance 2": 0
|
|
},
|
|
"renameByName": {
|
|
"Value #B": "Admin Status",
|
|
"Value #C": "Connector",
|
|
"Value #D": "Speed",
|
|
"Value #E": "Status",
|
|
"Value #F": "MTU",
|
|
"ifName": "Port",
|
|
"ifPhysAddress": "MAC Address",
|
|
"instance 2": "NAS"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 2016912
|
|
},
|
|
"id": 1,
|
|
"maxPerRow": 2,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "9.3.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCInOctets{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Traffic In",
|
|
"refId": "A",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCOutOctets{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Traffic Out",
|
|
"refId": "B",
|
|
"step": 60
|
|
}
|
|
],
|
|
"title": "Traffic: $Interface - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 2016920
|
|
},
|
|
"id": 249,
|
|
"maxPerRow": 2,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "9.3.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCInBroadcastPkts{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Broadcast In",
|
|
"refId": "A",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCOutBroadcastPkts{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Broadcast Out",
|
|
"refId": "B",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCInMulticastPkts{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Multicast In",
|
|
"refId": "C",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(ifHCOutMulticastPkts{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])*$interfacebits",
|
|
"format": "time_series",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Multicast Out",
|
|
"refId": "D",
|
|
"step": 60
|
|
}
|
|
],
|
|
"title": "Multicast & Broadcast: $Interface - ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 2016920
|
|
},
|
|
"id": 68,
|
|
"maxPerRow": 2,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "9.3.2",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "rate(ifInDiscards{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Discards In",
|
|
"refId": "A",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "rate(ifInErrors{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Errors In",
|
|
"refId": "B",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "rate(ifOutDiscards{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Discards Out",
|
|
"refId": "C",
|
|
"step": 60
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"expr": "rate(ifOutErrors{job=~'$JobName',instance=~'$Device',ifName=~'$Interface'}[$__rate_interval])",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Errors Out",
|
|
"refId": "D",
|
|
"step": 60
|
|
}
|
|
],
|
|
"title": "Errors $Interface: - ($Device)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"repeat": "Interface",
|
|
"title": "Networking: ($Interface) - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 86
|
|
},
|
|
"id": 39,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 10345777
|
|
},
|
|
"id": 45,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(spaceIONReadX{job=~'$JobName',instance=~'$Device',spaceIODevice=~'$spaceIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Bytes",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(spaceIONWrittenX{job=~'$JobName',instance=~'$Device',spaceIODevice=~'$spaceIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Written Bytes",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Volume Throughput - $spaceIODevice ($Device)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 10345777
|
|
},
|
|
"id": 46,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"pluginVersion": "7.5.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(spaceIOReads{job=~'$JobName',instance=~'$Device',spaceIODevice=~'$spaceIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Read Bytes",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(spaceIOWrites{job=~'$JobName',instance=~'$Device',spaceIODevice=~'$spaceIODevice'}[$__rate_interval])",
|
|
"interval": "",
|
|
"legendFormat": "Written Bytes",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Volume IOPS - $spaceIODevice ($Device)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"repeat": "spaceIODevice",
|
|
"title": "Volume: $spaceIODevice - ($Device)",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 87
|
|
},
|
|
"id": 814,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 59428557
|
|
},
|
|
"id": 1646,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value_and_name"
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "count(diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device',diskSMARTInfoDevName=~'$SmartDev'})",
|
|
"interval": "",
|
|
"legendFormat": "SMART Checks",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "S.M.A.R.T ",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "dark-red"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "SMART Test"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.align",
|
|
"value": "left"
|
|
},
|
|
{
|
|
"id": "custom.cellOptions",
|
|
"value": {
|
|
"mode": "gradient",
|
|
"type": "color-background"
|
|
}
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "rgba(40, 33, 96, 0.78)",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 21,
|
|
"x": 3,
|
|
"y": 59428557
|
|
},
|
|
"id": 816,
|
|
"options": {
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": false,
|
|
"displayName": "Index"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device',diskSMARTInfoDevName='$SmartDev'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "SMARTInfo",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrName{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrName",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrCurrent{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrCurrent",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrThreshold{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrThreshold",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrWorst{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrWorst",
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrStatus",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrRaw{job=~'$JobName',instance=~'$Device'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "AttrRaw",
|
|
"refId": "G"
|
|
}
|
|
],
|
|
"title": "S.M.A.R.T: $SmartDev (Data is from the last time the Scheduled task was run)",
|
|
"transformations": [
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "diskSMARTInfoIndex"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterByValue",
|
|
"options": {
|
|
"filters": [
|
|
{
|
|
"config": {
|
|
"id": "greaterOrEqual",
|
|
"options": {
|
|
"value": 0
|
|
}
|
|
},
|
|
"fieldName": "Value #A"
|
|
}
|
|
],
|
|
"match": "all",
|
|
"type": "include"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"diskSMARTAttrName",
|
|
"Value #C",
|
|
"Value #D",
|
|
"Value #E",
|
|
"diskSMARTAttrStatus",
|
|
"Value #G"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {},
|
|
"indexByName": {
|
|
"Value #C": 3,
|
|
"Value #D": 4,
|
|
"Value #E": 5,
|
|
"Value #F": 2,
|
|
"Value #G": 6,
|
|
"diskSMARTAttrName": 0,
|
|
"diskSMARTAttrStatus": 1
|
|
},
|
|
"renameByName": {
|
|
"Value #A": "",
|
|
"Value #C": "Current",
|
|
"Value #D": "Threshold",
|
|
"Value #E": "Worst",
|
|
"Value #F": "Status",
|
|
"Value #G": "RAW",
|
|
"diskSMARTAttrName": "SMART Test",
|
|
"diskSMARTAttrStatus": "Status",
|
|
"diskSMARTInfoDevName": "Device",
|
|
"diskSMARTInfoIndex": "",
|
|
"instance 1": "NAS"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "sortBy",
|
|
"options": {
|
|
"fields": {},
|
|
"sort": [
|
|
{
|
|
"field": "Status"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"displayName": "S.M.A.R.T Issues",
|
|
"mappings": [],
|
|
"noValue": "0",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "dark-red",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 3,
|
|
"x": 0,
|
|
"y": 59428561
|
|
},
|
|
"id": 1575,
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "7.5.5",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device',diskSMARTInfoDevName=~'$SmartDev'}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "diskSMARTInfoDevName",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "diskSMARTAttrStatus{job=~'$JobName',instance=~'$Device',diskSMARTAttrStatus!=\"OK\"}",
|
|
"format": "table",
|
|
"hide": false,
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "diskSMARTAttrStatus",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "S.M.A.R.T: $SmartDev",
|
|
"transformations": [
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"diskSMARTInfoDevName",
|
|
"diskSMARTInfoIndex",
|
|
"Value #A",
|
|
"diskSMARTAttrStatus",
|
|
"Value #C",
|
|
"__name__",
|
|
"instance",
|
|
"job"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "seriesToColumns",
|
|
"options": {
|
|
"byField": "diskSMARTInfoIndex"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterByValue",
|
|
"options": {
|
|
"filters": [
|
|
{
|
|
"config": {
|
|
"id": "greater",
|
|
"options": {
|
|
"value": 0
|
|
}
|
|
},
|
|
"fieldName": "Value #C"
|
|
},
|
|
{
|
|
"config": {
|
|
"id": "greater",
|
|
"options": {
|
|
"value": 0
|
|
}
|
|
},
|
|
"fieldName": "Value #A"
|
|
}
|
|
],
|
|
"match": "all",
|
|
"type": "include"
|
|
}
|
|
},
|
|
{
|
|
"id": "filterFieldsByName",
|
|
"options": {
|
|
"include": {
|
|
"names": [
|
|
"Value #C"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "stat"
|
|
}
|
|
],
|
|
"repeat": "SmartDev",
|
|
"title": "SMART - ($SmartDev)",
|
|
"type": "row"
|
|
}
|
|
],
|
|
"refresh": "5m",
|
|
"schemaVersion": 40,
|
|
"tags": [
|
|
"synology",
|
|
"dsm"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"description": "Total Number of NAS Systems manually entered.",
|
|
"hide": 2,
|
|
"name": "NASDevices",
|
|
"query": "1",
|
|
"skipUrlSync": true,
|
|
"type": "constant",
|
|
"current": {
|
|
"value": "1",
|
|
"text": "1",
|
|
"selected": false
|
|
},
|
|
"options": [
|
|
{
|
|
"value": "1",
|
|
"text": "1",
|
|
"selected": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"current": {
|
|
"text": "8",
|
|
"value": "8"
|
|
},
|
|
"description": "This controls whether network interfaces report Megebyte set to 1, Megabits set to 8.",
|
|
"hide": 2,
|
|
"name": "interfacebits",
|
|
"options": [
|
|
{
|
|
"selected": true,
|
|
"text": "8",
|
|
"value": "8"
|
|
}
|
|
],
|
|
"query": "8",
|
|
"type": "textbox"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(ssCpuUser, job)",
|
|
"includeAll": false,
|
|
"label": "Job Name",
|
|
"name": "JobName",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(ssCpuUser, job)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "query_result(ssCpuUser{job=~'$JobName'})",
|
|
"includeAll": false,
|
|
"name": "Device",
|
|
"options": [],
|
|
"query": {
|
|
"query": "query_result(ssCpuUser{job=~'$JobName'})",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": ".*instance=\"(.*?)\".*",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"description": "Regex controls interfaces to show. Default: ^eth.*|^bond.*|^docker[0-9]",
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "Interface",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "^eth.*|^bond.*|docker[0-9]",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"description": "Physical Network Interfaces",
|
|
"includeAll": true,
|
|
"label": "Network Interface",
|
|
"multi": true,
|
|
"name": "InterfacePhysical",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(ifName{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "^eth.*|^tun0",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(ifType_info{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"description": "Bonds an VLans",
|
|
"includeAll": true,
|
|
"label": "Virtual Interfaces",
|
|
"multi": true,
|
|
"name": "InterfaceVirtual",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(ifType_info{job=~'$JobName',instance=~'$Device'},ifName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "^.*bond.*",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
|
|
"hide": 2,
|
|
"includeAll": true,
|
|
"label": "Disk",
|
|
"multi": true,
|
|
"name": "DiskName",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "/^(?!Cache.*)/",
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
|
|
"hide": 2,
|
|
"includeAll": true,
|
|
"label": "Cache",
|
|
"multi": true,
|
|
"name": "DiskNameSSD",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(diskID{job=~'$JobName',instance=~'$Device'},diskID)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "^Cache device.*",
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(raidName{job=~'$JobName',instance=~'$Device'},raidName)",
|
|
"includeAll": true,
|
|
"label": "Storage",
|
|
"multi": true,
|
|
"name": "raidName",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(raidName{job=~'$JobName',instance=~'$Device'},raidName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(storageIODevice{job=~'$JobName',instance=~'$Device'},storageIODevice)",
|
|
"includeAll": true,
|
|
"label": "Disk",
|
|
"multi": true,
|
|
"name": "storageIODevice",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(storageIODevice{job=~'$JobName',instance=~'$Device'},storageIODevice)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(spaceIODevice{job=~'$JobName',instance=~'$Device'},spaceIODevice)",
|
|
"includeAll": true,
|
|
"label": "Volume Name",
|
|
"multi": true,
|
|
"name": "spaceIODevice",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(spaceIODevice{job=~'$JobName',instance=~'$Device'},spaceIODevice)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(hrStorageDescr{job=~'$JobName',instance=~'$Device'},hrStorageDescr)",
|
|
"description": "Regex controls the hrStorageDescr devices to hide. Memory is hidden here and used in the \"hrMemoryDescr\" variable instead. Default: /^(?!/run|/sys/.*|/dev|.*@docker.*|.*[M|m]emory)/",
|
|
"includeAll": true,
|
|
"label": "File System",
|
|
"multi": true,
|
|
"name": "hrStorageDescr",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(hrStorageDescr{job=~'$JobName',instance=~'$Device'},hrStorageDescr)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "/^(?!/run|/sys/.*|/dev|.*@docker.*|.*[M|m]emory)/",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(flashCacheSSDDev{job=~'$JobName',instance=~'$Device'},flashCacheSSDDev)",
|
|
"includeAll": true,
|
|
"label": "Cache",
|
|
"multi": true,
|
|
"name": "flashCacheDisk",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(flashCacheSSDDev{job=~'$JobName',instance=~'$Device'},flashCacheSSDDev)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(hrStorageDescr{job=~'$JobName',instance=~'$Device'},hrStorageDescr)",
|
|
"description": "Regex controls file hrStorageDescr devices to show here. Default: /.*[M|m]emory.*/",
|
|
"includeAll": true,
|
|
"label": "Memory",
|
|
"multi": true,
|
|
"name": "hrMemoryDescr",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(hrStorageDescr{job=~'$JobName',instance=~'$Device'},hrStorageDescr)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "/.*[M|m]emory.*/",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device'},diskSMARTInfoDevName)",
|
|
"includeAll": true,
|
|
"label": "S.M.A.R.T",
|
|
"multi": true,
|
|
"name": "SmartDev",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(diskSMARTInfoDevName{job=~'$JobName',instance=~'$Device'},diskSMARTInfoDevName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "VictoriaMetrics"
|
|
},
|
|
"definition": "label_values(serviceName{job=~'$JobName',instance=~'$Device'},serviceName)",
|
|
"description": "Regex controls which services to hide. Default: /^(?!TELNET|FTP|AFP|OTHER)/",
|
|
"hide": 2,
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "services",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(serviceName{job=~'$JobName',instance=~'$Device'},serviceName)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 2,
|
|
"regex": "/^(?!TELNET|FTP|AFP|OTHER)/",
|
|
"sort": 1,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-3h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "browser",
|
|
"title": "Synology NAS Details",
|
|
"uid": "i55CRAlMk",
|
|
"version": 5,
|
|
"weekStart": ""
|
|
}
|