# dashboard_version

created: 2023-06-24 05:21:02
message: Refactor plex to Varken 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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":4,"w":6,"x":14,"y":8},"id":288,"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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"vertical","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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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":"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":11,"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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none"},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":6,"x":14,"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"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"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":[]},"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":34,"weekStart":""}


created: 2023-06-25 06:48:11
message: Color stats per service
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":"blue","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":6,"x":14,"y":8},"id":288,"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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"vertical","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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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\")\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":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":11,"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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none"},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":6,"x":14,"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"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"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":[]},"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":false,"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":35,"weekStart":""}


created: 2023-06-25 06:50:24
message: Step graph in wireless clients
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":"blue","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":6,"x":14,"y":8},"id":288,"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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"vertical","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: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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\")\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":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":11,"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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none"},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":6,"x":14,"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"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"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":[]},"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":"stepBefore","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":36,"weekStart":""}


created: 2023-06-26 01:25:35
message: Remove SpeedTest
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":3,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":6,"w":3,"x":3,"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.1","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":6,"y":8},"id":281,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":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.1","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":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":5,"x":15,"y":8},"id":288,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"vertical","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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":0,"y":12},"id":283,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":"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":6,"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.1","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":"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":9,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","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\")\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":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":12},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.1","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none"},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":5,"x":15,"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.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"title":"Library Storage","type":"stat"},{"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":2,"w":3,"x":3,"y":14},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.1","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"},{"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.1","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.1","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.1","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":[]},"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.1","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":"stepBefore","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":37,"weekStart":""}


created: 2023-06-26 01:37:42
message: Logarithmic 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":"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":3,"x":0,"y":8},"id":278,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":6,"w":3,"x":3,"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.1","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":6,"y":8},"id":281,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":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.1","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":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]}},"overrides":[]},"gridPos":{"h":4,"w":5,"x":15,"y":8},"id":288,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unit":"s"},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","minVizHeight":10,"minVizWidth":0,"orientation":"vertical","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"valueMode":"color"},"pluginVersion":"10.0.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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":0,"y":12},"id":283,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true},"pluginVersion":"10.0.1","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":"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":6,"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.1","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":"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":9,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","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\")\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":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null}]},"unit":"none"},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":12},"id":264,"options":{"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false},"pluginVersion":"10.0.1","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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none"},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":5,"x":15,"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.1","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"title":"Library Storage","type":"stat"},{"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":2,"w":3,"x":3,"y":14},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"text":{},"textMode":"auto"},"pluginVersion":"10.0.1","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"},{"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.1","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.1","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":"right","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":false},"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"linearThreshold":500000,"log":10,"type":"symlog"},"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.1","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":[]},"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.1","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":"stepBefore","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":38,"weekStart":""}


created: 2023-06-30 04:30:51
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"grafana","uid":"-- Grafana --"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":null,"links":[],"liveNow":false,"panels":[{"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"description":"Status from githubstatus.com","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"color-text"},"inspect":false},"mappings":[{"options":{"degraded_performance":{"color":"yellow","index":1,"text":"Degraded"},"major_outage":{"color":"red","index":3,"text":"Major Outage"},"operational":{"color":"green","index":0,"text":"Operational"},"partial_outage":{"color":"orange","index":2,"text":"Partial Outage"}},"type":"value"},{"options":{"pattern":".*www.githubstatus.com.*","result":{"index":4,"text":"Status"}},"type":"regex"}],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]}},"overrides":[]},"gridPos":{"h":12,"w":6,"x":0,"y":0},"id":1,"options":{"cellHeight":"sm","footer":{"countRows":false,"enablePagination":false,"fields":"","reducer":["sum"],"show":false},"showHeader":false,"sortBy":[{"desc":false,"displayName":"name"}]},"pluginVersion":"10.0.1","targets":[{"cacheDurationSeconds":300,"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"fields":[{"jsonPath":"$.components[*]","name":"components"}],"key":"Q-a76b0c32-7c45-4cf3-96a8-0e4fff911b15-2","method":"GET","queryParams":"","refId":"Components","urlPath":""}],"title":"GitHub Status","transformations":[{"id":"extractFields","options":{"format":"json","jsonPaths":[{"alias":"name","path":"name"},{"alias":"status","path":"status"}],"keepTime":false,"replace":true,"source":"components"}}],"type":"table"}],"refresh":"","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-6h","to":"now"},"timepicker":{},"timezone":"","title":"Remote Services","uid":"b7761407-1606-4ad1-9f82-1ba18185dc73","version":1,"weekStart":""}


created: 2023-06-30 04:31:57
message: Add GitHub section header
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"grafana","uid":"-- Grafana --"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":21,"links":[],"liveNow":false,"panels":[{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":2,"panels":[],"title":"GitHub","type":"row"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"description":"Status from githubstatus.com","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"color-text"},"inspect":false},"mappings":[{"options":{"degraded_performance":{"color":"yellow","index":1,"text":"Degraded"},"major_outage":{"color":"red","index":3,"text":"Major Outage"},"operational":{"color":"green","index":0,"text":"Operational"},"partial_outage":{"color":"orange","index":2,"text":"Partial Outage"}},"type":"value"},{"options":{"pattern":".*www.githubstatus.com.*","result":{"index":4,"text":"Status"}},"type":"regex"}],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]}},"overrides":[]},"gridPos":{"h":12,"w":6,"x":0,"y":1},"id":1,"options":{"cellHeight":"sm","footer":{"countRows":false,"enablePagination":false,"fields":"","reducer":["sum"],"show":false},"showHeader":false,"sortBy":[{"desc":false,"displayName":"name"}]},"pluginVersion":"10.0.1","targets":[{"cacheDurationSeconds":300,"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"fields":[{"jsonPath":"$.components[*]","name":"components"}],"key":"Q-a76b0c32-7c45-4cf3-96a8-0e4fff911b15-2","method":"GET","queryParams":"","refId":"Components","urlPath":""}],"title":"GitHub Status","transformations":[{"id":"extractFields","options":{"format":"json","jsonPaths":[{"alias":"name","path":"name"},{"alias":"status","path":"status"}],"keepTime":false,"replace":true,"source":"components"}}],"type":"table"}],"refresh":"","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-6h","to":"now"},"timepicker":{},"timezone":"","title":"Remote Services","uid":"b7761407-1606-4ad1-9f82-1ba18185dc73","version":2,"weekStart":""}


created: 2023-06-30 04:44:57
message: Add Simple GH Status
data:
  {"annotations":{"list":[{"builtIn":1,"datasource":{"type":"grafana","uid":"-- Grafana --"},"enable":true,"hide":true,"iconColor":"rgba(0, 211, 255, 1)","name":"Annotations \u0026 Alerts","type":"dashboard"}]},"editable":true,"fiscalYearStartMonth":0,"graphTooltip":0,"id":21,"links":[],"liveNow":false,"panels":[{"collapsed":false,"gridPos":{"h":1,"w":24,"x":0,"y":0},"id":2,"panels":[],"title":"GitHub","type":"row"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"description":"Status from githubstatus.com","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"custom":{"align":"auto","cellOptions":{"type":"color-text"},"inspect":false},"mappings":[{"options":{"degraded_performance":{"color":"yellow","index":1,"text":"Degraded"},"major_outage":{"color":"red","index":3,"text":"Major Outage"},"operational":{"color":"green","index":0,"text":"Operational"},"partial_outage":{"color":"orange","index":2,"text":"Partial Outage"}},"type":"value"},{"options":{"pattern":".*www.githubstatus.com.*","result":{"index":4,"text":"Status"}},"type":"regex"}],"thresholds":{"mode":"absolute","steps":[{"color":"text","value":null}]}},"overrides":[]},"gridPos":{"h":12,"w":6,"x":0,"y":1},"id":1,"options":{"cellHeight":"sm","footer":{"countRows":false,"enablePagination":false,"fields":"","reducer":["sum"],"show":false},"showHeader":false,"sortBy":[{"desc":false,"displayName":"name"}]},"pluginVersion":"10.0.1","targets":[{"cacheDurationSeconds":300,"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"fields":[{"jsonPath":"$.components[*]","name":"components"}],"key":"Q-a76b0c32-7c45-4cf3-96a8-0e4fff911b15-2","method":"GET","queryParams":"","refId":"Components","urlPath":""}],"title":"Component Status","transformations":[{"id":"extractFields","options":{"format":"json","jsonPaths":[{"alias":"name","path":"name"},{"alias":"status","path":"status"}],"keepTime":false,"replace":true,"source":"components"}}],"type":"table"},{"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"description":"Simple GH Status Indicator","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[{"options":{"All Systems Operational":{"color":"green","index":0,"text":"✓"},"Major Service Outage":{"color":"red","index":2,"text":"✗"},"Partial System Outage":{"color":"orange","index":1,"text":"⚠"}},"type":"value"}],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null},{"color":"red","value":80}]}},"overrides":[]},"gridPos":{"h":5,"w":4,"x":6,"y":1},"id":3,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^summary$/","values":false},"textMode":"auto"},"pluginVersion":"10.0.1","targets":[{"cacheDurationSeconds":300,"datasource":{"type":"marcusolsson-json-datasource","uid":"a872052c-1fa8-402d-859f-28aa35cc6ba8"},"fields":[{"jsonPath":"$.status.description","name":"summary"}],"hide":false,"key":"Q-d8c5dbfc-45e2-461a-b76c-1cb28b543d77-0","method":"GET","queryParams":"","refId":"Description","urlPath":""}],"title":"GitHub Status","type":"stat"}],"refresh":"","schemaVersion":38,"style":"dark","tags":[],"templating":{"list":[]},"time":{"from":"now-6h","to":"now"},"timepicker":{},"timezone":"","title":"Remote Services","uid":"b7761407-1606-4ad1-9f82-1ba18185dc73","version":3,"weekStart":""}


created: 2024-03-22 01:02:15
message: Update Unraid network 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":[],"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":{"axisBorderShow":false,"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"insertNulls":false,"lineInterpolation":"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","unitScale":true},"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":{"axisBorderShow":false,"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":false},"insertNulls":false,"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"type":"linear"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"bps","unitScale":true},"overrides":[{"matcher":{"id":"byName","options":"bytes_recv {bucket=\"unraid\", host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN in"}]},{"matcher":{"id":"byName","options":"bytes_sent {bucket=\"unraid\", host=\"mcknight-unRaid\", interface=\"bond0\", user=\"unraid\"}"},"properties":[{"id":"displayName","value":"LAN 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":"dark-blue","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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":8},"id":278,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"sizing":"auto"},"pluginVersion":"10.3.3","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","unitScale":true},"overrides":[]},"gridPos":{"h":6,"w":3,"x":3,"y":8},"id":280,"options":{"displayMode":"gradient","maxVizHeight":300,"minVizHeight":10,"minVizWidth":0,"namePlacement":"auto","orientation":"horizontal","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"sizing":"auto","valueMode":"color"},"pluginVersion":"10.3.3","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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":6,"y":8},"id":281,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"sizing":"auto"},"pluginVersion":"10.3.3","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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"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},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","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":"blue","value":null}]},"unit":"none","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":8},"id":265,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/.*/","values":false},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":5,"x":15,"y":8},"id":288,"options":{"colorMode":"value","graphMode":"area","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"stream_count\" or r[\"_field\"] == \"transcode_streams\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\r\n  |\u003e yield(name: \"last\")","refId":"A"}],"title":"Plex Streams","transformations":[{"id":"calculateField","options":{"alias":"Direct Play","binary":{"left":"stream_count {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}","operator":"-","reducer":"sum","right":"transcode_streams {name=\"Tautulli\", server=\"1\", type=\"current_stream_stats\"}"},"mode":"binary","reduce":{"reducer":"sum"}}},{"id":"renameByRegex","options":{"regex":"(transcode_streams.*)","renamePattern":"Transcoded"}},{"id":"filterFieldsByName","options":{"include":{"names":["Time","Transcoded","Direct Play"]}}}],"type":"stat"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"description":"Historic playback stats","fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"displayName":"Unknown","mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"orange","value":null}]},"unit":"s","unitScale":true},"overrides":[]},"gridPos":{"h":8,"w":4,"x":20,"y":8},"id":289,"options":{"displayMode":"gradient","maxVizHeight":300,"minVizHeight":10,"minVizWidth":0,"namePlacement":"auto","orientation":"vertical","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showUnfilled":true,"sizing":"auto","valueMode":"color"},"pluginVersion":"10.3.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: v.timeRangeStart, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e exists r.quality)\r\n  |\u003e group(columns: [\"quality\"])\r\n  |\u003e count()\r\n  |\u003e map(fn: (r) =\u003e ({r with _value: r._value * 30}))\r\n  |\u003e yield(name: \"count\")","refId":"A"}],"title":"Plex Playback","transformations":[{"id":"renameByRegex","options":{"regex":".*quality=\"(.*)\".*","renamePattern":"$1"}}],"type":"bargauge"},{"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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":12},"id":283,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^used_pct$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"sizing":"auto"},"pluginVersion":"10.3.3","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":"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","unitScale":true},"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":6,"y":12},"id":284,"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"textMode":"value_and_name","wideLayout":true},"pluginVersion":"10.3.3","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":"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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":9,"y":12},"id":285,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","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\")\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":"marcusolsson-json-datasource","uid":"df4dcd88-903c-4a4d-96a7-c6faa3486a5d"},"fieldConfig":{"defaults":{"color":{"mode":"thresholds"},"mappings":[],"min":0,"thresholds":{"mode":"absolute","steps":[{"color":"blue","value":null}]},"unit":"none","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":12,"y":12},"id":264,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^active_users$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":false,"sizing":"auto"},"pluginVersion":"10.3.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":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"fieldConfig":{"defaults":{"color":{"fixedColor":"orange","mode":"fixed"},"links":[],"mappings":[],"thresholds":{"mode":"absolute","steps":[]},"unit":"none","unitScale":true},"overrides":[{"matcher":{"id":"byName","options":"total {section_name=\"TV Shows\", section_type=\"show\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"TV Series"}]},{"matcher":{"id":"byName","options":"albums {section_name=\"Music\", section_type=\"artist\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Albums"}]},{"matcher":{"id":"byName","options":"total {section_name=\"Movies\", section_type=\"movie\", server=\"1\", type=\"library_stats\"}"},"properties":[{"id":"displayName","value":"Movies"}]}]},"gridPos":{"h":4,"w":5,"x":15,"y":12},"id":274,"links":[],"options":{"colorMode":"background","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["max"],"fields":"","values":false},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","targets":[{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"TV Shows\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"TV"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"albums\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Albums"},{"datasource":{"type":"influxdb","uid":"daffe952-cbd6-4074-9f18-924718710e39"},"hide":false,"query":"from(bucket: \"Plex\")\r\n  |\u003e range(start: 0, stop: v.timeRangeStop)\r\n  |\u003e filter(fn: (r) =\u003e r[\"_measurement\"] == \"Tautulli\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"section_name\"] == \"Movies\")\r\n  |\u003e filter(fn: (r) =\u003e r[\"_field\"] == \"total\")\r\n  |\u003e aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\r\n  |\u003e yield(name: \"mean\")","refId":"Movies"}],"title":"Library Storage","type":"stat"},{"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","unitScale":true},"overrides":[]},"gridPos":{"h":2,"w":3,"x":3,"y":14},"id":279,"options":{"colorMode":"value","graphMode":"none","justifyMode":"auto","orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showPercentChange":false,"text":{},"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","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"},{"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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":0,"y":17},"id":266,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"sizing":"auto"},"pluginVersion":"10.3.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","unitScale":true},"overrides":[]},"gridPos":{"h":4,"w":3,"x":3,"y":17},"id":268,"options":{"minVizHeight":75,"minVizWidth":75,"orientation":"auto","reduceOptions":{"calcs":["lastNotNull"],"fields":"/^CPU Use$/","values":false},"showThresholdLabels":false,"showThresholdMarkers":true,"sizing":"auto"},"pluginVersion":"10.3.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":{"axisBorderShow":false,"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"right","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"opacity","hideFrom":{"legend":false,"tooltip":false,"viz":false},"insertNulls":false,"lineInterpolation":"linear","lineWidth":1,"pointSize":5,"scaleDistribution":{"linearThreshold":500000,"log":10,"type":"symlog"},"showPoints":"never","spanNulls":false,"stacking":{"group":"A","mode":"none"},"thresholdsStyle":{"mode":"off"}},"mappings":[],"thresholds":{"mode":"absolute","steps":[{"color":"green","value":null}]},"unit":"bps","unitScale":true},"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","unitScale":true},"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},"showPercentChange":false,"textMode":"value","wideLayout":true},"pluginVersion":"10.3.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":"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}]},"unitScale":true},"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},"showPercentChange":false,"textMode":"auto","wideLayout":true},"pluginVersion":"10.3.3","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":{"axisBorderShow":false,"axisCenteredZero":false,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"insertNulls":false,"lineInterpolation":"stepBefore","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}]},"unitScale":true},"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":{"axisBorderShow":false,"axisCenteredZero":true,"axisColorMode":"text","axisLabel":"","axisPlacement":"auto","barAlignment":0,"drawStyle":"line","fillOpacity":0,"gradientMode":"none","hideFrom":{"legend":false,"tooltip":false,"viz":false},"insertNulls":false,"lineInterpolation":"linear","lineWidth":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","unitScale":true},"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":39,"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":39,"weekStart":""}


