NEWS
Überwachung der IOB-Hardware - welcher Adapter ?
-
Moin,
ich suche wie blöde einen Adapter mit dem ich mir die Sensoren (CPU-Temp, S.M.A.R.T, usw.) anzeigen /überwachen kann.
Habe einen kleinen Dell Wyse 5070:System Info: Plattform: linux Betriebssystem: linux Architektur: x64 CPUs: 4 Geschwindigkeit: 2496 MHz Modell: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz RAM: 7.3 GB System-Betriebszeit: 00:38:22 Node.js: v18.20.2 time: 1715247339465 timeOffset: -120 NPM: 10.5.0 Adapter-Anzahl: 539 Datenträgergröße: 232.2 GB Freier Festplattenspeicher: 224.3 GB Aktive Instanzen: 7 Pfad: /opt/iobroker/ Betriebszeit: 00:38:12 aktiv:
Habe schon Systeminfo, Moma, Linux-Monitor probiert.
Bringt mir nicht das gewünschte.
Habt Ihr einen Tip ??
Danke -
@friedhofsblond die wichtigsten Daten findest du unter
system.host....
alles andere ist zieml7ch systemabhängig, so dass du es selber aus dem Basissystem, ggf. mit Zusatzprogrammen unter Linux, auslesen musst.
z.B.
wobei das auch über Linux control klappen müsste.
-
Ich mache auch viel mit Linux-Control.
Mit dem sensors Befehl bekommt man zB recht viel ausgelesen. Nur leider muss man recht die Ergebnisse mit awk auseinandernehmen.david@pve:~# sensors nvme-pci-0100 Adapter: PCI adapter Composite: +44.9°C (low = -273.1°C, high = +81.8°C) (crit = +84.8°C) Sensor 1: +44.9°C (low = -273.1°C, high = +65261.8°C) Sensor 2: +51.9°C (low = -273.1°C, high = +65261.8°C) coretemp-isa-0000 Adapter: ISA adapter Package id 0: +47.0°C (high = +80.0°C, crit = +100.0°C) Core 0: +42.0°C (high = +80.0°C, crit = +100.0°C) Core 1: +42.0°C (high = +80.0°C, crit = +100.0°C) Core 2: +45.0°C (high = +80.0°C, crit = +100.0°C) Core 3: +46.0°C (high = +80.0°C, crit = +100.0°C)
david@pve:~# sensors | grep "Package id 0" | awk '{print $4}' | sed 's/[+-]//; s/°C//' 47.0
Bei smart geht sowas:
david@pve:~# smartctl -a /dev/sda smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.8.4-2-pve] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: SAMSUNG MZ7L3480HCHQ-00A07 Serial Number: S664NN0W719339 LU WWN Device Id: 5 002538 fa3751edf Firmware Version: JXTC404Q User Capacity: 480,103,981,056 bytes [480 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: Solid State Device Form Factor: 2.5 inches TRIM Command: Available, deterministic, zeroed Device is: Not in smartctl database 7.3/5319 ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Thu May 9 17:54:25 2024 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 0) seconds. Offline data collection capabilities: (0x53) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 35) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 9 Power_On_Hours 0x0032 098 098 000 Old_age Always - 5347 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 31 177 Wear_Leveling_Count 0x0013 099 099 005 Pre-fail Always - 66 179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0 180 Unused_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 437 181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0 182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0 183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0 184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0032 052 044 000 Old_age Always - 48 194 Temperature_Celsius 0x0022 052 044 000 Old_age Always - 48 (Min/Max 24/56) 195 Hardware_ECC_Recovered 0x001a 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0 199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0 202 Unknown_SSD_Attribute 0x0033 100 100 010 Pre-fail Always - 0 235 Unknown_Attribute 0x0012 099 099 000 Old_age Always - 13 241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 9810851161 242 Total_LBAs_Read 0x0032 099 099 000 Old_age Always - 9265472468 243 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 244 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 245 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 65535 246 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 65535 247 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 65535 251 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 10324541696 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing 256 0 65535 Read_scanning was never started Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
david@pve:~# smartctl -a /dev/sda | grep "SMART overall-health self-assessment test result" | awk '{print $NF}' | sed 's/://' PASSED
Bei sensors und smartctl gibt's vermutlich noch einen anderen Syntax mit kompakteren Ergebnissen.
-
Hallo,
ja Danke an euch - aber ich habs nicht so dolle mit Linux.
Ich dachte es gibt was einfaches wo ich nur die Datenpunkte zu Influx schicken und was kleines mit Grafana basteln kann.
Mit Sensors spuckt er mir nur die CPU-Temps aus. Vielleicht hat der Dell auch keine weiteren Snsoren. (hat die SSD nicht auch was intern ... ?)Ich dachte an so was wie ne App für hwinfo o.ä. - aber ohne "Gebastel"
-
Hab oben ergänzt wie bei mir nur die Werte raus kommen.
Hau einfach alles aus deinem Screenshot in ChatGPT und sag dem ich möchte nur wert xy
-
Die antwortet mir dann "Hol dir dein Bier selber aus dem Keller" ....