{ "apiVersion": "dashboard.grafana.app/v2beta1", "kind": "Dashboard", "metadata": { "name": "7qKD6I1Wk", "generation": 9, "creationTimestamp": "2025-12-16T12:25:01Z", "labels": {}, "annotations": {} }, "spec": { "annotations": [ { "kind": "AnnotationQuery", "spec": { "builtIn": true, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "query": { "group": "grafana", "kind": "DataQuery", "spec": {}, "version": "v0" } } } ], "cursorSync": "Crosshair", "description": "For snmp_exporter IF-MIB", "editable": true, "elements": { "panel-21": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "irate(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "instant": false, "intervalFactor": 1, "legendFormat": "Out: {{instance}} - {{ifName}}" }, "version": "v0" }, "refId": "A" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "-irate(ifHCInOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "intervalFactor": 1, "legendFormat": "In: {{instance}} - {{ifName}}", "range": true }, "version": "v0" }, "refId": "B" } } ], "queryOptions": {}, "transformations": [] } }, "description": "", "id": 21, "links": [], "title": "Out / In", "vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "fieldMinMax": false, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [ { "matcher": { "id": "byValue", "options": { "op": "gte", "reducer": "allIsZero", "value": 0 } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } } ] }, { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [ "Out: 10.42.0.13 - lo" ], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": true, "viz": true } } ] } ] }, "options": { "dataLinks": [], "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } } }, "version": "12.3.0" } } }, "panel-23": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "max(irate(ifHCOutOctets{job=\"$Job\", instance=~\"$Server\", ifName=~\"$Interface\"}[5m]))", "instant": false, "legendFormat": "Out" }, "version": "v0" }, "refId": "A" } } ], "queryOptions": { "maxDataPoints": 100 }, "transformations": [] } }, "description": "", "id": 23, "links": [], "title": "Max Out (Current)", "vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "12.3.0" } } }, "panel-24": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "max(irate(ifHCInOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m]))", "legendFormat": "In", "range": true }, "version": "v0" }, "refId": "A" } } ], "queryOptions": { "maxDataPoints": 100 }, "transformations": [] } }, "description": "", "id": 24, "links": [], "title": "Max In (Current)", "vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "12.3.0" } } }, "panel-25": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "sysUpTime{job=\"$Job\"} * 10", "legendFormat": "In", "range": true }, "version": "v0" }, "refId": "A" } } ], "queryOptions": { "maxDataPoints": 100 }, "transformations": [] } }, "description": "", "id": 25, "links": [], "title": "Uptime", "vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "decimals": 1, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "ms" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "12.3.0" } } }, "panel-26": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "exemplar": false, "expr": "irate(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "format": "table", "instant": true, "legendFormat": "out", "range": false }, "version": "v0" }, "refId": "A" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "irate(ifHCInOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "format": "table", "instant": true, "legendFormat": "in" }, "version": "v0" }, "refId": "B" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "delta(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[$__range])", "format": "table", "instant": true, "legendFormat": "total out" }, "version": "v0" }, "refId": "C" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "delta(ifHCInOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[$__range])", "format": "table", "instant": true, "legendFormat": "total in" }, "version": "v0" }, "refId": "D" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "ifHighSpeed{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}", "format": "table", "instant": true, "legendFormat": "high speed" }, "version": "v0" }, "refId": "E" } } ], "queryOptions": {}, "transformations": [ { "kind": "merge", "spec": { "id": "merge", "options": { "reducers": [] } } } ] } }, "description": "", "id": 26, "links": [], "title": "Status", "vizConfig": { "group": "table", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "footer": { "reducers": [] }, "inspect": false }, "decimals": 2, "displayName": "", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Value #A" }, "properties": [ { "id": "displayName", "value": "Out" }, { "id": "unit", "value": "Bps" }, { "id": "decimals", "value": 2 }, { "id": "custom.cellOptions", "value": { "type": "color-background" } }, { "id": "custom.align" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "rgba(245, 54, 54, 0.9)", "value": 0 }, { "color": "rgba(0, 0, 0, 0)", "value": 0 }, { "color": "rgba(55, 135, 45, 0.34)", "value": 1 } ] } } ] }, { "matcher": { "id": "byName", "options": "Value #B" }, "properties": [ { "id": "displayName", "value": "In" }, { "id": "unit", "value": "Bps" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "ifName" }, "properties": [ { "id": "displayName", "value": "Name" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "ifAlias" }, "properties": [ { "id": "displayName", "value": "Alias" }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #C" }, "properties": [ { "id": "displayName", "value": "Total out" }, { "id": "unit", "value": "decbytes" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #D" }, "properties": [ { "id": "displayName", "value": "Total in" }, { "id": "unit", "value": "decbytes" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "Value #E" }, "properties": [ { "id": "displayName", "value": "Bandwidth" }, { "id": "unit", "value": "Mbits" }, { "id": "decimals", "value": 0 }, { "id": "custom.align" } ] } ] }, "options": { "cellHeight": "sm", "showHeader": true } }, "version": "12.3.0" } } }, "panel-28": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "max(delta(ifHCInOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[$__range]))", "instant": false, "legendFormat": "In" }, "version": "v0" }, "refId": "A" } } ], "queryOptions": { "maxDataPoints": 100 }, "transformations": [] } }, "description": "", "id": 28, "links": [], "title": "Total In", "vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "12.3.0" } } }, "panel-29": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "max(delta(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[$__range]))", "legendFormat": "Out", "range": true }, "version": "v0" }, "refId": "A" } } ], "queryOptions": { "maxDataPoints": 100 }, "transformations": [] } }, "description": "", "id": 29, "links": [], "title": "Total Out", "vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "decimals": 2, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "12.3.0" } } }, "panel-31": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "irate(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "intervalFactor": 1, "legendFormat": " {{instance}} - {{ifName}}", "range": true }, "version": "v0" }, "refId": "B" } } ], "queryOptions": {}, "transformations": [] } }, "description": "Max: 10MB \nRed Status: 9MB", "id": 31, "links": [], "title": "Out (Current)", "vizConfig": { "group": "bargauge", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "fieldMinMax": true, "max": 125000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "purple", "value": 0 }, { "color": "semi-dark-orange", "value": 112500000 } ] }, "unit": "Bps" }, "overrides": [] }, "options": { "displayMode": "lcd", "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" } }, "version": "12.3.0" } } }, "panel-32": { "kind": "Panel", "spec": { "data": { "kind": "QueryGroup", "spec": { "queries": [ { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "editorMode": "code", "expr": "irate(ifHCOutOctets{job=\"$Job\",instance=~\"$Server\", ifName=~\"$Interface\"}[5m])", "intervalFactor": 1, "legendFormat": " {{instance}} - {{ifName}}", "range": true }, "version": "v0" }, "refId": "B" } } ], "queryOptions": {}, "transformations": [] } }, "description": "Max: 10MB \nRed Status: 9MB", "id": 32, "links": [], "title": "In (Current)", "vizConfig": { "group": "bargauge", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "max": 125000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": 0 }, { "color": "semi-dark-orange", "value": 112500000 } ] }, "unit": "Bps" }, "overrides": [] }, "options": { "displayMode": "lcd", "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": false }, "maxVizHeight": 300, "minVizHeight": 16, "minVizWidth": 8, "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showUnfilled": true, "sizing": "auto", "valueMode": "color" } }, "version": "12.3.0" } } } }, "layout": { "kind": "GridLayout", "spec": { "items": [ { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-25" }, "height": 3, "width": 8, "x": 0, "y": 0 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-23" }, "height": 3, "width": 8, "x": 8, "y": 0 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-24" }, "height": 3, "width": 8, "x": 16, "y": 0 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-29" }, "height": 3, "width": 8, "x": 8, "y": 3 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-28" }, "height": 3, "width": 8, "x": 16, "y": 3 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-26" }, "height": 10, "width": 24, "x": 0, "y": 6 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-31" }, "height": 9, "width": 12, "x": 0, "y": 16 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-32" }, "height": 9, "width": 12, "x": 12, "y": 16 } }, { "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-21" }, "height": 10, "width": 24, "x": 0, "y": 25 } } ] } }, "links": [], "liveNow": false, "preload": false, "tags": [ "Prometheus", "snmp_exporter" ], "timeSettings": { "autoRefresh": "10s", "autoRefreshIntervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "fiscalYearStartMonth": 0, "from": "now-30m", "hideTimepicker": false, "timezone": "", "to": "now" }, "title": "SNMP Stats", "variables": [ { "kind": "QueryVariable", "spec": { "allowCustomValue": true, "current": { "text": "", "value": "" }, "definition": "label_values(ifHCInOctets, job)", "hide": "dontHide", "includeAll": false, "multi": false, "name": "Job", "options": [], "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "__legacyStringValue": "label_values(ifHCInOctets, job)" }, "version": "v0" }, "refresh": "onDashboardLoad", "regex": "", "skipUrlSync": false, "sort": "disabled" } }, { "datasource": { "name": "ef766logonklcd" }, "group": "prometheus", "kind": "AdhocVariable", "spec": { "allowCustomValue": true, "baseFilters": [], "defaultKeys": [], "filters": [], "hide": "dontHide", "name": "Filters", "skipUrlSync": false } }, { "kind": "QueryVariable", "spec": { "allowCustomValue": false, "current": { "text": "", "value": "" }, "definition": "query_result(ifOutOctets)", "hide": "dontHide", "includeAll": true, "label": "Server", "multi": true, "name": "Server", "options": [], "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "qryType": 3, "query": "query_result(ifOutOctets)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "version": "v0" }, "refresh": "onDashboardLoad", "regex": "/.*instance=\"([^\"]*).*/", "skipUrlSync": false, "sort": "alphabeticalAsc", "staticOptions": [] } }, { "kind": "QueryVariable", "spec": { "allowCustomValue": false, "current": { "text": "", "value": "" }, "definition": "query_result(ifOutOctets)", "hide": "dontHide", "includeAll": true, "multi": true, "name": "Interface", "options": [], "query": { "group": "prometheus", "kind": "DataQuery", "spec": { "qryType": 3, "query": "query_result(ifOutOctets)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "version": "v0" }, "refresh": "onDashboardLoad", "regex": "/.*ifName=\"([^\"]*).*/", "skipUrlSync": false, "sort": "disabled" } } ] }, "status": {} }