{
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 1,
  "id": 186,
  "links": [],
  "panels": [
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "id": 331,
      "panels": [],
      "title": "„Ersteinrichtung: 1) InfluxDB auswählen, 2) Infinity-Datasource auswählen, 3) iobrokerurl prüfen. Erst danach liefern alle Panels zuverlässig Daten.“",
      "type": "row"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 1
      },
      "id": 100,
      "title": "🔍 System Übersicht",
      "type": "row"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "${DS_INFLUXDB}"
      },
      "description": "📊 Quelle: ioBrokerCPUGesamt (Summe aller Adapter-Prozesse via js-controller)\n✅ Nativ Linux & Docker: immer ioBroker-Prozess-CPU – kein Host-Wert.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 40
              },
              {
                "color": "red",
                "value": 70
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 2
      },
      "id": 1,
      "options": {
        "minVizHeight": 75,
        "minVizWidth": 75,
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "sizing": "auto"
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "CPU Gesamt",
          "datasource": {
            "type": "influxdb",
            "uid": "${DS_INFLUXDB}"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerCPUGesamt\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "CPU Gesamt",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: ioBrokerRAMGesamt (Summe aller Adapter via js-controller)\n✅ Nativ Linux & Docker: immer ioBroker-Prozess-RAM – kein Host-Wert.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 12000,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 8500
              },
              {
                "color": "red",
                "value": 10000
              }
            ]
          },
          "unit": "mbytes"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 2
      },
      "id": 2,
      "options": {
        "minVizHeight": 75,
        "minVizWidth": 75,
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "sizing": "auto"
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "RAM Gesamt",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerRAMGesamt\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "RAM Gesamt",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Berechneter Score aus CPU, RAM, Restarts, Errors und Leaks (ioBroker-Script)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "orange",
                "value": 40
              },
              {
                "color": "yellow",
                "value": 60
              },
              {
                "color": "green",
                "value": 80
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 6,
        "y": 2
      },
      "id": 3,
      "options": {
        "minVizHeight": 75,
        "minVizWidth": 75,
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true,
        "sizing": "auto"
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "System Health Score",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.SystemHealthScore\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "System Health Score",
      "type": "gauge"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: ioBroker-Script zählt Adapter-Zustände via system.adapter.*\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Critical"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "red",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Warning"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Flaky"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Disconnected"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 1
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Leaks"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 1
                    },
                    {
                      "color": "red",
                      "value": 3
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Restarts 24h"
            },
            "properties": [
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 3
                    },
                    {
                      "color": "red",
                      "value": 10
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 12,
        "x": 9,
        "y": 2
      },
      "id": 4,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "text": {
          "titleSize": 16,
          "valueSize": 18
        },
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Adapter",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.AdapterAnzahl\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Critical",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.CriticalAdaptersCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Warning",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.WarningAdaptersCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        },
        {
          "alias": "Flaky",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.FlakyAdaptersCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series"
        },
        {
          "alias": "Disconnected",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DisconnectedCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series"
        },
        {
          "alias": "Leaks",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.MemoryLeakCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series"
        },
        {
          "alias": "Restarts 24h",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.RestartCount24h\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series"
        }
      ],
      "title": "Adapter Status",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: DisabledAdaptersCount (ioBroker-Script) – Anzahl derzeit deaktivierter Adapterinstanzen.\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 1
              },
              {
                "color": "red",
                "value": 5
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 21,
        "y": 2
      },
      "id": 191,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Deaktiviert",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DisabledAdaptersCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Deaktivierte Adapter",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: CPUAlarmCounter – zählt Überschreitungen des CPU-Schwellwerts (ioBroker-Script)\n✅ Nativ Linux & Docker: bezieht sich auf ioBroker-Prozess-CPU.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "0": {
                  "color": "green",
                  "index": 0,
                  "text": "OK"
                },
                "1": {
                  "color": "yellow",
                  "index": 1,
                  "text": "WARN"
                },
                "2": {
                  "color": "red",
                  "index": 2,
                  "text": "CRIT"
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 1
              },
              {
                "color": "red",
                "value": 2
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 0,
        "y": 6
      },
      "id": 5,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "CPU Alarm",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.CPUAlarmCounter\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "CPU Alarm",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: RAMAlarmCounter – zählt Überschreitungen des RAM-Schwellwerts (ioBroker-Script)\n⚠️ Docker/Unraid: RAM-Basis kann Host-RAM sein (Node.js os.freemem() liest /proc/meminfo).",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "0": {
                  "color": "green",
                  "index": 0,
                  "text": "OK"
                },
                "1": {
                  "color": "yellow",
                  "index": 1,
                  "text": "WARN"
                },
                "2": {
                  "color": "red",
                  "index": 2,
                  "text": "CRIT"
                }
              },
              "type": "value"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 1
              },
              {
                "color": "red",
                "value": 2
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 2,
        "x": 2,
        "y": 6
      },
      "id": 6,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "RAM Alarm",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.RAMAlarmCounter\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "RAM Alarm",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: LogErrorCount / LogErrors1hTotal / LogWarns1hTotal (ioBroker-Script via Log-Analyse)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 10
              },
              {
                "color": "red",
                "value": 25
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 10,
        "x": 4,
        "y": 6
      },
      "id": 7,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Adapter mit Problemen",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogErrorCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Errors (1h)",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogErrors1hTotal\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Warnings (1h)",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogWarns1hTotal\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        }
      ],
      "title": "Log-Error Status",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: HostEventLoopLag – Node.js Event Loop Delay des js-controller Prozesses\n✅ Nativ Linux & Docker: immer ioBroker-Container-intern – zeigt ioBroker-Last, nicht Host-Last.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 50
              },
              {
                "color": "red",
                "value": 200
              }
            ]
          },
          "unit": "ms"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 14,
        "y": 6
      },
      "id": 8,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Event Loop Lag",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostEventLoopLag\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Event Loop Lag",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: HostLoadAvg – system.host.<name>.load → Node.js os.loadavg()[0]\n⚠️ Docker/Unraid: Node.js liest /proc/loadavg, das NICHT virtualisiert wird → zeigt UNRAID HOST Load Average.\n✅ Nativ Linux: korrekte ioBroker-Host-Last.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 2
              },
              {
                "color": "red",
                "value": 4
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 17,
        "y": 6
      },
      "id": 9,
      "options": {
        "colorMode": "background",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Load Avg",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostLoadAvg\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Load Average",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: HostUptimeDays – system.host.<name>.uptime → Node.js os.uptime()\n⚠️ Docker/Unraid: os.uptime() liest /proc/uptime → zeigt UNRAID HOST Uptime, nicht Container-Uptime.\n✅ Nativ Linux: korrekte Host-Uptime.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          },
          "unit": "dtdurations"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 20,
        "y": 6
      },
      "id": 90,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Uptime",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\")  * 24 * 60 * 60  FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostUptimeDays\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Host Uptime",
      "type": "stat"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 10
      },
      "id": 101,
      "title": "📈 CPU & RAM Verlauf",
      "type": "row"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: ioBrokerCPUGesamt & ioBrokerRAMGesamt (Summe aller Adapter via js-controller)\n✅ Nativ Linux & Docker: immer ioBroker-Prozess-Werte – kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "CPU Gesamt"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "CPU %"
              },
              {
                "id": "custom.axisPlacement",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "RAM Gesamt"
            },
            "properties": [
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "max",
                "value": 12000
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "RAM MB"
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 0,
        "y": 11
      },
      "id": 10,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "max",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "CPU Gesamt",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerCPUGesamt\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "RAM Gesamt",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerRAMGesamt\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        }
      ],
      "title": "ioBroker CPU & RAM Verlauf",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: SystemHealthScore, CriticalAdaptersCount, WarningAdaptersCount (ioBroker-Script)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 20,
            "gradientMode": "scheme",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 3,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "max": 100,
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "transparent",
                "value": null
              },
              {
                "color": "red",
                "value": 40
              },
              {
                "color": "yellow",
                "value": 60
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Health Score"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Critical"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              },
              {
                "id": "max",
                "value": 20
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "unit",
                "value": "none"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Warning"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 11
      },
      "id": 11,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "min",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "Health Score",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.SystemHealthScore\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Critical",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.CriticalAdaptersCount\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Warning",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.WarningAdaptersCount\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        }
      ],
      "title": "Health Score & Critical/Warning Trend",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 102,
      "title": "🖥️ Host System",
      "type": "row"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: HostCPULoad, ioBrokerCPUGesamt, HostCPUOther, HostRAMUsedPercent (ioBroker-Script)\n⚠️ Docker/Unraid: RAM = Node.js os.freemem()/totalmem() → liest /proc/meminfo → zeigt UNRAID HOST RAM.\n✅ Nativ Linux: alle Werte korrekt für den ioBroker-Host.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 15,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 90
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Host CPU"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "CPU %"
              },
              {
                "id": "custom.axisPlacement",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "ioBroker CPU"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Andere Prozesse"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "purple",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "RAM belegt %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "RAM %"
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 0,
        "y": 17
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "max",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "Host CPU",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostCPULoad\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "ioBroker CPU",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerCPUGesamt\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Andere Prozesse",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostCPUOther\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        },
        {
          "alias": "RAM belegt %",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostRAMUsedPercent\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series"
        }
      ],
      "title": "Host CPU & RAM Verlauf (nativ)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: DiskFreeMB, DiskUsedPct, HostLoadAvg, HostEventLoopLag (ioBroker-Script)\n⚠️ Docker/Unraid: Load Avg = UNRAID HOST (/proc/loadavg nicht virtualisiert). Disk = Docker-Volume-Pfad.\n✅ Nativ Linux: alle Werte korrekt für den ioBroker-Host.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 15,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Disk frei MB"
            },
            "properties": [
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "green",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisLabel",
                "value": "MB (frei)"
              },
              {
                "id": "custom.axisPlacement",
                "value": "left"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Disk belegt %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Load Avg"
            },
            "properties": [
              {
                "id": "unit",
                "value": "none"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "purple",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Event Loop Lag"
            },
            "properties": [
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 17
      },
      "id": 21,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "max",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "Disk frei MB",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DiskFreeMB\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Disk belegt %",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DiskUsedPct\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Load Avg",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostLoadAvg\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        },
        {
          "alias": "Event Loop Lag",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostEventLoopLag\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series"
        }
      ],
      "title": "Disk, Load Average & Event Loop Lag",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: HostCPULoad, ioBrokerCPUGesamt, HostRAMUsedPercent, HostRAMFreeMB, HostRAMUsedMB, DiskFreeMB, DiskUsedPct, HostLoadAvg, HostUptimeDays, HostEventLoopLag\n⚠️ Docker/Unraid: RAM, Uptime & Load Avg = UNRAID HOST-Werte (Node.js liest /proc/* ungefiltert). CPU = ioBroker-Container.\n✅ Nativ Linux: alle Werte beziehen sich korrekt auf den ioBroker-Host.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "js-controller(1 Core = 100%) CPU"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 70
                    },
                    {
                      "color": "red",
                      "value": 90
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "ioBroker CPU %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 60
                    },
                    {
                      "color": "red",
                      "value": 85
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "RAM belegt %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 70
                    },
                    {
                      "color": "red",
                      "value": 90
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "RAM frei MB"
            },
            "properties": [
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 512
                    },
                    {
                      "color": "green",
                      "value": 2048
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Disk frei MB"
            },
            "properties": [
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 10240
                    },
                    {
                      "color": "green",
                      "value": 51200
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Event Loop Lag"
            },
            "properties": [
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 50
                    },
                    {
                      "color": "red",
                      "value": 200
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 0,
        "y": 22
      },
      "id": 22,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "text": {
          "titleSize": 14,
          "valueSize": 16
        },
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "js-controller(1 Core = 100%) CPU",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostCPULoad\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "ioBroker CPU %",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.ioBrokerCPUGesamt\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "RAM belegt %",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostRAMUsedPercent\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        },
        {
          "alias": "RAM frei MB",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostRAMFreeMB\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "D",
          "resultFormat": "time_series"
        },
        {
          "alias": "Disk frei MB",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DiskFreeMB\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "F",
          "resultFormat": "time_series"
        },
        {
          "alias": "Event Loop Lag",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostEventLoopLag\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "J",
          "resultFormat": "time_series"
        }
      ],
      "title": "Host System Aktuell",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: RAM genutzt MB, Disk belegt %, Load Avg 1min, Host Uptime (ioBroker-Script)\n⚠️ Docker/Unraid: RAM, Uptime & Load Avg können Host-Werte sein.\n✅ Nativ Linux: Werte beziehen sich auf den ioBroker-Host.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "RAM genutzt MB"
            },
            "properties": [
              {
                "id": "unit",
                "value": "mbytes"
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Disk belegt %"
            },
            "properties": [
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 70
                    },
                    {
                      "color": "red",
                      "value": 90
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Load Avg 1min"
            },
            "properties": [
              {
                "id": "unit",
                "value": "none"
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 2
                    },
                    {
                      "color": "red",
                      "value": 4
                    }
                  ]
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Host Uptime"
            },
            "properties": [
              {
                "id": "unit",
                "value": "dtdurations"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 12,
        "x": 12,
        "y": 22
      },
      "id": 223,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "text": {
          "titleSize": 14,
          "valueSize": 16
        },
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "RAM genutzt MB",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostRAMUsedMB\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "E",
          "resultFormat": "time_series"
        },
        {
          "alias": "Disk belegt %",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DiskUsedPct\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "G",
          "resultFormat": "time_series"
        },
        {
          "alias": "Load Avg 1min",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostLoadAvg\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "H",
          "resultFormat": "time_series"
        },
        {
          "alias": "Host Uptime",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\")  * 24 * 60 * 60  FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.HostUptimeDays\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "I",
          "resultFormat": "time_series"
        }
      ],
      "title": "Host System Zusatz",
      "type": "stat"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 28
      },
      "id": 103,
      "title": "🔁 Restart & Stabilität",
      "type": "row"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: RestartCount24h, FlakyAdaptersCount (ioBroker-Script)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 80,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 3
              },
              {
                "color": "red",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Restarts 24h"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Flaky Adapter"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 9,
        "x": 0,
        "y": 29
      },
      "id": 30,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "max"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "Restarts 24h",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT sum(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.RestartEventPulse\"\nWHERE $timeFilter\nGROUP BY time($__interval) fill(0)\n",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Flaky Adapter",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT sum(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.FlakyEventPulse\"\nWHERE $timeFilter\nGROUP BY time($__interval) fill(0)\n",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        }
      ],
      "title": "Restart & Flaky Adapter Trend",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: FlakyAdapters JSON (ioBroker REST API)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine instabilen Adapter ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 220
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "restarts24h"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Restarts 24h"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 3
                    },
                    {
                      "color": "red",
                      "value": 5
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "restarts7d"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Restarts 7d"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "restarts30d"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Restarts 30d"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 4,
        "w": 5,
        "x": 9,
        "y": 29
      },
      "id": 31,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, restarts24h, restarts7d, restarts30d | order by restarts24h desc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.FlakyAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "🔁 Flaky Adapter (instabil)",
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: CronRestartCount (ioBroker-Script) – Anzahl Adapter mit restartSchedule.\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 5
              },
              {
                "color": "red",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 14,
        "y": 29
      },
      "id": 320,
      "options": {
        "colorMode": "background",
        "graphMode": "none",
        "justifyMode": "center",
        "orientation": "vertical",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "showPercentChange": false,
        "textMode": "value_and_name",
        "wideLayout": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Cron Restarts",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT last(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.CronRestartCount\" WHERE $timeFilter",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Geplante Cron-Restarts",
      "type": "stat"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: CronRestartAdapters JSON (ioBroker REST API) – Adapter mit restartSchedule.\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine geplanten Cron-Restarts konfiguriert ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 220
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "nextRestartAt"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Nächster Restart"
              },
              {
                "id": "custom.width",
                "value": 220
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "nextRestartTime"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Uhrzeit"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "restartSchedule"
            },
            "properties": [
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "nextRestartIso"
            },
            "properties": [
              {
                "id": "custom.hidden",
                "value": true
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 7,
        "x": 17,
        "y": 29
      },
      "id": 321,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | jsonata \"val\" | parse-json\r\n\r\n\r\n\r\n\r\n",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.CronRestartAdaptersDetailed",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "🔁 Geplante Cron-Restarts (Adapter)",
      "type": "table"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 36
      },
      "id": 104,
      "title": "📋 Top 5",
      "type": "row"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: Top5CPU JSON (ioBroker REST API) – Top 5 Adapter nach CPU-Verbrauch\n✅ Nativ Linux & Docker: ioBroker-Adapter-CPU – kein Host-Wert.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cpu"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "CPU %"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "lcd",
                  "type": "gauge"
                }
              },
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 15
              },
              {
                "id": "decimals",
                "value": 2
              },
              {
                "id": "custom.width",
                "value": 300
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 5
                    },
                    {
                      "color": "red",
                      "value": 10
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 37
      },
      "id": 40,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, cpu | order by cpu desc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.Top5CPU",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "Top 5 CPU Verbraucher",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: Top5RAM JSON (ioBroker REST API) – Top 5 Adapter nach RAM-Verbrauch\n✅ Nativ Linux & Docker: ioBroker-Adapter-RAM (process.memoryUsage()) – kein Host-Wert.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "ram"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "RAM MB"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "mode": "lcd",
                  "type": "gauge"
                }
              },
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "max",
                "value": 800
              },
              {
                "id": "decimals",
                "value": 0
              },
              {
                "id": "custom.width",
                "value": 300
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 250
                    },
                    {
                      "color": "red",
                      "value": 500
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 6,
        "y": 37
      },
      "id": 41,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, ram | order by ram desc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.Top5RAM",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "Top 5 RAM Verbraucher",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: Top5ErrorAdapters JSON (ioBroker REST API) – Adapter mit höchsten Error/Warn-Raten\n✅ Nativ Linux & Docker: rein ioBroker Log-basiert, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine Adapter mit erhöhten Error-Raten ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 180
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "errors1h"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Errors/h"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 10
                    },
                    {
                      "color": "red",
                      "value": 25
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "warns1h"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Warns/h"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 50
                    },
                    {
                      "color": "red",
                      "value": 100
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 12,
        "y": 37
      },
      "id": 42,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, errors1h, warns1h | order by errors1h desc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.Top5ErrorAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "Top 5 Error-Adapter",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: DegradedAdapters JSON (ioBroker REST API) – Adapter mit degradierter Laufzeit trotz alive=true; kombiniert Errors1h, CPU, RAM und Event Loop Lag.\n✅ Sortierung nach Errors1h absteigend.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine degradierten Adapter ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 220
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "errors1h"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Errors 1h"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 10
                    },
                    {
                      "color": "red",
                      "value": 20
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "cpu"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "CPU %"
              },
              {
                "id": "unit",
                "value": "percent"
              },
              {
                "id": "decimals",
                "value": 2
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 5
                    },
                    {
                      "color": "red",
                      "value": 10
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "ram"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "RAM MB"
              },
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "decimals",
                "value": 0
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 250
                    },
                    {
                      "color": "red",
                      "value": 500
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 110
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "eventLoopLag"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Lag ms"
              },
              {
                "id": "unit",
                "value": "ms"
              },
              {
                "id": "decimals",
                "value": 0
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 50
                    },
                    {
                      "color": "red",
                      "value": 200
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 18,
        "y": 37
      },
      "id": 73,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, errors1h, cpu, ram, eventLoopLag | order by errors1h desc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.Top5DegradedAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "⚠️ Top 5 Degraded Adapter",
      "type": "table"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 44
      },
      "id": 105,
      "title": "❤️ Adapter Health Scores",
      "type": "row"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: Worst Performers JSON (ioBroker REST API)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine Daten",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Adapter"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Score"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Score"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 50
                    },
                    {
                      "color": "yellow",
                      "value": 70
                    },
                    {
                      "color": "green",
                      "value": 90
                    }
                  ]
                }
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Grade"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Grade"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 6,
        "x": 0,
        "y": 45
      },
      "id": 50,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [
            {
              "selector": "name",
              "text": "Adapter",
              "type": "string"
            },
            {
              "selector": "grade",
              "text": "Grade",
              "type": "string"
            },
            {
              "selector": "score",
              "text": "Score",
              "type": "number"
            }
          ],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | limit 10",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.WorstAdapters ",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "🏆 Worst Performers",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: Best Performers JSON (ioBroker REST API)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine Daten",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Adapter"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 200
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Score"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Score"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 50
                    },
                    {
                      "color": "yellow",
                      "value": 70
                    },
                    {
                      "color": "green",
                      "value": 90
                    }
                  ]
                }
              },
              {
                "id": "max",
                "value": 100
              },
              {
                "id": "min",
                "value": 0
              },
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Grade"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Grade"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 6,
        "x": 6,
        "y": 45
      },
      "id": 51,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [
            {
              "selector": "name",
              "text": "Adapter",
              "type": "string"
            },
            {
              "selector": "grade",
              "text": "Grade",
              "type": "string"
            },
            {
              "selector": "score",
              "text": "Score",
              "type": "number"
            }
          ],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | limit 10",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.BestAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "⭐ Best Performers",
      "type": "table"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 53
      },
      "id": 106,
      "title": "🚨 Memory Leak Detection & Error Trend",
      "type": "row"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: MemoryLeakSuspects JSON (ioBroker REST API) – RAM-Wachstumsanalyse pro Adapter\n✅ Nativ Linux & Docker: ioBroker-Adapter process.memoryUsage() – kein Host-Einfluss.\nℹ️ Mindestens 20h History erforderlich.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Kein Memory-Leak erkannt (mind. 20h History nötig) ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 160
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "currentRAM"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "RAM MB"
              },
              {
                "id": "unit",
                "value": "mbytes"
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "growthRate"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Growth MB/h"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "green",
                      "value": null
                    },
                    {
                      "color": "yellow",
                      "value": 5
                    },
                    {
                      "color": "red",
                      "value": 15
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 120
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "confidence"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Confidence"
              },
              {
                "id": "mappings",
                "value": [
                  {
                    "options": {
                      "high": {
                        "color": "red",
                        "index": 2,
                        "text": "HIGH"
                      },
                      "low": {
                        "color": "yellow",
                        "index": 0,
                        "text": "LOW"
                      },
                      "medium": {
                        "color": "orange",
                        "index": 1,
                        "text": "MEDIUM"
                      }
                    },
                    "type": "value"
                  }
                ]
              },
              {
                "id": "custom.width",
                "value": 100
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "daysUntilCritical"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Tage bis Kritisch"
              },
              {
                "id": "unit",
                "value": "d"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    },
                    {
                      "color": "orange",
                      "value": 7
                    },
                    {
                      "color": "yellow",
                      "value": 30
                    },
                    {
                      "color": "green",
                      "value": 90
                    }
                  ]
                }
              },
              {
                "id": "custom.width",
                "value": 130
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 0,
        "y": 54
      },
      "id": 60,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.MemoryLeakAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "🚨 Memory Leak Detection Advanced",
      "type": "table"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quellen: LogErrors1hTotal, LogWarns1hTotal, LogErrorCount (ioBroker-Script)\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 20,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 2,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Errors 1h"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.lineWidth",
                "value": 3
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Warnings 1h"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Adapter mit Problemen"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.axisPlacement",
                "value": "right"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 8,
        "y": 54
      },
      "id": 61,
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "alias": "Errors 1h",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogErrors1hTotal\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        },
        {
          "alias": "Warnings 1h",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogWarns1hTotal\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "B",
          "resultFormat": "time_series"
        },
        {
          "alias": "Adapter mit Problemen",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.LogErrorCount\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "C",
          "resultFormat": "time_series"
        }
      ],
      "title": "Error & Warning Trend (24h)",
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "influxdb",
        "uid": "$DS_INFLUXDB"
      },
      "description": "📊 Quelle: DegradedAdaptersCount (ioBroker-Script) – Verlauf degradierter Adapter über die Zeit.\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisBorderShow": false,
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 35,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "insertNulls": false,
            "lineInterpolation": "smooth",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "yellow",
                "value": 1
              },
              {
                "color": "orange",
                "value": 3
              },
              {
                "color": "red",
                "value": 5
              }
            ]
          },
          "unit": "none"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Degraded Adapter"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              },
              {
                "id": "max",
                "value": 10
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 16,
        "y": 54
      },
      "id": 330,
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull",
            "max",
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "alias": "Degraded Adapter",
          "datasource": {
            "type": "influxdb",
            "uid": "$DS_INFLUXDB"
          },
          "query": "SELECT mean(\"value\") FROM \"0_userdata.0.Systeminfos.ioBroker.Prozesse.DegradedAdaptersCount\" WHERE $timeFilter GROUP BY time($__interval) fill(none)",
          "rawQuery": true,
          "refId": "A",
          "resultFormat": "time_series"
        }
      ],
      "title": "Degraded Adapter Trend",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": {
        "h": 1,
        "w": 24,
        "x": 0,
        "y": 60
      },
      "id": 107,
      "title": "🔌 Disconnected & Deadlock Adapter",
      "type": "row"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: DisconnectedAdapters JSON (ioBroker REST API) – Adapter mit connected=false\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Alle Adapter verbunden ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 250
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "adapter"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Typ"
              },
              {
                "id": "custom.width",
                "value": 150
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "instance"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Instanz"
              },
              {
                "id": "custom.width",
                "value": 80
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 0,
        "y": 61
      },
      "id": 70,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, adapter, instance",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.DisconnectedAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "🔌 Offline & Disconnected Adapter",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: DeadlockAdapters JSON (ioBroker REST API) – Adapter mit alive=true aber connected=false\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Kein Deadlock erkannt ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Value"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter alive=true, connected=false"
              },
              {
                "id": "custom.cellOptions",
                "value": {
                  "type": "color-background"
                }
              },
              {
                "id": "thresholds",
                "value": {
                  "mode": "absolute",
                  "steps": [
                    {
                      "color": "red",
                      "value": null
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 8,
        "y": 61
      },
      "id": 71,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.DeadlockAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "💀 Deadlock Adapter",
      "type": "table"
    },
    {
      "datasource": {
        "type": "yesoreyeram-infinity-datasource",
        "uid": "$DS_INFINITY"
      },
      "description": "📊 Quelle: DisabledAdapters JSON (ioBroker REST API) – deaktivierte Adapterinstanzen mit Name, Modus und Titel.\n✅ Nativ Linux & Docker: rein ioBroker-intern, kein Host-Einfluss.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "custom": {
            "align": "auto",
            "cellOptions": {
              "type": "auto"
            },
            "inspect": false
          },
          "mappings": [],
          "noValue": "Keine deaktivierten Adapter ✓",
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "name"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Adapter"
              },
              {
                "id": "custom.width",
                "value": 220
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "mode"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Modus"
              },
              {
                "id": "custom.width",
                "value": 110
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "title"
            },
            "properties": [
              {
                "id": "displayName",
                "value": "Titel"
              },
              {
                "id": "custom.width",
                "value": 260
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 9,
        "w": 8,
        "x": 16,
        "y": 61
      },
      "id": 172,
      "options": {
        "cellHeight": "sm",
        "footer": {
          "countRows": false,
          "fields": "",
          "reducer": [
            "sum"
          ],
          "show": false
        },
        "showHeader": true
      },
      "pluginVersion": "10.4.10",
      "targets": [
        {
          "columns": [],
          "datasource": {
            "type": "yesoreyeram-infinity-datasource",
            "uid": "$DS_INFINITY"
          },
          "filters": [],
          "format": "table",
          "global_query_id": "my-query-1",
          "parser": "backend",
          "refId": "A",
          "root_selector": "val",
          "source": "url",
          "type": "json",
          "uql": "parse-json | project name, mode, title | order by name asc",
          "url": "${iobroker_url}/v1/state/0_userdata.0.Systeminfos.ioBroker.Prozesse.DisabledAdapters",
          "url_options": {
            "data": "",
            "method": "GET"
          }
        }
      ],
      "title": "⏸️ Deaktivierte Adapter",
      "type": "table"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 39,
  "tags": [
    "ioBroker",
    "Monitoring",
    "v4.6.0",
    "degraded-diagnose",
    "trend"
  ],
  "templating": {
    "list": [
      {
        "current": {
          "selected": false,
          "text": "InfluxDB-collectd",
          "value": "000000018"
        },
        "hide": 1,
        "includeAll": false,
        "multi": false,
        "name": "DS_INFLUXDB",
        "options": [],
        "query": "influxdb",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": {
          "selected": false,
          "text": "Infinity",
          "value": "TSXuFY0Vz"
        },
        "hide": 1,
        "includeAll": false,
        "multi": false,
        "name": "DS_INFINITY",
        "options": [],
        "query": "yesoreyeram-infinity-datasource",
        "queryValue": "",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": {
          "selected": true,
          "text": "http://10.1.1.10:8093",
          "value": "http://10.1.1.10:8093"
        },
        "hide": 1,
        "name": "iobroker_url",
        "options": [
          {
            "selected": true,
            "text": "http://10.1.1.10:8093",
            "value": "http://10.1.1.10:8093"
          }
        ],
        "query": "http://10.1.1.10:8093",
        "skipUrlSync": false,
        "type": "textbox"
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "Europe/Berlin",
  "title": "ioBroker Prozess Monitor v4.6.0 - Final",
  "uid": "iobroker-prozess-monitor-v4-6-0-final",
  "version": 4,
  "weekStart": ""
}