NEWS
[Aufruf] Neuer Adapter Ubuntu-Monitor
-
Funktioniert der Adapter denn prinzipiell auch bei Virtueller Maschine?
Ich habe Ubuntu als proxmox VM laufen.
Adapter läuft und hat irgendwann auch unter Objekte etwas angelegt. Aber ohne Werte.
Temepartur hatte ich nur am Anfang drin, steht ja dabei, dass nicht bei VM funktioniert.ubuntu.0 2019-02-11 13:42:29.067 info GPIO ports are not configured ubuntu.0 2019-02-11 13:42:22.769 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:42:16.990 info GPIO ports are not configured ubuntu.0 2019-02-11 13:42:10.026 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:41:58.543 error No Value found for soc_temp ubuntu.0 2019-02-11 13:40:59.039 info GPIO ports are not configured ubuntu.0 2019-02-11 13:40:59.036 error No Value found for soc_temp ubuntu.0 2019-02-11 13:40:51.320 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:40:31.823 error No Value found for disk_available ubuntu.0 2019-02-11 13:40:31.822 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:40:31.822 error No Value found for disk_used ubuntu.0 2019-02-11 13:40:31.821 error No Value found for disk_total ubuntu.0 2019-02-11 13:39:31.519 error No Value found for disk_available ubuntu.0 2019-02-11 13:39:31.519 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:39:31.518 error No Value found for disk_used ubuntu.0 2019-02-11 13:39:31.518 error No Value found for disk_total ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_available ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_used ubuntu.0 2019-02-11 13:38:31.199 error No Value found for disk_total ubuntu.0 2019-02-11 13:37:30.851 error No Value found for disk_available ubuntu.0 2019-02-11 13:37:30.851 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:37:30.850 error No Value found for disk_used ubuntu.0 2019-02-11 13:37:30.850 error No Value found for disk_total ubuntu.0 2019-02-11 13:36:30.575 error No Value found for disk_available ubuntu.0 2019-02-11 13:36:30.575 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:36:30.574 error No Value found for disk_used ubuntu.0 2019-02-11 13:36:30.573 error No Value found for disk_total ubuntu.0 2019-02-11 13:35:30.296 error No Value found for disk_available ubuntu.0 2019-02-11 13:35:30.295 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:35:30.295 error No Value found for disk_used ubuntu.0 2019-02-11 13:35:30.294 error No Value found for disk_total ubuntu.0 2019-02-11 13:34:30.474 info GPIO ports are not configured
-
@Diginix said in [Aufruf] Neuer Adapter Ubuntu-Monitor:
@Hiltex
Vielen Dank für den Adapter! Bin von einem RPi 3 auf einen Beelink BT3 umgezogen und habe das Hardware Monitoring schon vermisst.
Mein BT3 hat einen 64 GB emmc Speicher der als mmcbl statt sd? gemountet ist.
Kannst du dafür auch noch eine Option einbauen?Ist die CPU Frequenz nur für den ersten Kern oder über alle (in meinem Fall 4) gemittelt?
Das Modul funktioniert so, dass einfach Shell-Befehle abgesetzt werden und das Ergebnis mittel RegEx geparst wird. Im Prinzip ist also alles möglich, jedoch im aktuellen Stand nicht dynamisch, sondern statisch eingebaut und entweder an oder aus.
Gib doch auf der Kommandozeile mal bitte df ein und poste den Output hier.
-
@lobomau said in [Aufruf] Neuer Adapter Ubuntu-Monitor:
Funktioniert der Adapter denn prinzipiell auch bei Virtueller Maschine?
Ich habe Ubuntu als proxmox VM laufen.
Adapter läuft und hat irgendwann auch unter Objekte etwas angelegt. Aber ohne Werte.
Temepartur hatte ich nur am Anfang drin, steht ja dabei, dass nicht bei VM funktioniert.ubuntu.0 2019-02-11 13:42:29.067 info GPIO ports are not configured ubuntu.0 2019-02-11 13:42:22.769 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:42:16.990 info GPIO ports are not configured ubuntu.0 2019-02-11 13:42:10.026 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:41:58.543 error No Value found for soc_temp ubuntu.0 2019-02-11 13:40:59.039 info GPIO ports are not configured ubuntu.0 2019-02-11 13:40:59.036 error No Value found for soc_temp ubuntu.0 2019-02-11 13:40:51.320 info starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.ubuntu, node: v8.15.0 ubuntu.0 2019-02-11 13:40:31.823 error No Value found for disk_available ubuntu.0 2019-02-11 13:40:31.822 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:40:31.822 error No Value found for disk_used ubuntu.0 2019-02-11 13:40:31.821 error No Value found for disk_total ubuntu.0 2019-02-11 13:39:31.519 error No Value found for disk_available ubuntu.0 2019-02-11 13:39:31.519 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:39:31.518 error No Value found for disk_used ubuntu.0 2019-02-11 13:39:31.518 error No Value found for disk_total ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_available ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:38:31.200 error No Value found for disk_used ubuntu.0 2019-02-11 13:38:31.199 error No Value found for disk_total ubuntu.0 2019-02-11 13:37:30.851 error No Value found for disk_available ubuntu.0 2019-02-11 13:37:30.851 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:37:30.850 error No Value found for disk_used ubuntu.0 2019-02-11 13:37:30.850 error No Value found for disk_total ubuntu.0 2019-02-11 13:36:30.575 error No Value found for disk_available ubuntu.0 2019-02-11 13:36:30.575 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:36:30.574 error No Value found for disk_used ubuntu.0 2019-02-11 13:36:30.573 error No Value found for disk_total ubuntu.0 2019-02-11 13:35:30.296 error No Value found for disk_available ubuntu.0 2019-02-11 13:35:30.295 error No Value found for disk_used_percent ubuntu.0 2019-02-11 13:35:30.295 error No Value found for disk_used ubuntu.0 2019-02-11 13:35:30.294 error No Value found for disk_total ubuntu.0 2019-02-11 13:34:30.474 info GPIO ports are not configured
Mein ioBroker lauft auch unter einer VM, es spricht also nichts dagegen. Prinzipiell können alle Werte angezeigt werden, für die es auch Sensoren gibt.
Werden denn bei dir garkeine Werte angezeigt? Zumindest für sda1 müsste es doch einen Wert geben, oder? -
@Hiltex said in [Aufruf] Neuer Adapter Ubuntu-Monitor:
für die es auch Sensoren gibt.
Das ist genau der Punkt.
Für Temperatur gibt es in der VM keine SensorenWenn du Proxmox für deine VMs nutzst kannst du das Wichtigste über den Proxmox-Adapter einlesen.
Gruß
Rainer -
@Hiltex said in [Aufruf] Neuer Adapter Ubuntu-Monitor:
Gib doch auf der Kommandozeile mal bitte df ein und poste den Output hier.
Da steht ebenso mmcblk
-
Da steht mmcblk0p2.
Ich füge das mal hinzu. -
Das dürfte dann auch für die Armbian Ubuntu versionen passen, da sieht es genauso aus (glaube ich)
Gruß
Rainer -
Ja, na p1 ist halt der efi Block. Aber generell werden die emmc wohl als "mmcblk0" gemoutet und dann halt je nach Partition ein p1-n dahinter.
Besteht die Möglichkeit die CPU Frequenz in MHz statt in GHz zu bekommen?
-
Die Abfrage von mmcblk0p2 habe ich eingebaut.
Die Anzeige der CPU-Frequenz habe ich von GHz auf MHz geändert, allerdings werden auf meiner Testmaschine trotzdem GHz angezeigt. Könnt ihr mal prüfen, ob das bei euch auch so ist? -
Perfekt!
emmc Speicher Werte funktionieren nun. CPU Freq ist immer noch in GHz.
Spielt aber eigentlich keine Rolle. Die wichtigen Parameter sind für mich Temp, Load, RAM und Plattenplatz. Und die habe ich dank dem Adapter nun auch für mein Xubuntu.Achja was mir noch aufgefallen war, dass die Datentypen der Datenpunkte alle mixed sind, obwohl es ja oft Zahlen (type=number) sind. Bei viele Werten habe ich zusätzlich bei den Datenpunkten noch eine Einheit definiert (RAM unit="MB", CPU unit="°C" usw.).
K.a. ob sowas auch mit in den Adapter übernommen werden kann."name": "ubuntu.0.temperature.soc_temp", "state": "state", "role": "value", "type": "number", "unit": "°C",