Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Gelöst] CPU Temperatur von Proxmox VM

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

[Gelöst] CPU Temperatur von Proxmox VM

Scheduled Pinned Locked Moved Skripten / Logik
monitoringjavascriptblockly
129 Posts 31 Posters 27.3k Views 32 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ScroungerS Offline
    ScroungerS Offline
    Scrounger
    Developer
    wrote on last edited by
    #63

    Hier noch eine Lösung wenn ihr https aktiviert habt und mit sauberer uri encode (z.B. bei Sonderzeichen im Passwort):

    #!/bin/bash
    
    #ioBroker-Datenpunkt
    
    core0Dp=linkeddevices.0.System.Temperatur.Core_0
    core1Dp=linkeddevices.0.System.Temperatur.Core_1
    
    
    #ioBroker-IP:Port
    IPP=XXX.XXX.XXX.XXX:XXXX
    
    #Zugangsdaten
    user=XXXXX
    pw=XXXXXX
    
    #an ioBroker senden
    for((c=1; c<=6; c++))
    do
            #Temperaturen abfragen
            core0=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
            core1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
    
            #an IoBroker mit simple api senden
            curl --insecure -G https://${IPP}/set/${core0Dp} --data-urlencode user=${user} --data-urlencode pass=${pw} --data-urlencode value=${core0} --data-urlencode "ack=true"
            curl --insecure -G https://${IPP}/set/${core1Dp} --data-urlencode user=${user} --data-urlencode pass=${pw} --data-urlencode value=${core1} --data-urlencode "ack=true"
            sleep 10
    done
    

    Sollte ihr ein kein self signed certificate haben, dann könnt ihr --insecure auch weglassen.

    <a href="https://github.com/Scrounger/ioBroker.linkeddevices">LinkedDevices Adapter</a>

    <a href="https://github.com/Scrounger/ioBroker.vis-materialdesign">Material Design Widgets</a>

    1 Reply Last reply
    2
    • B Offline
      B Offline
      Berchemer
      wrote on last edited by Berchemer
      #64

      Danke für die gesamte Vorarbeit, die hier von allen geleistet wurde :+1:

      Ich habe für meinen Geschmack eine etwas andere Variante dieser Ausarbeitung umgesetzt, indem ich den SystemInfo-Adapter, welcher bei mir sowieso mitläuft genutzt habe.

      Unter folgendem Link steht hier im Forum, wie es im Zusammenhang mit dem Adapter und natürlich installiertem lm-sensors (Installation siehe hier weiter oben) unter Linux geht.

      https://forum.iobroker.net/post/430091

      Thomas 18147T 1 Reply Last reply
      0
      • B Berchemer

        Danke für die gesamte Vorarbeit, die hier von allen geleistet wurde :+1:

        Ich habe für meinen Geschmack eine etwas andere Variante dieser Ausarbeitung umgesetzt, indem ich den SystemInfo-Adapter, welcher bei mir sowieso mitläuft genutzt habe.

        Unter folgendem Link steht hier im Forum, wie es im Zusammenhang mit dem Adapter und natürlich installiertem lm-sensors (Installation siehe hier weiter oben) unter Linux geht.

        https://forum.iobroker.net/post/430091

        Thomas 18147T Offline
        Thomas 18147T Offline
        Thomas 18147
        wrote on last edited by
        #65

        Moin, hab diesen Fehler:

        Das auslesen des Sensors mittels : sensors | grep Package -m 1 | awk '{print $4}' klappt.
        In die Datei von Iobroker schreiben mittels: curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=66" klappt auch.

        Aber mit dem Skript kommen diese Fehler.
        #!/bin/bash

        var=sensors | grep Package -m 1 | awk '{print $4}'
        curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=$var"

        root@media:~# var=sensors | grep Package -m 1 | awk '{print $4}'
        -bash: =sensors: command not found
        -bash: var: command not found
        root@media:~# curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=$var"
        {"id":"0_userdata.0.cpu","value":null,"val":null}root@media:~

        Dr. BakteriusD 1 Reply Last reply
        0
        • Thomas 18147T Thomas 18147

          Moin, hab diesen Fehler:

          Das auslesen des Sensors mittels : sensors | grep Package -m 1 | awk '{print $4}' klappt.
          In die Datei von Iobroker schreiben mittels: curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=66" klappt auch.

          Aber mit dem Skript kommen diese Fehler.
          #!/bin/bash

          var=sensors | grep Package -m 1 | awk '{print $4}'
          curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=$var"

          root@media:~# var=sensors | grep Package -m 1 | awk '{print $4}'
          -bash: =sensors: command not found
          -bash: var: command not found
          root@media:~# curl "http://192.168.2.187:8087/set/0_userdata.0.cpu?value=$var"
          {"id":"0_userdata.0.cpu","value":null,"val":null}root@media:~

          Dr. BakteriusD Offline
          Dr. BakteriusD Offline
          Dr. Bakterius
          Most Active
          wrote on last edited by
          #66

          @thomas-reißmann Wenn du eine Ausgabe in eine Variable schreiben möchte sollte das so aussehen: var=$(sensors | grep Package -m 1 | awk '{print $4}')

          Thomas 18147T 1 Reply Last reply
          0
          • Dr. BakteriusD Dr. Bakterius

            @thomas-reißmann Wenn du eine Ausgabe in eine Variable schreiben möchte sollte das so aussehen: var=$(sensors | grep Package -m 1 | awk '{print $4}')

            Thomas 18147T Offline
            Thomas 18147T Offline
            Thomas 18147
            wrote on last edited by
            #67

            @dr-bakterius Danke, so scheint es auch zu funktionieren:

            tempi=sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'

            gibt es daran etwas auszusetzen?

            Dr. BakteriusD 1 Reply Last reply
            0
            • Thomas 18147T Thomas 18147

              @dr-bakterius Danke, so scheint es auch zu funktionieren:

              tempi=sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'

              gibt es daran etwas auszusetzen?

              Dr. BakteriusD Offline
              Dr. BakteriusD Offline
              Dr. Bakterius
              Most Active
              wrote on last edited by
              #68

              @thomas-reißmann Wenn es funktioniert... :+1:

              1 Reply Last reply
              0
              • opossumO Offline
                opossumO Offline
                opossum
                wrote on last edited by opossum
                #69

                Hallo,
                ich lese die Coretemperaturen des Proxmox-Servers mittels Script aus. Dazu muss auf dem Proxmox das Paket curl sowie das Paket lm-sensors installiert werden. Die Datenpunkte müssen in iobroker angelegt sein:

                63d18872-7904-4bf7-812f-c2f2d4113e20-image.png
                Dann das Script auf den Proxmox kopieren, ausführbar machen und einen Cronjob für den User Root angelegt.
                Das Script habe ich aus dem Netz, leicht abgewandelt auf meine Gegebenheiten:

                #!/bin/bash
                
                #ioBroker-Datenpunkt
                
                DP=javascript.0.System.Temperatur.Core_0
                DP1=javascript.0.System.Temperatur.Core_1
                DP2=javascript.0.System.Temperatur.Core_0_last_change
                DP3=javascript.0.System.Temperatur.Core_1_last_change
                DP4=javascript.0.System.Temperatur.Core_2
                DP5=javascript.0.System.Temperatur.Core_3
                DP6=javascript.0.System.Temperatur.Core_2_last_change
                DP7=javascript.0.System.Temperatur.Core_3_last_change
                DP8=javascript.0.System.Temperatur.Core_4
                DP9=javascript.0.System.Temperatur.Core_5
                DP10=javascript.0.System.Temperatur.Core_4_last_change
                DP11=javascript.0.System.Temperatur.Core_5_last_change
                
                #ioBroker-IP:Port
                IPP=192.168.1.100:8087
                
                for((c=1; c<=5; c++))
                
                do
                sleep 10
                SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                d0=`date +%Y-%m-%d@%H:%M`
                
                SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                d1=`date +%Y-%m-%d@%H:%M`
                
                SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                d2=`date +%Y-%m-%d@%H:%M`
                
                SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                d3=`date +%Y-%m-%d@%H:%M`
                
                SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                d4=`date +%Y-%m-%d@%H:%M`
                
                SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                d5=`date +%Y-%m-%d@%H:%M`
                
                
                
                #an ioBroker senden
                curl http://${IPP}/set/${DP}?value={$SQL}
                curl http://${IPP}/set/${DP2}?value={$d0}
                
                curl http://${IPP}/set/${DP1}?value={$SQL1}
                curl http://${IPP}/set/${DP3}?value={$d1}
                
                curl http://${IPP}/set/${DP4}?value={$SQL2}
                curl http://${IPP}/set/${DP6}?value={$d2}
                
                curl http://${IPP}/set/${DP5}?value={$SQL3}
                curl http://${IPP}/set/${DP7}?value={$d3}
                
                curl http://${IPP}/set/${DP8}?value={$SQL4}
                curl http://${IPP}/set/${DP10}?value={$d4}
                
                curl http://${IPP}/set/${DP9}?value={$SQL5}
                curl http://${IPP}/set/${DP11}?value={$d5}
                done
                

                Funktioniert bei mir ohne Probleme, Daten werden in Flot geloggt, und auch auf der VIS angezeigt:
                0fa8ead8-77e2-4588-a381-a3b883bbd4bc-image.png

                Cronjob:
                f422cbf4-8121-4a55-ab9c-d07a30871493-image.png

                Diagramm:
                c17e6469-d848-4666-9622-daca5e538287-image.png

                https://schlepper-petersdorf.jimdofree.com/

                1 Reply Last reply
                3
                • marcusklM marcuskl

                  So jetzt aber.

                  Wie ich vorgegangen bin:

                  1. Unter Verzeichnis
                  cd /usr/local/bin/ 
                  

                  gegangen

                  1. Mit Nano Skript angelegt
                  nano cpu_temp_send_iobroker.sh
                  

                  Im Editor folgenden Skript eingefügt:

                  #!/bin/bash
                  
                  #ioBroker-Datenpunkt
                  DP=info.0.sysinfo.cpu.temperature.main
                  
                  #ioBroker-IP:Port
                  IPP=192.168.0.195:8087 
                  
                  #Systemtemperatur abfragen
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  
                  
                  #an ioBroker senden
                  curl http://${IPP}/set/${DP}?value={$SQL} 
                  
                  #Sendet alle 10 Sekunden an iobroker 
                  sleep 10
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  curl http://${IPP}/set/${DP}?value=${SQL}
                  sleep 10
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  curl http://${IPP}/set/${DP}?value=${SQL}
                  sleep 10
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  curl http://${IPP}/set/${DP}?value=${SQL}
                  sleep 10
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  curl http://${IPP}/set/${DP}?value=${SQL}
                  sleep 10
                  SQL=$(sensors | grep 'temp1:' | awk 'NR==1 {print $2}' | cut -c2-3) 
                  curl http://${IPP}/set/${DP}?value=${SQL}
                  

                  Strg+X gespeichert.
                  (Achtung!!! Simple API Adapter erforderlich und dann den Port vom Adapter eintragen)

                  Datenpunkt vom Info Adapter zum Schreiben freigegeben

                  1. Getestet mit:
                  bash /usr/local/bin/cpu_temp_send_iobroker.sh
                  

                  (Ich musste vorher noch Curl installieren)

                  1. Crontab angelegt:
                  crontab -e
                  

                  Ganz unten Zeile eingefügt:

                  * * * * * bash /usr/local/bin/cpu_temp_send_iobroker.sh
                  

                  Fertig, Danke an alle für sie Hilfe !!!

                  Henning HiH Offline
                  Henning HiH Offline
                  Henning Hi
                  wrote on last edited by
                  #70

                  @marcuskl
                  Ich habe das nun exakt (nur um meine iobroker-IP und meinen Scriptnamen verändert) wie bei dir hier nachgebaut, habe allerdings das Problem, das bei mir "Connection refused":
                  curl: (7) Failed to connect to 192.168.178.21 port 8087: Connection refused

                  angezeigt wird wenn ich das Script mit
                  bash /usr/local/bin/CPUTemp.sh teste

                  • Simple API installiert und auf Port 8087 eingestellt.
                  • Datenpunkt unter "Objekte" für das Schreiben freigegeben

                  Jemand einen Hinweis woran es liegen könnte?

                  A 1 Reply Last reply
                  0
                  • Henning HiH Henning Hi

                    @marcuskl
                    Ich habe das nun exakt (nur um meine iobroker-IP und meinen Scriptnamen verändert) wie bei dir hier nachgebaut, habe allerdings das Problem, das bei mir "Connection refused":
                    curl: (7) Failed to connect to 192.168.178.21 port 8087: Connection refused

                    angezeigt wird wenn ich das Script mit
                    bash /usr/local/bin/CPUTemp.sh teste

                    • Simple API installiert und auf Port 8087 eingestellt.
                    • Datenpunkt unter "Objekte" für das Schreiben freigegeben

                    Jemand einen Hinweis woran es liegen könnte?

                    A Offline
                    A Offline
                    Ahnungsbefreit
                    wrote on last edited by
                    #71

                    @henning-hi & @opossum warum nutzt Ihr nicht einfach den ProxMox Adapter? Der liefert das ohne Aufwand direkt...

                    Wenn meine Antwort hilfreich war, dürft Ihr das gerne durch einen "Upvote" (der kleine "^" unten rechts) zum Ausdruck bringen.

                    Henning HiH 1 Reply Last reply
                    0
                    • A Ahnungsbefreit

                      @henning-hi & @opossum warum nutzt Ihr nicht einfach den ProxMox Adapter? Der liefert das ohne Aufwand direkt...

                      Henning HiH Offline
                      Henning HiH Offline
                      Henning Hi
                      wrote on last edited by
                      #72

                      @ahnungsbefreit
                      Läuft in einer VM auf Nuc in Proxmox.
                      Habe den Fehler aber gerade gefunden, hatte nicht die IP von ioBroker eingestellt, sondern vom Proxmox-Host :)

                      A 1 Reply Last reply
                      0
                      • Henning HiH Henning Hi

                        @ahnungsbefreit
                        Läuft in einer VM auf Nuc in Proxmox.
                        Habe den Fehler aber gerade gefunden, hatte nicht die IP von ioBroker eingestellt, sondern vom Proxmox-Host :)

                        A Offline
                        A Offline
                        Ahnungsbefreit
                        wrote on last edited by
                        #73

                        @henning-hi Ah sorry,Ihr habt natürlich Recht, die CPU Temperatur liefert der Proxmox Adapter nicht, nur CPU Auslastung, memory etc

                        Wenn meine Antwort hilfreich war, dürft Ihr das gerne durch einen "Upvote" (der kleine "^" unten rechts) zum Ausdruck bringen.

                        1 Reply Last reply
                        1
                        • K Offline
                          K Offline
                          Kueppert
                          wrote on last edited by
                          #74

                          Hallo zusammen,
                          ich hab lm-seonsors installiert und erhalte auch eine Gradzahl:

                          root@proxmox:~# sensors | grep Package -m 1 | awk '{print $4}'
                          +56.0°C
                          

                          allerdings im DP vom ioBroker hb ich nen Sonderzeichen drin nun:

                           56.0°C
                          

                          die Ausgabe bei Seonsors sieht wie folgt aus:

                          root@proxmox:~# sensors
                          acpitz-acpi-0
                          Adapter: ACPI interface
                          temp1:        +27.8°C  (crit = +105.0°C)
                          temp2:        +29.8°C  (crit = +105.0°C)
                          
                          coretemp-isa-0000
                          Adapter: ISA adapter
                          Package id 0:  +55.0°C  (high = +100.0°C, crit = +100.0°C)
                          Core 0:        +55.0°C  (high = +100.0°C, crit = +100.0°C)
                          Core 1:        +54.0°C  (high = +100.0°C, crit = +100.0°C)
                          

                          Was muss ich ändern, damit ich ne Zahl erhalte ohne Sonderzeichen im ioBroker-state?

                          Danke euch und vG, Thorsten

                          UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                          crunchipC 1 Reply Last reply
                          0
                          • K Kueppert

                            Hallo zusammen,
                            ich hab lm-seonsors installiert und erhalte auch eine Gradzahl:

                            root@proxmox:~# sensors | grep Package -m 1 | awk '{print $4}'
                            +56.0°C
                            

                            allerdings im DP vom ioBroker hb ich nen Sonderzeichen drin nun:

                             56.0°C
                            

                            die Ausgabe bei Seonsors sieht wie folgt aus:

                            root@proxmox:~# sensors
                            acpitz-acpi-0
                            Adapter: ACPI interface
                            temp1:        +27.8°C  (crit = +105.0°C)
                            temp2:        +29.8°C  (crit = +105.0°C)
                            
                            coretemp-isa-0000
                            Adapter: ISA adapter
                            Package id 0:  +55.0°C  (high = +100.0°C, crit = +100.0°C)
                            Core 0:        +55.0°C  (high = +100.0°C, crit = +100.0°C)
                            Core 1:        +54.0°C  (high = +100.0°C, crit = +100.0°C)
                            

                            Was muss ich ändern, damit ich ne Zahl erhalte ohne Sonderzeichen im ioBroker-state?

                            Danke euch und vG, Thorsten

                            crunchipC Away
                            crunchipC Away
                            crunchip
                            Forum Testing Most Active
                            wrote on last edited by
                            #75

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

                            Was muss ich ändern, damit ich ne Zahl erhalte ohne Sonderzeichen im ioBroker-state?

                            ich habe diesen Befehl

                            sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'
                            

                            umgestiegen von Proxmox auf Unraid

                            K 1 Reply Last reply
                            0
                            • crunchipC crunchip

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

                              Was muss ich ändern, damit ich ne Zahl erhalte ohne Sonderzeichen im ioBroker-state?

                              ich habe diesen Befehl

                              sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'
                              
                              K Offline
                              K Offline
                              Kueppert
                              wrote on last edited by
                              #76

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

                              sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}'

                              super, das wars :) thx

                              UDM Pro, Intel NUC - ioBroker in Proxmox-VM, PiHole+Grafana&Influx+TasmoAdmin in LXCs, Raspberry Pi3 (als CCU), Zigbee-Stick Sonoff, Synology DS918+

                              1 Reply Last reply
                              0
                              • Thomas 18147T Offline
                                Thomas 18147T Offline
                                Thomas 18147
                                wrote on last edited by Homoran
                                #77

                                hi,
                                ich bekomme jede Minute 2 eMails von Proxmox, wie kann man das unterbinden?

                                Thx

                                Cron <root@server> bash /usr/local/bin/cpu_temp_send_iobroker.sh
                                
                                  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   3300      0 --:--:-- --:--:-- --:--:--  3300
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2640      0 --:--:-- --:--:-- --:--:--  2640
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   1466      0 --:--:-- --:--:-- --:--:--  1466
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2444      0 --:--:-- --:--:-- --:--:--  2538
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2129      0 --:--:-- --:--:-- --:--:--  2129
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2869      0 --:--:-- --:--:-- --:--:--  2869
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   1939      0 --:--:-- --:--:-- --:--:--  1939
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2200      0 --:--:-- --:--:-- --:--:--  2200
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2444      0 --:--:-- --:--:-- --:--:--  2444
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0    195      0 --:--:-- --:--:-- --:--:--   195
                                100    66  100    66    0     0    195      0 --:--:-- --:--:-- --:--:--   195
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   1692      0 --:--:-- --:--:-- --:--:--  1692
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2275      0 --:--:-- --:--:-- --:--:--  2275
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0    272      0 --:--:-- --:--:-- --:--:--   272
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   5333      0 --:--:-- --:--:-- --:--:--  5333
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0    284      0 --:--:-- --:--:-- --:--:--   284
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0    985      0 --:--:-- --:--:-- --:--:--  1000
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2538      0 --:--:-- --:--:-- --:--:--  2538
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   4714      0 --:--:-- --:--:-- --:--:--  4714
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":36,"val":36}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   3666      0 --:--:-- --:--:-- --:--:--  3666
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2869      0 --:--:-- --:--:-- --:--:--  2869
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  7333
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   3666      0 --:--:-- --:--:-- --:--:--  3882
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  6600
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   8250      0 --:--:-- --:--:-- --:--:--  8250
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   6000      0 --:--:-- --:--:-- --:--:--  6000
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  5500
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   5500      0 --:--:-- --:--:-- --:--:--  5500
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  6600
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2640      0 --:--:-- --:--:-- --:--:--  2640
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    64  100    64    0     0   8000      0 --:--:-- --:--:-- --:--:--  8000
                                {"id":"info.0.sysinfo.cpu.temperature.main","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   2200      0 --:--:-- --:--:-- --:--:--  2200
                                {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  4714
                                100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  4714
                                {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   5500      0 --:--:-- --:--:-- --:--:--  5500
                                {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   4714      0 --:--:-- --:--:-- --:--:--  4714
                                {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                 Dload  Upload   Total   Spent    Left  Speed
                                
                                  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                100    66  100    66    0     0   4400      0 --:--:-- --:--:-- --:--:--  4400
                                {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}
                                


                                MOD-Edit: Code in code-tags und spoiler gesetzt!

                                Dr. BakteriusD 1 Reply Last reply
                                0
                                • Thomas 18147T Thomas 18147

                                  hi,
                                  ich bekomme jede Minute 2 eMails von Proxmox, wie kann man das unterbinden?

                                  Thx

                                  Cron <root@server> bash /usr/local/bin/cpu_temp_send_iobroker.sh
                                  
                                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   3300      0 --:--:-- --:--:-- --:--:--  3300
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2640      0 --:--:-- --:--:-- --:--:--  2640
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   1466      0 --:--:-- --:--:-- --:--:--  1466
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2444      0 --:--:-- --:--:-- --:--:--  2538
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2129      0 --:--:-- --:--:-- --:--:--  2129
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2869      0 --:--:-- --:--:-- --:--:--  2869
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   1939      0 --:--:-- --:--:-- --:--:--  1939
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2200      0 --:--:-- --:--:-- --:--:--  2200
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2444      0 --:--:-- --:--:-- --:--:--  2444
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0    195      0 --:--:-- --:--:-- --:--:--   195
                                  100    66  100    66    0     0    195      0 --:--:-- --:--:-- --:--:--   195
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   1692      0 --:--:-- --:--:-- --:--:--  1692
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2275      0 --:--:-- --:--:-- --:--:--  2275
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0    272      0 --:--:-- --:--:-- --:--:--   272
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   5333      0 --:--:-- --:--:-- --:--:--  5333
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0    284      0 --:--:-- --:--:-- --:--:--   284
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0    985      0 --:--:-- --:--:-- --:--:--  1000
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2538      0 --:--:-- --:--:-- --:--:--  2538
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   4714      0 --:--:-- --:--:-- --:--:--  4714
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":36,"val":36}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   3666      0 --:--:-- --:--:-- --:--:--  3666
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2869      0 --:--:-- --:--:-- --:--:--  2869
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  7333
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   3666      0 --:--:-- --:--:-- --:--:--  3882
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  6600
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   8250      0 --:--:-- --:--:-- --:--:--  8250
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   7111      0 --:--:-- --:--:-- --:--:--  7111
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   6000      0 --:--:-- --:--:-- --:--:--  6000
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  5500
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   5500      0 --:--:-- --:--:-- --:--:--  5500
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   6600      0 --:--:-- --:--:-- --:--:--  6600
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2640      0 --:--:-- --:--:-- --:--:--  2640
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    64  100    64    0     0   8000      0 --:--:-- --:--:-- --:--:--  8000
                                  {"id":"info.0.sysinfo.cpu.temperature.main","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   2200      0 --:--:-- --:--:-- --:--:--  2200
                                  {"id":"info.0.sysinfo.cpu.temperature.main_1","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  4714
                                  100    66  100    66    0     0   5076      0 --:--:-- --:--:-- --:--:--  4714
                                  {"id":"info.0.sysinfo.cpu.temperature.main_2","value":34,"val":34}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   7333      0 --:--:-- --:--:-- --:--:--  7333
                                  {"id":"info.0.sysinfo.cpu.temperature.main_3","value":33,"val":33}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   5500      0 --:--:-- --:--:-- --:--:--  5500
                                  {"id":"info.0.sysinfo.cpu.temperature.main_4","value":37,"val":37}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   4714      0 --:--:-- --:--:-- --:--:--  4714
                                  {"id":"info.0.sysinfo.cpu.temperature.main_5","value":35,"val":35}  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  
                                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                  100    66  100    66    0     0   4400      0 --:--:-- --:--:-- --:--:--  4400
                                  {"id":"info.0.sysinfo.cpu.temperature.main_6","value":37,"val":37}
                                  


                                  MOD-Edit: Code in code-tags und spoiler gesetzt!

                                  Dr. BakteriusD Offline
                                  Dr. BakteriusD Offline
                                  Dr. Bakterius
                                  Most Active
                                  wrote on last edited by
                                  #78

                                  @thomas-18147 sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                  wie kann man das unterbinden?

                                  Rufe das Skript mit einem > /dev/null 2>&1 am Ende auf. Also /usr/local/bin/cpu_temp_send_iobroker.sh > /dev/null 2>&1.

                                  Thomas 18147T 1 Reply Last reply
                                  0
                                  • Dr. BakteriusD Dr. Bakterius

                                    @thomas-18147 sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                    wie kann man das unterbinden?

                                    Rufe das Skript mit einem > /dev/null 2>&1 am Ende auf. Also /usr/local/bin/cpu_temp_send_iobroker.sh > /dev/null 2>&1.

                                    Thomas 18147T Offline
                                    Thomas 18147T Offline
                                    Thomas 18147
                                    wrote on last edited by Thomas 18147
                                    #79

                                    @dr-bakterius
                                    dann hängt sich die Shell auf und eMails kommen weiterhin.
                                    Mit welchem Befehl kann ich den laufenden Prozess stoppen?


                                    root@server:~# bash /usr/local/bin/cpu_temp_send_iobroker.sh > /dev/null 2>&1

                                    Danke

                                    Dr. BakteriusD 1 Reply Last reply
                                    0
                                    • Thomas 18147T Thomas 18147

                                      @dr-bakterius
                                      dann hängt sich die Shell auf und eMails kommen weiterhin.
                                      Mit welchem Befehl kann ich den laufenden Prozess stoppen?


                                      root@server:~# bash /usr/local/bin/cpu_temp_send_iobroker.sh > /dev/null 2>&1

                                      Danke

                                      Dr. BakteriusD Offline
                                      Dr. BakteriusD Offline
                                      Dr. Bakterius
                                      Most Active
                                      wrote on last edited by
                                      #80

                                      @thomas-18147 Wie sieht denn das Skript aus?

                                      1 Reply Last reply
                                      0
                                      • Thomas 18147T Offline
                                        Thomas 18147T Offline
                                        Thomas 18147
                                        wrote on last edited by
                                        #81

                                        @dr-bakterius

                                        hab schon über 3000 eMails bekommen ; )

                                        #!/bin/bash
                                        #ioBroker-Datenpunkt
                                        DP=info.0.sysinfo.cpu.temperature.main
                                        DP1=info.0.sysinfo.cpu.temperature.main_1
                                        DP2=info.0.sysinfo.cpu.temperature.main_2
                                        DP3=info.0.sysinfo.cpu.temperature.main_3
                                        DP4=info.0.sysinfo.cpu.temperature.main_4
                                        DP5=info.0.sysinfo.cpu.temperature.main_5
                                        DP6=info.0.sysinfo.cpu.temperature.main_6
                                        
                                        
                                        #ioBroker-IP:Port
                                        IPP=192.168.1.174:8087 
                                        
                                        #Systemtemperatur abfragen
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        
                                        
                                         
                                        #an ioBroker senden
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        
                                        sleep 10
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        sleep 10
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        sleep 10
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        sleep 10
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        sleep 10
                                        SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                        SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                        SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                        SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                        SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                        SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                        SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                        curl http://${IPP}/set/${DP}?value={$SQL}
                                        curl http://${IPP}/set/${DP1}?value={$SQL1}
                                        curl http://${IPP}/set/${DP2}?value={$SQL2}
                                        curl http://${IPP}/set/${DP3}?value={$SQL3}
                                        curl http://${IPP}/set/${DP4}?value={$SQL4}
                                        curl http://${IPP}/set/${DP5}?value={$SQL5}
                                        curl http://${IPP}/set/${DP6}?value={$SQL6}
                                        
                                        

                                        Dr. BakteriusD 1 Reply Last reply
                                        0
                                        • Thomas 18147T Thomas 18147

                                          @dr-bakterius

                                          hab schon über 3000 eMails bekommen ; )

                                          #!/bin/bash
                                          #ioBroker-Datenpunkt
                                          DP=info.0.sysinfo.cpu.temperature.main
                                          DP1=info.0.sysinfo.cpu.temperature.main_1
                                          DP2=info.0.sysinfo.cpu.temperature.main_2
                                          DP3=info.0.sysinfo.cpu.temperature.main_3
                                          DP4=info.0.sysinfo.cpu.temperature.main_4
                                          DP5=info.0.sysinfo.cpu.temperature.main_5
                                          DP6=info.0.sysinfo.cpu.temperature.main_6
                                          
                                          
                                          #ioBroker-IP:Port
                                          IPP=192.168.1.174:8087 
                                          
                                          #Systemtemperatur abfragen
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          
                                          
                                           
                                          #an ioBroker senden
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          
                                          sleep 10
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          sleep 10
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          sleep 10
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          sleep 10
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          sleep 10
                                          SQL=$(sensors | grep 'Core 0:' | awk '{print $3}' | cut -c2-3)
                                          SQL1=$(sensors | grep 'Core 1:' | awk '{print $3}' | cut -c2-3)
                                          SQL2=$(sensors | grep 'Core 2:' | awk '{print $3}' | cut -c2-3)
                                          SQL3=$(sensors | grep 'Core 3:' | awk '{print $3}' | cut -c2-3)
                                          SQL4=$(sensors | grep 'Core 4:' | awk '{print $3}' | cut -c2-3)
                                          SQL5=$(sensors | grep 'Core 5:' | awk '{print $3}' | cut -c2-3)
                                          SQL6=$(sensors | grep Package -m 1 | awk '{print $4}' | awk '{print substr($1, length($0)-6,2)}')
                                          curl http://${IPP}/set/${DP}?value={$SQL}
                                          curl http://${IPP}/set/${DP1}?value={$SQL1}
                                          curl http://${IPP}/set/${DP2}?value={$SQL2}
                                          curl http://${IPP}/set/${DP3}?value={$SQL3}
                                          curl http://${IPP}/set/${DP4}?value={$SQL4}
                                          curl http://${IPP}/set/${DP5}?value={$SQL5}
                                          curl http://${IPP}/set/${DP6}?value={$SQL6}
                                          
                                          

                                          Dr. BakteriusD Offline
                                          Dr. BakteriusD Offline
                                          Dr. Bakterius
                                          Most Active
                                          wrote on last edited by
                                          #82

                                          @thomas-18147 Du bekommst die Mails wenn du das Skipt in der Shell aufrufst und/oder wenn es über cron gestartet wird? Sollte eigentlich nur bei cron passieren und mit der oben erwähnten Erweiterung abgestellt werden. Bei direktem Aufruf sollte es keine Wirkung haben (weil ja auch keine Mails versendet werden sollten).

                                          Thomas 18147T 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          582

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe