# dashboard_version

created: 2023-06-17 02:45:44
message: re-enable time range picker
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"}) / (node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"$node\",job=\"$job\"} - node_boot_time_seconds{instance=\"$node\",job=\"$job\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"libraryPanel":{"name":"Filesystem space available","uid":"a37e4e22-4f9d-4ad1-bc3b-d6e0abaa7953"},"title":"Filesystem space available"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[{"current":{"selected":false,"text":"default","value":"default"},"hide":0,"includeAll":false,"label":"datasource","multi":false,"name":"DS_PROMETHEUS","options":[],"query":"prometheus","queryValue":"","refresh":1,"regex":"","skipUrlSync":false,"type":"datasource"},{"current":{"selected":false,"text":"unraid_prometheus","value":"unraid_prometheus"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"","hide":0,"includeAll":false,"label":"Job","multi":false,"name":"job","options":[],"query":{"query":"label_values(node_uname_info, job)","refId":"Prometheus-job-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"192.168.1.100:9100","value":"192.168.1.100:9100"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"label_values(node_uname_info{job=\"$job\"}, instance)","hide":0,"includeAll":false,"label":"Host:","multi":false,"name":"node","options":[],"query":{"query":"label_values(node_uname_info{job=\"$job\"}, instance)","refId":"Prometheus-node-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+","value":"[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+"},"hide":2,"includeAll":false,"multi":false,"name":"diskdevices","options":[{"selected":true,"text":"[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+","value":"[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+"}],"query":"[a-z]+|nvme[0-9]+n[0-9]+|mmcblk[0-9]+","skipUrlSync":false,"type":"custom"}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":21,"weekStart":""}


created: 2023-06-17 02:46:27
message: Remove unused variables
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} - node_memory_MemFree_bytes{instance=\"$node\",job=\"$job\"}) / (node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"$node\",job=\"$job\"} * 100) / node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"$node\",job=\"$job\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"$node\",job=\"$job\"} - node_boot_time_seconds{instance=\"$node\",job=\"$job\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"libraryPanel":{"name":"Filesystem space available","uid":"a37e4e22-4f9d-4ad1-bc3b-d6e0abaa7953"},"title":"Filesystem space available"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"$node\",job=\"$job\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[{"current":{"selected":false,"text":"unraid_prometheus","value":"unraid_prometheus"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"","hide":0,"includeAll":false,"label":"Job","multi":false,"name":"job","options":[],"query":{"query":"label_values(node_uname_info, job)","refId":"Prometheus-job-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":false,"text":"192.168.1.100:9100","value":"192.168.1.100:9100"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"label_values(node_uname_info{job=\"$job\"}, instance)","hide":0,"includeAll":false,"label":"Host:","multi":false,"name":"node","options":[],"query":{"query":"label_values(node_uname_info{job=\"$job\"}, instance)","refId":"Prometheus-node-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-1h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":22,"weekStart":""}


created: 2023-06-17 02:52:41
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"libraryPanel":{"name":"Filesystem space available","uid":"a37e4e22-4f9d-4ad1-bc3b-d6e0abaa7953"},"title":"Filesystem space available"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[{"current":{"selected":true,"text":"unraid_prometheus","value":"unraid_prometheus"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"","hide":0,"includeAll":false,"label":"Job","multi":false,"name":"job","options":[],"query":{"query":"label_values(node_uname_info, job)","refId":"Prometheus-job-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":true,"text":"192.168.1.100:9100","value":"192.168.1.100:9100"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"label_values(node_uname_info{job=\"unraid_prometheus\"},instance)","hide":0,"includeAll":false,"label":"Host:","multi":false,"name":"node","options":[],"query":{"query":"label_values(node_uname_info{job=\"unraid_prometheus\"},instance)","refId":"PrometheusVariableQueryEditor-VariableQuery"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":23,"weekStart":""}


created: 2023-06-17 02:52:57
message: hard-coded params
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)"},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"libraryPanel":{"name":"Filesystem space available","uid":"a37e4e22-4f9d-4ad1-bc3b-d6e0abaa7953"},"title":"Filesystem space available"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green"}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green"}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green"},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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"},{"color":"red","value":80}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text"}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green"}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green"},{"color":"red","value":80}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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"}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[{"current":{"selected":true,"text":"unraid_prometheus","value":"unraid_prometheus"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"","hide":0,"includeAll":false,"label":"Job","multi":false,"name":"job","options":[],"query":{"query":"label_values(node_uname_info, job)","refId":"Prometheus-job-Variable-Query"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false},{"current":{"selected":true,"text":"192.168.1.100:9100","value":"192.168.1.100:9100"},"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"definition":"label_values(node_uname_info{job=\"unraid_prometheus\"},instance)","hide":0,"includeAll":false,"label":"Host:","multi":false,"name":"node","options":[],"query":{"query":"label_values(node_uname_info{job=\"unraid_prometheus\"},instance)","refId":"PrometheusVariableQueryEditor-VariableQuery"},"refresh":1,"regex":"","skipUrlSync":false,"sort":1,"tagValuesQuery":"","tagsQuery":"","type":"query","useTags":false}]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":24,"weekStart":""}


created: 2023-06-17 02:54:57
message: Fix lib panel
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"libraryPanel":{"name":"Filesystem space available","uid":"a37e4e22-4f9d-4ad1-bc3b-d6e0abaa7953"},"title":"Filesystem space available"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":25,"weekStart":""}


created: 2023-06-17 02:56:24
message: Update CPU panel
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[{"icon":"external link","tags":[],"targetBlank":true,"title":"GitHub","type":"link","url":"https://github.com/rfmoz/grafana-dashboards"},{"icon":"external link","tags":[],"targetBlank":true,"title":"Grafana","type":"link","url":"https://grafana.com/grafana/dashboards/1860"}],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"libraryPanel":{"name":"CPU Percent","uid":"e9ab5de7-0e3c-4cfe-b0c8-7593ccac382a"},"title":"CPU Percent"},{"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"libraryPanel":{"name":"Network Traffic","uid":"c0f857fc-4766-435c-8d4f-8b12996248e8"},"title":"Network Traffic"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"/mnt/cache - Available"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"/mnt/user - Available"},"properties":[{"id":"displayName","value":"Storage"}]}]},"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"builder","expr":"node_filesystem_avail_bytes{instance=\"192.168.1.100:9100\", device=~\"/dev/nvme0n1p1|shfs\", mountpoint!~\"/mnt/user0\", job=\"unraid_prometheus\"}","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Available","metric":"","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Free","refId":"B","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Size","refId":"C","step":240}],"title":"Filesystem space available","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":26,"weekStart":""}


created: 2023-06-17 02:59:11
message: Remove Links
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Busy state of all CPU cores together","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":85},{"color":"rgba(245, 54, 54, 0.9)","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"(sum by(instance) (irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\", mode!=\"idle\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])))) * 100","hide":false,"intervalFactor":1,"legendFormat":"","range":true,"refId":"A","step":240}],"title":"CPU Percent","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisGridShow":true,"axisLabel":"bits out (-) / in (+)","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"receive_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"receive_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byRegexp","options":"/.*Trans.*/"},"properties":[{"id":"custom.transform","value":"negative-Y"}]},{"matcher":{"id":"byRegexp","options":"/br.*|veth.*|eth.*|docker.*|tunl.*|vnet.*|lo.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]}]},"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"links":[],"options":{"legend":{"calcs":["mean","lastNotNull","max","min"],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"multi","sort":"none"}},"pluginVersion":"9.2.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"irate(node_network_receive_bytes_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Receive","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"irate(node_network_transmit_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Transmit","refId":"B","step":240}],"title":"Network Traffic","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"/mnt/cache - Available"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"/mnt/user - Available"},"properties":[{"id":"displayName","value":"Storage"}]}]},"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"builder","expr":"node_filesystem_avail_bytes{instance=\"192.168.1.100:9100\", device=~\"/dev/nvme0n1p1|shfs\", mountpoint!~\"/mnt/user0\", job=\"unraid_prometheus\"}","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Available","metric":"","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Free","refId":"B","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Size","refId":"C","step":240}],"title":"Filesystem space available","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * 10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] == \"em1\" or r[\"interface\"] == \"em1.107\" or r[\"interface\"] == \"em1.100\" or r[\"interface\"] == \"em1.30\" or r[\"interface\"] == \"em1.20\" or r[\"interface\"] == \"em1.40\" or r[\"interface\"] == \"em1.50\" or r[\"interface\"] == \"em2\" or r[\"interface\"] == \"em3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -10 }))\r\n  |\u003e derivative(unit: 1s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":27,"weekStart":""}


created: 2023-06-18 17:23:15
message: Simplify and fix math errors in pfSense network graph
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Busy state of all CPU cores together","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":85},{"color":"rgba(245, 54, 54, 0.9)","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"(sum by(instance) (irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\", mode!=\"idle\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])))) * 100","hide":false,"intervalFactor":1,"legendFormat":"","range":true,"refId":"A","step":240}],"title":"CPU Percent","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisGridShow":true,"axisLabel":"bits out (-) / in (+)","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"receive_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"receive_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byRegexp","options":"/.*Trans.*/"},"properties":[{"id":"custom.transform","value":"negative-Y"}]},{"matcher":{"id":"byRegexp","options":"/br.*|veth.*|eth.*|docker.*|tunl.*|vnet.*|lo.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]}]},"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"links":[],"options":{"legend":{"calcs":["mean","lastNotNull","max","min"],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"multi","sort":"none"}},"pluginVersion":"9.2.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"irate(node_network_receive_bytes_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Receive","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"irate(node_network_transmit_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Transmit","refId":"B","step":240}],"title":"Network Traffic","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"/mnt/cache - Available"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"/mnt/user - Available"},"properties":[{"id":"displayName","value":"Storage"}]}]},"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"builder","expr":"node_filesystem_avail_bytes{instance=\"192.168.1.100:9100\", device=~\"/dev/nvme0n1p1|shfs\", mountpoint!~\"/mnt/user0\", job=\"unraid_prometheus\"}","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Available","metric":"","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Free","refId":"B","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Size","refId":"C","step":240}],"title":"Filesystem space available","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":28,"weekStart":""}


created: 2023-06-18 18:52:32
message: remove unused threshold
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Busy state of all CPU cores together","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":85},{"color":"rgba(245, 54, 54, 0.9)","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":5,"w":12,"x":0,"y":1},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"(sum by(instance) (irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\", mode!=\"idle\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])))) * 100","hide":false,"intervalFactor":1,"legendFormat":"","range":true,"refId":"A","step":240}],"title":"CPU Percent","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisGridShow":true,"axisLabel":"bits out (-) / in (+)","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"receive_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"receive_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_eth0"},"properties":[{"id":"color","value":{"fixedColor":"#7EB26D","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"transmit_packets_lo"},"properties":[{"id":"color","value":{"fixedColor":"#E24D42","mode":"fixed"}}]},{"matcher":{"id":"byRegexp","options":"/.*Trans.*/"},"properties":[{"id":"custom.transform","value":"negative-Y"}]},{"matcher":{"id":"byRegexp","options":"/br.*|veth.*|eth.*|docker.*|tunl.*|vnet.*|lo.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]}]},"gridPos":{"h":5,"w":12,"x":12,"y":1},"id":84,"links":[],"options":{"legend":{"calcs":["mean","lastNotNull","max","min"],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"multi","sort":"none"}},"pluginVersion":"9.2.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"irate(node_network_receive_bytes_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Receive","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"irate(node_network_transmit_bytes_total{instance=\"$node\",job=\"$job\"}[$__rate_interval])*8","format":"time_series","intervalFactor":1,"legendFormat":"{{device}} - Transmit","refId":"B","step":240}],"title":"Network Traffic","type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":6},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":6},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":6},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"/mnt/cache - Available"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"/mnt/user - Available"},"properties":[{"id":"displayName","value":"Storage"}]}]},"gridPos":{"h":4,"w":6,"x":9,"y":6},"id":263,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"builder","expr":"node_filesystem_avail_bytes{instance=\"192.168.1.100:9100\", device=~\"/dev/nvme0n1p1|shfs\", mountpoint!~\"/mnt/user0\", job=\"unraid_prometheus\"}","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Available","metric":"","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Free","refId":"B","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Size","refId":"C","step":240}],"title":"Filesystem space available","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":9,"x":15,"y":6},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total number of CPU cores","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"short"},"overrides":[]},"gridPos":{"h":2,"w":3,"x":6,"y":8},"id":14,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"count(count(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) by (cpu))","interval":"","intervalFactor":1,"legendFormat":"","refId":"A","step":240}],"title":"CPU Cores","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":10},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":3,"y":10},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":9,"y":10},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":14},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":15},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":15},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":15},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":19},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":19},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":23},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":23},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":29,"weekStart":""}


created: 2023-06-19 16:04:08
message: Update unRaid Influxdb
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Busy state of all CPU cores together","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":40,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":85},{"color":"rgba(245, 54, 54, 0.9)","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":1},"id":20,"links":[],"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"pluginVersion":"9.5.3","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"(sum by(instance) (irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\", mode!=\"idle\"}[$__rate_interval])) / on(instance) group_left sum by (instance)((irate(node_cpu_seconds_total{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}[$__rate_interval])))) * 100","hide":false,"intervalFactor":1,"legendFormat":"","range":true,"refId":"A","step":240}],"title":"CPU Percent","type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG in"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG out"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":1},"id":277,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Rack UPS Status","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":80},{"color":"green","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"battery_charge_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"percent\")\r\n","refId":"A"}],"title":"UPS","transformations":[{"id":"concatenate","options":{}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Drive Temperatures","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":70,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":60}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":2,"y":8},"id":280,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device\"] =~ /^nvme.*|sd.*$/ )\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_c\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e last()\r\n  |\u003e yield(name: \"last\")","refId":"A"},{"datasource":{"name":"Expression","type":"__expr__","uid":"__expr__"},"expression":"A","hide":false,"reducer":"last","refId":"B","type":"reduce"}],"title":"Drive Temps","transformations":[{"id":"labelsToFields","options":{"keepLabels":["device"],"valueLabel":"device"}},{"id":"filterFieldsByName","options":{"include":{"pattern":"/^smart_device.*$/"}}}],"type":"bargauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Non available RAM memory","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"rgba(50, 172, 45, 0.97)","value":null},{"color":"rgba(237, 129, 40, 0.89)","value":80},{"color":"rgba(245, 54, 54, 0.9)","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":5,"y":8},"hideTimeOverride":false,"id":16,"links":[],"options":{"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"((node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_memory_MemFree_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}) / (node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} )) * 100","format":"time_series","hide":true,"intervalFactor":1,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"100 - ((node_memory_MemAvailable_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} * 100) / node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"})","format":"time_series","hide":false,"intervalFactor":1,"refId":"B","step":240}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Total RAM","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":7,"y":8},"id":75,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_memory_MemTotal_bytes{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"RAM Total","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":9,"y":8},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"} - node_boot_time_seconds{instance=\"192.168.1.100:9100\",job=\"unraid_prometheus\"}","intervalFactor":1,"refId":"A","step":240}],"title":"Uptime","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"/mnt/cache - Available"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"/mnt/user - Available"},"properties":[{"id":"displayName","value":"Storage"}]}]},"gridPos":{"h":4,"w":5,"x":11,"y":8},"id":263,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"builder","expr":"node_filesystem_avail_bytes{instance=\"192.168.1.100:9100\", device=~\"/dev/nvme0n1p1|shfs\", mountpoint!~\"/mnt/user0\", job=\"unraid_prometheus\"}","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Available","metric":"","range":true,"refId":"A","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_free_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Free","refId":"B","step":240},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"expr":"node_filesystem_size_bytes{instance=\"$node\",job=\"$job\",device!~'rootfs'}","format":"time_series","hide":true,"intervalFactor":1,"legendFormat":"{{mountpoint}} - Size","refId":"C","step":240}],"title":"Filesystem space available","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":8,"x":16,"y":8},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UPS Runtime Remaining","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":5},{"color":"green","value":15}]},"unit":"ns"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":12},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"time_left_ns\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Runtime","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":5,"y":12},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":7,"y":12},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":6,"x":10,"y":12},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":16},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":17},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":17},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":17},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":21},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":21},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":25},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":25},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":30,"weekStart":""}


created: 2023-06-19 19:20:10
message: Refactor unRaid to Telegraph/Influx
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Total CPU load percentage","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"smooth","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":80},{"color":"red","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":1},"id":282,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"cpu\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: 100.0 - r._value}))\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"free\")","refId":"A"}],"title":"CPU Load","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG in"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG out"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":1},"id":277,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Rack UPS Status","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":80},{"color":"green","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"battery_charge_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"percent\")\r\n","refId":"A"}],"title":"UPS","transformations":[{"id":"concatenate","options":{}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Drive Temperatures","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":70,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":60}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":2,"y":8},"id":280,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device\"] =~ /^nvme.*|sd.*$/ )\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_c\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e last()\r\n  |\u003e yield(name: \"last\")","refId":"A"},{"datasource":{"name":"Expression","type":"__expr__","uid":"__expr__"},"expression":"A","hide":false,"reducer":"last","refId":"B","type":"reduce"}],"title":"Drive Temps","transformations":[{"id":"labelsToFields","options":{"keepLabels":["device"],"valueLabel":"device"}},{"id":"filterFieldsByName","options":{"include":{"pattern":"/^smart_device.*$/"}}}],"type":"bargauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Reported average CPU temperature","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":5,"y":8},"id":281,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"chip\"] == \"k10temp-pci-00c3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_input\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"feature\"] == \"tctl\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Temp","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":7,"y":8},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Uptime","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":11,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":14,"y":8},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":8,"x":16,"y":8},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UPS Runtime Remaining","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":5},{"color":"green","value":15}]},"unit":"ns"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":12},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"time_left_ns\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Runtime","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"unRaid array storage state","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"free {device=\"nvme0n1p1\", fstype=\"btrfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/cache\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"free {device=\"shfs\", fstype=\"fuse.shfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/user0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Store"}]}]},"gridPos":{"h":4,"w":3,"x":2,"y":12},"id":284,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value_and_name"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"disk\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"free\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"path\"] == \"/mnt/cache\" or r[\"path\"] == \"/mnt/user0\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"unRaid Array","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"RAM usage percent","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":1,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"#EAB839","value":80},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"percentunit"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":5,"y":12},"id":283,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\" or r[\"_field\"] == \"used\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"mem\")","refId":"A"}],"title":"RAM","transformations":[{"id":"calculateField","options":{"alias":"used_pct","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"total {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"},"mode":"binary","reduce":{"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"used_mib","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"1024"},"mode":"binary","reduce":{"include":["used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"],"reducer":"lastNotNull"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Number of running Docker containers","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"green","value":15}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":7,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"docker\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"n_containers_running\" or r[\"_field\"] == \"n_containers\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Docker","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName","options":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}"},"configRefId":"A","mappings":[{"fieldName":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}","handlerKey":"max"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":5,"x":11,"y":12},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":16},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":17},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":2,"y":17},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":20,"x":4,"y":17},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":21},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":2,"x":2,"y":21},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"sum(unifipoller_device_stations{station_type=\"user\"})","legendFormat":"__auto","range":true,"refId":"A"}],"title":"UniFi","type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"auto","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}]}},"overrides":[{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Livingroom\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Living Room"}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"guest\", type=\"uap\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"{__name__=\"unifipoller_device_stations\", instance=\"https://unifi.mcknight.tech\", job=\"unraid_unifi\", name=\"Upstairs\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", station_type=\"user\", type=\"uap\"}"},"properties":[{"id":"displayName","value":"Upstairs"}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":25},"id":272,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_device_stations{site_name=~\"Default \\\\(default\\\\)\",name=~\"(Livingroom|Upstairs)\"}","legendFormat":"__auto","range":true,"refId":"A"}],"title":"AP Connections","transformations":[{"id":"calculateField","options":{}}],"type":"timeseries"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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","value":null}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/^lan.*|www.*|wan.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"wlan Tx"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":25},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_transmit_rate_bytes{}*-1","legendFormat":"{{subsystem}} Tx","range":true,"refId":"Transmit"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"editorMode":"code","expr":"unifipoller_site_receive_rate_bytes{}*1","hide":false,"legendFormat":"{{subsystem}} Rx","range":true,"refId":"Receive"}],"title":"UniFi Traffic","type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":31,"weekStart":""}


created: 2023-06-19 21:03:03
message: Update Unifi graphs to Influx
data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Total CPU load percentage","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"smooth","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":80},{"color":"red","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":1},"id":282,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"cpu\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: 100.0 - r._value}))\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"free\")","refId":"A"}],"title":"CPU Load","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG in"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG out"}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":1},"id":277,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Rack UPS Status","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":80},{"color":"green","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"battery_charge_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"percent\")\r\n","refId":"A"}],"title":"UPS","transformations":[{"id":"concatenate","options":{}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Drive Temperatures","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":70,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":60}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":2,"y":8},"id":280,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device\"] =~ /^nvme.*|sd.*$/ )\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_c\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e last()\r\n  |\u003e yield(name: \"last\")","refId":"A"},{"datasource":{"name":"Expression","type":"__expr__","uid":"__expr__"},"expression":"A","hide":false,"reducer":"last","refId":"B","type":"reduce"}],"title":"Drive Temps","transformations":[{"id":"labelsToFields","options":{"keepLabels":["device"],"valueLabel":"device"}},{"id":"filterFieldsByName","options":{"include":{"pattern":"/^smart_device.*$/"}}}],"type":"bargauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Reported average CPU temperature","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":5,"y":8},"id":281,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"chip\"] == \"k10temp-pci-00c3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_input\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"feature\"] == \"tctl\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Temp","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":8,"y":8},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Uptime","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":11,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":14,"y":8},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":8,"x":16,"y":8},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UPS Runtime Remaining","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":5},{"color":"green","value":15}]},"unit":"ns"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":12},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"time_left_ns\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Runtime","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"unRaid array storage state","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"free {device=\"nvme0n1p1\", fstype=\"btrfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/cache\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"free {device=\"shfs\", fstype=\"fuse.shfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/user0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Store"}]}]},"gridPos":{"h":4,"w":3,"x":2,"y":12},"id":284,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value_and_name"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"disk\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"free\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"path\"] == \"/mnt/cache\" or r[\"path\"] == \"/mnt/user0\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"unRaid Array","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"RAM usage percent","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":1,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"#EAB839","value":80},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"percentunit"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":5,"y":12},"id":283,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\" or r[\"_field\"] == \"used\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"mem\")","refId":"A"}],"title":"RAM","transformations":[{"id":"calculateField","options":{"alias":"used_pct","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"total {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"},"mode":"binary","reduce":{"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"used_mib","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"1024"},"mode":"binary","reduce":{"include":["used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"],"reducer":"lastNotNull"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Number of running Docker containers","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"green","value":15}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":8,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"docker\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"n_containers_running\" or r[\"_field\"] == \"n_containers\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Docker","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName","options":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}"},"configRefId":"A","mappings":[{"fieldName":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}","handlerKey":"max"}]}}],"type":"stat"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":5,"x":11,"y":12},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(library_storage_total{job=~\".+\", instance=~\".+\", server=~\".+\"}) by (library)","format":"time_series","intervalFactor":2,"legendFormat":"{{library}}","range":true,"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":16},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":17},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":2,"y":17},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":20,"x":4,"y":17},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":21},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[{"matcher":{"id":"byName","options":""},"properties":[]}]},"gridPos":{"h":4,"w":2,"x":2,"y":21},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"num_user\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"subsystem\"] == \"wlan\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"UniFi","transformations":[],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Wireless client connections over time","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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}]}},"overrides":[{"__systemRef":"hideSeriesFrom","matcher":{"id":"byNames","options":{"mode":"exclude","names":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"prefix":"All except:","readOnly":true}},"properties":[{"id":"custom.hideFrom","value":{"legend":false,"tooltip":false,"viz":false}}]},{"matcher":{"id":"byRegexp","options":"/^user-num_sta.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":25},"id":286,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"user-num_sta\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"device_name\"] =~ /^Livingroom|Upstairs$/)\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"Wireless Clients","transformations":[{"id":"calculateField","options":{"mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"108\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}},{"id":"calculateField","options":{"alias":"Livingroom","mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}},{"id":"calculateField","options":{"alias":"Upstairs","mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}}],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/.*_bytes-r.*|tx_positive/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"rx Total"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"tx Total"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":25},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] =~ /^*x_bytes-r$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device_name\"] =~ /^Livingroom|Upstairs$/)\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"UniFi Traffic","transformations":[{"id":"calculateField","options":{"alias":"rx Total","mode":"reduceRow","reduce":{"include":["rx_bytes-r {device_name=\"Livingroom\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Livingroom Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}","rx_bytes-r {device_name=\"Upstairs\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Upstairs Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}"],"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"tx_positive","mode":"reduceRow","reduce":{"include":["tx_bytes-r {device_name=\"Livingroom\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Livingroom Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}","tx_bytes-r {device_name=\"Upstairs\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Upstairs Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}"],"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"tx Total","binary":{"left":"tx_positive","operator":"*","reducer":"sum","right":"-1"},"mode":"binary","reduce":{"include":["tx_positive"],"reducer":"lastNotNull"}}}],"type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":32,"weekStart":""}


created: 2023-06-19 22:57:08
message:
  Add speedtest cards
  Update unifi to Influxdb

data:
  {"annotations":{"list":[{"$$hashKey":"object:1058","builtIn":1,"datasource":{"type":"datasource","uid":"grafana"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","target":{"limit":100,"matchAny":false,"tags":[],"type":"dashboard"},"type":"dashboard"}]},"description":"Dashboard for unRaid server","editable":true,"fiscalYearStartMonth":0,"gnetId":1860,"graphTooltip":1,"id":2,"links":[],"liveNow":true,"panels":[{"collapsed":false,"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":261,"panels":[],"targets":[{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"refId":"A"}],"title":"unRaid Server","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Total CPU load percentage","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"smooth","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":80},{"color":"red","value":90}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":7,"w":12,"x":0,"y":1},"id":282,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":false},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"cpu\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: 100.0 - r._value}))\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"free\")","refId":"A"}],"title":"CPU Load","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG in"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"mcknight-unRaid\", interface=\"wg0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"WG out"}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WG out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":1},"id":277,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^bond0|wg0$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Rack UPS Status","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"#EAB839","value":80},{"color":"green","value":95}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"battery_charge_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"percent\")\r\n","refId":"A"}],"title":"UPS","transformations":[{"id":"concatenate","options":{}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Drive Temperatures","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":70,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":60}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":2,"y":8},"id":280,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device\"] =~ /^nvme.*|sd.*$/ )\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_c\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e last()\r\n  |\u003e yield(name: \"last\")","refId":"A"},{"datasource":{"name":"Expression","type":"__expr__","uid":"__expr__"},"expression":"A","hide":false,"reducer":"last","refId":"B","type":"reduce"}],"title":"Drive Temps","transformations":[{"id":"labelsToFields","options":{"keepLabels":["device"],"valueLabel":"device"}},{"id":"filterFieldsByName","options":{"include":{"pattern":"/^smart_device.*$/"}}}],"type":"bargauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Reported average CPU temperature","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"max":100,"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"celsius"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":5,"y":8},"id":281,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"chip\"] == \"k10temp-pci-00c3\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"temp_input\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"feature\"] == \"tctl\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Temp","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[{"options":{"match":"null","result":{"text":"N/A"}},"type":"special"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"s"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":8,"y":8},"hideTimeOverride":true,"id":15,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"none","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Uptime","type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"description":"Nextcloud file stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":11,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"hide":true,"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"Shares","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"Files"}],"hide":false,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Files","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"stat"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":14,"y":8},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.0","targets":[{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.activeUsers.last1hour","name":"active_users","type":"number"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_users","language":"jsonpath","name":"total_users","type":"number"}],"key":"Q-16fc1097-b66e-4c28-9c65-1050aac86dff-0","method":"GET","queryParams":"","refId":"Users","urlPath":""},{"cacheDurationSeconds":3600,"datasource":{"type":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fields":[{"jsonPath":"$.ocs.data.nextcloud.storage.num_storages","name":"num_storage"},{"jsonPath":"$.ocs.data.nextcloud.storage.num_files","language":"jsonpath","name":"num_files"}],"hide":true,"key":"Q-5a719b42-3fc3-4b54-9b28-6ac20d6b0670-2","method":"GET","queryParams":"","refId":"Shares","urlPath":""}],"title":"Nextcloud Users","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName"},"configRefId":"Users","mappings":[{"fieldName":"total_users","handlerKey":"max"},{"fieldName":"active_users","handlerKey":"field.value"}]}}],"type":"gauge"},{"datasource":{"type":"prometheus","uid":"b7714932-1a4b-4dad-90dc-6d788bda8e19"},"description":"Playback duration by source resolution","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","fillOpacity":80,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineWidth":1,"scaleDistribution":{"type":"linear"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":8,"x":16,"y":8},"id":275,"options":{"barRadius":0,"barWidth":0.97,"fullHighlight":false,"groupWidth":0.7,"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"orientation":"auto","reduceOptions":{"calcs":["max"]},"showValue":"never","stacking":"normal","tooltip":{"mode":"single","sort":"none"},"xTickLabelRotation":0,"xTickLabelSpacing":0},"targets":[{"datasource":{"uid":"$datasource"},"editorMode":"code","expr":"sum(increase(\n  label_replace(\n  label_replace(\n      play_seconds_total{stream_type!=\"\", stream_file_resolution!=\"\"}\n  , \"res\", \"$1\", \"stream_file_resolution\", \"(.*)\")\n  , \"res\", \"${1}p\", \"stream_file_resolution\", \"^([0-9]+)$\")\n  \n[$__interval:])) by (stream_type, res)\n","format":"time_series","interval":"5m","intervalFactor":2,"legendFormat":"{{res}}","range":true,"refId":"A"}],"title":"Plex Playback","transformations":[{"id":"reduce","options":{"labelsToFields":true,"reducers":["sum"]}},{"id":"sortBy","options":{"fields":{},"sort":[{"desc":true,"field":"Total"}]}},{"id":"groupingToMatrix","options":{"columnField":"stream_type","rowField":"res","valueField":"Total"}}],"type":"barchart"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UPS Runtime Remaining","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":5},{"color":"green","value":15}]},"unit":"ns"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":12},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"apcupsd\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"time_left_ns\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Runtime","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"unRaid array storage state","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":53687091200},{"color":"green","value":107374182400}]},"unit":"bytes"},"overrides":[{"matcher":{"id":"byName","options":"free {device=\"nvme0n1p1\", fstype=\"btrfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/cache\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Cache"}]},{"matcher":{"id":"byName","options":"free {device=\"shfs\", fstype=\"fuse.shfs\", host=\"mcknight-unRaid\", mode=\"rw\", path=\"/mnt/user0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"Store"}]}]},"gridPos":{"h":4,"w":3,"x":2,"y":12},"id":284,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value_and_name"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"disk\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"free\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"path\"] == \"/mnt/cache\" or r[\"path\"] == \"/mnt/user0\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"unRaid Array","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"RAM usage percent","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":1,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"#EAB839","value":80},{"color":"orange","value":85},{"color":"red","value":95}]},"unit":"percentunit"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":5,"y":12},"id":283,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\" or r[\"_field\"] == \"used\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"mem\")","refId":"A"}],"title":"RAM","transformations":[{"id":"calculateField","options":{"alias":"used_pct","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"total {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"},"mode":"binary","reduce":{"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"used_mib","binary":{"left":"used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}","operator":"/","reducer":"sum","right":"1024"},"mode":"binary","reduce":{"include":["used {host=\"mcknight-unRaid\", name=\"mem\", user=\"unraid\"}"],"reducer":"lastNotNull"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Number of running Docker containers","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"green","value":15}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":8,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unraid\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"docker\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"n_containers_running\" or r[\"_field\"] == \"n_containers\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Docker","transformations":[{"id":"configFromData","options":{"applyTo":{"id":"byName","options":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}"},"configRefId":"A","mappings":[{"fieldName":"n_containers {engine_host=\"mcknight-unRaid\", host=\"mcknight-unRaid\", server_version=\"20.10.21\", user=\"unraid\"}","handlerKey":"max"}]}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"bytes"},"overrides":[]},"gridPos":{"h":4,"w":5,"x":11,"y":12},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"refId":"A"}],"title":"Library Storage","type":"stat"},{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":16},"id":267,"panels":[],"title":"Network","type":"row"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"System memory use","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":0,"mappings":[],"max":100,"min":0,"thresholds":{"mode":"percentage","steps":[{"color":"green","value":null},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":17},"id":266,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-25ab41b1-3183-41af-8ec0-ba264f350c02-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"mem\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"used_percent\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"RAM Used","type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Firewall CPU Usage","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"decimals":1,"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"#EAB839","value":50},{"color":"red","value":80}]},"unit":"percent"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":2,"y":17},"id":268,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-4ea200ed-1883-4a67-b7e7-ba5c0e1e571b-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"cpu\"] == \"cpu-total\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"usage_idle\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"CPU Percent","transformations":[{"id":"calculateField","options":{"alias":"CPU Use","binary":{"left":"100","operator":"-","reducer":"sum","right":"usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"},"mode":"binary","reduce":{"include":["usage_idle {cpu=\"cpu-total\", host=\"pfsense.mcknight\"}"],"reducer":"sum"},"replaceFields":false}}],"type":"gauge"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Speedtest.net results","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"red","value":null},{"color":"orange","value":100000000},{"color":"#EAB839","value":200000000},{"color":"green","value":500000000}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byRegexp","options":"/download.*/"},"properties":[{"id":"displayName","value":"Download"}]},{"matcher":{"id":"byRegexp","options":"/upload.*/"},"properties":[{"id":"displayName","value":"Upload"}]}]},"gridPos":{"h":8,"w":2,"x":4,"y":17},"id":287,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"speedtest\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"speed_test_results\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"download\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"Download"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"speedtest\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"speed_test_results\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"upload\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"Upload"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":true,"query":"from(bucket: \"speedtest\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"speed_test_results\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"ping\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Ping"}],"title":"Internet","transformations":[{"id":"merge","options":{}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"bps"},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN in"}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP in"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_recv {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em2\"}"},"properties":[{"id":"displayName","value":"LAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.100\"}"},"properties":[{"id":"displayName","value":"VSEC out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.107\"}"},"properties":[{"id":"displayName","value":"VIOT out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em3\"}"},"properties":[{"id":"displayName","value":"WAN out"}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.20\"}"},"properties":[{"id":"displayName","value":"VSEA out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.30\"}"},"properties":[{"id":"displayName","value":"VTOR out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.40\"}"},"properties":[{"id":"displayName","value":"VLON out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1.50\"}"},"properties":[{"id":"displayName","value":"VJAP out"},{"id":"custom.hideFrom","value":{"legend":true,"tooltip":false,"viz":true}}]},{"matcher":{"id":"byName","options":"bytes_sent {host=\"pfsense.mcknight\", interface=\"em1\"}"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"VSEC in"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VSEC out"},"properties":[{"id":"color","value":{"fixedColor":"red","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT in"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"VIOT out"},"properties":[{"id":"color","value":{"fixedColor":"purple","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN in"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"LAN out"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN in"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"WAN out"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":8,"w":18,"x":6,"y":17},"id":269,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"key":"Q-75f582fa-7618-4b63-9d4e-7f91169e62bc-0","query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_recv\")\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Received"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"interface\"] =~ /^em1|em1.107|em1.100|em1.30|em1.20|em1.40|em1.50|em2|em3$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"bytes_sent\")\r\n  |\u003e map(fn: (r) =\u003e ({ r with _value: r._value * -1 }))\r\n  |\u003e derivative(unit: 10s, nonNegative: false)\r\n  |\u003e yield(name: \"derivative\")","refId":"Sent"}],"title":"Network Activity","transformations":[],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"pfSense uptime","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]},"unit":"dtdurations"},"overrides":[]},"gridPos":{"h":4,"w":2,"x":0,"y":21},"id":270,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"value"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"pfSense\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"system\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"uptime\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e limit(n: 5)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"pfSense","type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Number of connected clients","fieldConfig":{"defaults":{"color":{"fixedColor":"blue","mode":"fixed"},"decimals":0,"displayName":"Clients","mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]}},"overrides":[{"matcher":{"id":"byName","options":""},"properties":[]}]},"gridPos":{"h":4,"w":2,"x":2,"y":21},"id":271,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.0","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"num_user\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"subsystem\"] == \"wlan\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"UniFi","transformations":[],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Wireless client connections over time","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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}]}},"overrides":[{"__systemRef":"hideSeriesFrom","matcher":{"id":"byNames","options":{"mode":"exclude","names":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"prefix":"All except:","readOnly":true}},"properties":[{"id":"custom.hideFrom","value":{"legend":false,"tooltip":false,"viz":false}}]},{"matcher":{"id":"byRegexp","options":"/^user-num_sta.*/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]}]},"gridPos":{"h":7,"w":12,"x":0,"y":25},"id":286,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"bottom","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"user-num_sta\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"device_name\"] =~ /^Livingroom|Upstairs$/)\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"Wireless Clients","transformations":[{"id":"calculateField","options":{"mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"108\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}},{"id":"calculateField","options":{"alias":"Livingroom","mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Livingroom\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}},{"id":"calculateField","options":{"alias":"Upstairs","mode":"reduceRow","reduce":{"include":["user-num_sta {channel=\"108\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"na\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}","user-num_sta {channel=\"8\", device_name=\"Upstairs\", name=\"uap_radios\", radio=\"ng\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\"}"],"reducer":"sum"}}}],"type":"timeseries"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"UniFi Wireless Traffic","fieldConfig":{"defaults":{"color":{"mode":"palette-classic"},"custom":{"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":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}]},"unit":"decbytes"},"overrides":[{"matcher":{"id":"byRegexp","options":"/.*_bytes-r.*|tx_positive/"},"properties":[{"id":"custom.hideFrom","value":{"legend":true,"tooltip":true,"viz":true}}]},{"matcher":{"id":"byName","options":"rx Total"},"properties":[{"id":"color","value":{"fixedColor":"blue","mode":"fixed"}}]},{"matcher":{"id":"byName","options":"tx Total"},"properties":[{"id":"color","value":{"fixedColor":"orange","mode":"fixed"}}]}]},"gridPos":{"h":7,"w":12,"x":12,"y":25},"id":273,"options":{"legend":{"calcs":[],"displayMode":"list","placement":"right","showLegend":true},"tooltip":{"mode":"single","sort":"none"}},"targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"unifi\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] =~ /^*x_bytes-r$/)\r\n  |\u003e filter(fn: (r) =\u003e r[\"device_name\"] =~ /^Livingroom|Upstairs$/)\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"A"}],"title":"UniFi Traffic","transformations":[{"id":"calculateField","options":{"alias":"rx Total","mode":"reduceRow","reduce":{"include":["rx_bytes-r {device_name=\"Livingroom\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Livingroom Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}","rx_bytes-r {device_name=\"Upstairs\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Upstairs Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}"],"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"tx_positive","mode":"reduceRow","reduce":{"include":["tx_bytes-r {device_name=\"Livingroom\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Livingroom Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}","tx_bytes-r {device_name=\"Upstairs\", flowctrl_rx=\"false\", flowctrl_tx=\"false\", media=\"GE\", name=\"usw_ports\", port_id=\"Upstairs Port 1\", port_idx=\"1\", port_poe=\"false\", site_name=\"Default (default)\", source=\"https://unifi.mcknight.tech\", type=\"uap\"}"],"reducer":"sum"},"replaceFields":false}},{"id":"calculateField","options":{"alias":"tx Total","binary":{"left":"tx_positive","operator":"*","reducer":"sum","right":"-1"},"mode":"binary","reduce":{"include":["tx_positive"],"reducer":"lastNotNull"}}}],"type":"timeseries"}],"refresh":"5s","revision":1,"schemaVersion":38,"style":"dark","tags":["linux"],"templating":{"list":[]},"time":{"from":"now-12h","to":"now"},"timepicker":{"hidden":false,"refresh_intervals":["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options":["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone":"browser","title":"Server Dashboard","uid":"rYdddlPWk","version":33,"weekStart":""}


