Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Gelöst] CPU Temperatur von Proxmox VM

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Gelöst] CPU Temperatur von Proxmox VM

    This topic has been deleted. Only users with topic management privileges can see it.
    • Meister Mopper
      Meister Mopper @ChrisXY last edited by

      @chrisxy
      Ja, via Skript oder mit dem linux-control Adapter mit
      sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'

      1 Reply Last reply Reply Quote 0
      • Basti97
        Basti97 Most Active @Meister Mopper last edited by

        @meister-mopper Hättest du eine Anleitung wie du die Daten in iob bekommen hast. Warum geht das eigentlich ncht direkt mit den Proxmox Adapter? Bei meinem ist der Lüfter wahrscheinlich ausgefallen.

        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Basti97 last edited by

          @basti97 hat er doch geschrieben, per script die Daten abrufen oder mit dem Adapter
          unter Host fügst du proxmox hinzu
          275a6782-7020-486b-a84f-766ddd07b706-image.png
          unter Befehle dieses
          2e2cbb84-03ae-4987-be6a-896299916620-image.png

          Basti97 Murmelbaerchen69 2 Replies Last reply Reply Quote 0
          • Basti97
            Basti97 Most Active @crunchip last edited by

            @crunchip Ich habe Proxmox schon in den Linux Adapter eingegeben passwort benutzer aber der zeigt mir immer offline an.

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Basti97 last edited by

              @basti97 Benutzer oder root?

              Basti97 1 Reply Last reply Reply Quote 0
              • Basti97
                Basti97 Most Active @crunchip last edited by Basti97

                @crunchip Ich hatte es mir Root probiert. Aber mir gefällt das nicht so das der iob die rootrechte bekommt. Ich habe den Port 8006 genommen

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Basti97 last edited by crunchip

                  @basti97 sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                  Ich habe den Port 8006 genommen

                  weil? Port 22 ist dein ssh Zugang

                  Basti97 1 Reply Last reply Reply Quote 0
                  • Basti97
                    Basti97 Most Active @crunchip last edited by

                    @crunchip Achso jetzt verstehe ich es warum es nicht geht ich habe SSH deaktiviert. Weil ich es nicht brauche bzw mir zu gefährlich ist. Naja mal sehen ob es noch eine andere Möglichkeit gibt.

                    Meister Mopper 1 Reply Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @Basti97 last edited by

                      @basti97 sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                      mir zu gefährlich ist

                      Was ist daran gefährlich? Ab und an sollte man ja mit dem Server doch sshprechen?!

                      1 Reply Last reply Reply Quote 0
                      • Murmelbaerchen69
                        Murmelbaerchen69 @crunchip last edited by

                        @crunchip sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                        @basti97 hat er doch geschrieben, per script die Daten abrufen oder mit dem Adapter
                        unter Host fügst du proxmox hinzu
                        275a6782-7020-486b-a84f-766ddd07b706-image.png
                        unter Befehle dieses
                        2e2cbb84-03ae-4987-be6a-896299916620-image.png

                        Hi,
                        welcher Adapter ist das, wo ich das einfügen kann.

                        Gruß und danke vorab

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Murmelbaerchen69 last edited by

                          @murmelbaerchen69 linux-control

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            babl @crunchip last edited by

                            @crunchip da werde ich mich wohl mal dranmachen, damit man sieht was im system vor sich geht. danke für den link

                            1 Reply Last reply Reply Quote 0
                            • B
                              babl @crunchip last edited by

                              @crunchip bei der ausgabe in der shell mit diesem befehl bekomme ich folgendes:

                              .....@proxmox:~#  sensors | grep 'Core 0:'| awk '{print $3}'| cut -c2-3
                              ERROR: Can't get value of subfeature temp3_min: I/O error
                              ERROR: Can't get value of subfeature temp3_max: I/O error
                              ERROR: Can't get value of subfeature temp4_min: I/O error
                              ERROR: Can't get value of subfeature temp4_max: I/O error
                              ERROR: Can't get value of subfeature temp7_min: I/O error
                              ERROR: Can't get value of subfeature temp7_max: I/O error
                              57
                              

                              Wie bekomme ich die Error ANzeige noch rausgeschnitten, müsste doch mit dem cut befehl auch gehen, hoffe ich zumindest mal. Das Wäre super.

                              crunchip 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @babl last edited by crunchip

                                @babl sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                0:'| a

                                @babl sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                3}'|

                                fehlt da nicht ein Leerzeichen

                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  babl @crunchip last edited by babl

                                  @crunchip leider das selbe

                                  #  sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3
                                  ERROR: Can't get value of subfeature temp3_min: I/O error
                                  ERROR: Can't get value of subfeature temp3_max: I/O error
                                  ERROR: Can't get value of subfeature temp4_min: I/O error
                                  ERROR: Can't get value of subfeature temp4_max: I/O error
                                  ERROR: Can't get value of subfeature temp7_min: I/O error
                                  ERROR: Can't get value of subfeature temp7_max: I/O error
                                  59
                                  
                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @babl last edited by

                                    @babl werden da nicht alle sensoren erkannt?
                                    https://wiki.ubuntuusers.de/Lm_sensors/

                                    wie sieht denn die Augabe aus von

                                    sensors
                                    
                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      babl @crunchip last edited by

                                      @crunchip

                                      sensors
                                      coretemp-isa-0000
                                      Adapter: ISA adapter
                                      Package id 0:  +62.0°C  (high = +84.0°C, crit = +100.0°C)
                                      Core 0:        +59.0°C  (high = +84.0°C, crit = +100.0°C)
                                      Core 1:        +62.0°C  (high = +84.0°C, crit = +100.0°C)
                                      Core 2:        +59.0°C  (high = +84.0°C, crit = +100.0°C)
                                      Core 3:        +61.0°C  (high = +84.0°C, crit = +100.0°C)
                                      
                                      acpitz-acpi-0
                                      Adapter: ACPI interface
                                      temp1:        +27.8°C  (crit = +119.0°C)
                                      temp2:        +29.8°C  (crit = +119.0°C)
                                      
                                      nvme-pci-0100
                                      Adapter: PCI adapter
                                      Composite:    +54.9°C  (low  =  -0.1°C, high = +74.8°C)
                                                             (crit = +79.8°C)
                                      ERROR: Can't get value of subfeature temp3_min: I/O error
                                      ERROR: Can't get value of subfeature temp3_max: I/O error
                                      Sensor 2:     +54.9°C  (low  =  +0.0°C, high =  +0.0°C)
                                      ERROR: Can't get value of subfeature temp4_min: I/O error
                                      ERROR: Can't get value of subfeature temp4_max: I/O error
                                      Sensor 3:     +81.8°C  (low  =  +0.0°C, high =  +0.0°C)
                                      ERROR: Can't get value of subfeature temp7_min: I/O error
                                      ERROR: Can't get value of subfeature temp7_max: I/O error
                                      Sensor 6:     +54.9°C  (low  =  +0.0°C, high =  +0.0°C)
                                      
                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @babl last edited by

                                        @babl dann sollte ja die Abfrage eigentlich passen, schau mal wegen deinem

                                        ERROR: Can't get value of subfeature temp3_min: I/O error
                                        

                                        https://github.com/lm-sensors/lm-sensors/issues/368/

                                        Ezmang created this issue in lm-sensors/lm-sensors

                                        open Got some Error outputs after installing lm-sensors. #368

                                        B 2 Replies Last reply Reply Quote 0
                                        • B
                                          babl @crunchip last edited by

                                          @crunchip ok, danke aber das ist mir leider zu hoch, mal schauen ob es einen anderen Weg gibt, ich versteh nur nicht warum daß in Proxmox nicht integriert ist.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            babl @crunchip last edited by

                                            @crunchip ok habs doch mal probiert, so lernt man ja auch was und es funktioniert, dank deinem Link.

                                             sensors
                                            coretemp-isa-0000
                                            Adapter: ISA adapter
                                            Package id 0:  +60.0°C  (high = +84.0°C, crit = +100.0°C)
                                            Core 0:        +60.0°C  (high = +84.0°C, crit = +100.0°C)
                                            Core 1:        +57.0°C  (high = +84.0°C, crit = +100.0°C)
                                            Core 2:        +57.0°C  (high = +84.0°C, crit = +100.0°C)
                                            Core 3:        +56.0°C  (high = +84.0°C, crit = +100.0°C)
                                            
                                            acpitz-acpi-0
                                            Adapter: ACPI interface
                                            temp1:        +27.8°C  (crit = +119.0°C)
                                            temp2:        +29.8°C  (crit = +119.0°C)
                                            
                                            nvme-pci-0100
                                            Adapter: PCI adapter
                                            Composite:    +54.9°C  (low  =  -0.1°C, high = +74.8°C)
                                                                   (crit = +79.8°C)
                                            

                                            Hab mir im Ordner /etc/sensors.d/nvme.conf erstellt und hier habe ich folgendes reingeschrieben

                                            chip "nvme-pci-0100"
                                                ignore temp3
                                                ignore temp4
                                                ignore temp7
                                            

                                            und das wars, das andere denke ich finde ich noch heraus. aber der eine grep befehl paßt dann

                                            sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3
                                            

                                            Kommt genau das raus was ich wollte, danke dir.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly javascript monitoring
                                            31
                                            129
                                            20230
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo