Skip to content
  • 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
Logo
  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.0k

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

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

[Gelöst] CPU Temperatur von Proxmox VM

[Gelöst] CPU Temperatur von Proxmox VM

Scheduled Pinned Locked Moved Skripten / Logik
monitoringjavascriptblockly
129 Posts 31 Posters 27.0k 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.
  • 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 Online
      K Online
      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
                  • Dr. BakteriusD Dr. Bakterius

                    @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 Offline
                    Thomas 18147T Offline
                    Thomas 18147
                    wrote on last edited by
                    #83

                    @dr-bakterius
                    Ich hab das Skript einmal über die Shell gestartet und bis jetzt läuft es noch. Die Werte werden zuverlässig genesendet. Wie kann das Skript gestoppt werden?

                    bash /usr/local/bin/cpu_temp_send_iobroker.sh
                    

                    Und ein Crone Job wurde noch angelegt.

                    * * * * * bash /usr/local/bin/cpu_temp_send_iobroker.sh 
                    
                    Meister MopperM 1 Reply Last reply
                    0
                    • Thomas 18147T Thomas 18147

                      @dr-bakterius
                      Ich hab das Skript einmal über die Shell gestartet und bis jetzt läuft es noch. Die Werte werden zuverlässig genesendet. Wie kann das Skript gestoppt werden?

                      bash /usr/local/bin/cpu_temp_send_iobroker.sh
                      

                      Und ein Crone Job wurde noch angelegt.

                      * * * * * bash /usr/local/bin/cpu_temp_send_iobroker.sh 
                      
                      Meister MopperM Away
                      Meister MopperM Away
                      Meister Mopper
                      wrote on last edited by
                      #84

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

                      Und ein Crone Job wurde noch angelegt.

                      Und da sollte stehen:
                      * * * * * bash /usr/local/bin/cpu_temp_send_iobroker.sh >/dev/null 2>&1,

                      wie @Dr-Bakterius schrieb

                      Proxmox und HA

                      Thomas 18147T 1 Reply Last reply
                      0
                      • Meister MopperM Meister Mopper

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

                        Und ein Crone Job wurde noch angelegt.

                        Und da sollte stehen:
                        * * * * * bash /usr/local/bin/cpu_temp_send_iobroker.sh >/dev/null 2>&1,

                        wie @Dr-Bakterius schrieb

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

                        @meister-mopper

                        Vielen Dank, es kommen keine eMails mehr!

                        Meister MopperM Dr. BakteriusD 2 Replies Last reply
                        0
                        • Thomas 18147T Thomas 18147

                          @meister-mopper

                          Vielen Dank, es kommen keine eMails mehr!

                          Meister MopperM Away
                          Meister MopperM Away
                          Meister Mopper
                          wrote on last edited by
                          #86

                          @thomas-18147
                          Dann ist dieser thread ja offenbar wirklich [Gelöst] 😊

                          Proxmox und HA

                          1 Reply Last reply
                          0
                          • Thomas 18147T Thomas 18147

                            @meister-mopper

                            Vielen Dank, es kommen keine eMails mehr!

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

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

                            Vielen Dank, es kommen keine eMails mehr!

                            Schwere Geburt... 👏

                            1 Reply Last reply
                            0
                            • stony2kS Offline
                              stony2kS Offline
                              stony2k
                              wrote on last edited by
                              #88

                              Das Script funktioniert wunderbar, auch der State lässt sich setzten. Aber bekommt ihr im Log auch diesen Fehler?

                              Read-only state "info.0.sysinfo.cpu.temperature.main" has been written without ack-flag with value "39"
                              
                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                ChrisXY
                                wrote on last edited by
                                #89

                                Ich habe das Problem das immer /A übermittelt wird.. meine sensors:

                                root@pve:/usr/local/bin# sensors
                                iwlwifi_1-virtual-0
                                Adapter: Virtual device
                                temp1:            N/A  
                                
                                acpitz-acpi-0
                                Adapter: ACPI interface
                                temp1:       -263.2°C  
                                temp2:        +27.8°C  (crit = +119.0°C)
                                
                                coretemp-isa-0000
                                Adapter: ISA adapter
                                Package id 0:  +84.0°C  (high = +100.0°C, crit = +100.0°C)
                                Core 0:        +84.0°C  (high = +100.0°C, crit = +100.0°C)
                                Core 1:        +80.0°C  (high = +100.0°C, crit = +100.0°C)
                                Core 2:        +73.0°C  (high = +100.0°C, crit = +100.0°C)
                                Core 3:        +74.0°C  (high = +100.0°C, crit = +100.0°C)
                                
                                pch_cannonlake-virtual-0
                                Adapter: Virtual device
                                temp1:        +73.0°C  
                                
                                
                                Meister MopperM 1 Reply Last reply
                                0
                                • C ChrisXY

                                  Ich habe das Problem das immer /A übermittelt wird.. meine sensors:

                                  root@pve:/usr/local/bin# sensors
                                  iwlwifi_1-virtual-0
                                  Adapter: Virtual device
                                  temp1:            N/A  
                                  
                                  acpitz-acpi-0
                                  Adapter: ACPI interface
                                  temp1:       -263.2°C  
                                  temp2:        +27.8°C  (crit = +119.0°C)
                                  
                                  coretemp-isa-0000
                                  Adapter: ISA adapter
                                  Package id 0:  +84.0°C  (high = +100.0°C, crit = +100.0°C)
                                  Core 0:        +84.0°C  (high = +100.0°C, crit = +100.0°C)
                                  Core 1:        +80.0°C  (high = +100.0°C, crit = +100.0°C)
                                  Core 2:        +73.0°C  (high = +100.0°C, crit = +100.0°C)
                                  Core 3:        +74.0°C  (high = +100.0°C, crit = +100.0°C)
                                  
                                  pch_cannonlake-virtual-0
                                  Adapter: Virtual device
                                  temp1:        +73.0°C  
                                  
                                  
                                  Meister MopperM Away
                                  Meister MopperM Away
                                  Meister Mopper
                                  wrote on last edited by
                                  #90

                                  @chrisxy
                                  Was ist das für ein System?
                                  Die Temperatur der vier Kerne ist grenzwertig, ist das immer so?
                                  Lass das mit dem root-login und lege dir einen user im pve an.

                                  Proxmox und HA

                                  C 1 Reply Last reply
                                  0
                                  • Meister MopperM Meister Mopper

                                    @chrisxy
                                    Was ist das für ein System?
                                    Die Temperatur der vier Kerne ist grenzwertig, ist das immer so?
                                    Lass das mit dem root-login und lege dir einen user im pve an.

                                    C Offline
                                    C Offline
                                    ChrisXY
                                    wrote on last edited by
                                    #91

                                    @meister-mopper Ganz frischer Intel NUC8 i7 der alte war auf einmal aus.... Ich glaube dort ist der Lüfter gestorben.

                                    Da nun der frische neue NUC schon solche Werte hat mit Lüfte rund Neu ... Läuft Proxmox drauf mit cpu 40-60%

                                    Meister MopperM 1 Reply Last reply
                                    0
                                    • C ChrisXY

                                      @meister-mopper Ganz frischer Intel NUC8 i7 der alte war auf einmal aus.... Ich glaube dort ist der Lüfter gestorben.

                                      Da nun der frische neue NUC schon solche Werte hat mit Lüfte rund Neu ... Läuft Proxmox drauf mit cpu 40-60%

                                      Meister MopperM Away
                                      Meister MopperM Away
                                      Meister Mopper
                                      wrote on last edited by
                                      #92

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

                                      Ich glaube dort ist der Lüfter gestorben.

                                      Das wird bei diesen Temperaturen vermutlich auch mit diesem i7 passieren. Das ist dauerhaft nicht normal.

                                      Die i7 werden schon mal heißer als andere, hier mal drei von meinen NUC:

                                      c7387d15-3cd2-46bb-8a93-5342d32d68a6-grafik.png

                                      Proxmox und HA

                                      HomoranH 1 Reply Last reply
                                      0
                                      • Meister MopperM Meister Mopper

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

                                        Ich glaube dort ist der Lüfter gestorben.

                                        Das wird bei diesen Temperaturen vermutlich auch mit diesem i7 passieren. Das ist dauerhaft nicht normal.

                                        Die i7 werden schon mal heißer als andere, hier mal drei von meinen NUC:

                                        c7387d15-3cd2-46bb-8a93-5342d32d68a6-grafik.png

                                        HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #93

                                        @meister-mopper sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                        Das wird bei diesen Temperaturen vermutlich auch mit diesem i7 passieren.

                                        ich gehe eher davon aus, dass der Lüfter eingestaubt war. Das passiert da gerne. und dann die cpu überhitzt.

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        Meister MopperM 1 Reply Last reply
                                        0
                                        • HomoranH Homoran

                                          @meister-mopper sagte in [Gelöst] CPU Temperatur von Proxmox VM:

                                          Das wird bei diesen Temperaturen vermutlich auch mit diesem i7 passieren.

                                          ich gehe eher davon aus, dass der Lüfter eingestaubt war. Das passiert da gerne. und dann die cpu überhitzt.

                                          Meister MopperM Away
                                          Meister MopperM Away
                                          Meister Mopper
                                          wrote on last edited by
                                          #94

                                          @homoran
                                          Jup, da achte ich auch immer drauf. Bei steigenden Temperaturen muss ausgebaut und durchgepustet werden.

                                          Proxmox und HA

                                          HomoranH Basti97B 2 Replies 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

                                          567

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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