Temperature CPU?

    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • It has been posted in that topic that the script does not work in OMV1.0, so I would run the uninstall part of the script.
      I looked through the script and could not see any mention of the rrd files (used to make the graphs) these should be left intact and so should the old data, you could backup these files just in case but I do not know if the format in these files will change though.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • jhmiller wrote:

      That normally means there are no rrd files generated, try doing ls /var/lib/rrdcached/db/localhost/sensors-*/ and see if it shows any.

      Remember also that not all hardware will work, I had added the ones found so far but you might have something that has not been seen yet. Running the above command will also show if you have something that's not been added.

      I plan on adding the CPU Fan option on the next version, I will post when its ready.


      Sorry for the delay. The output for the command is:

      Source Code

      1. ​danila@openmediavault:~$ ls /var/lib/rrdcached/db/localhost/sensors-*/
      2. /var/lib/rrdcached/db/localhost/sensors-acpitz-virtual-0/:
      3. temperature-temp1.rrd temperature-temp2.rrd
      4. /var/lib/rrdcached/db/localhost/sensors-coretemp-isa-0000/:
      5. temperature-temp1.rrd temperature-temp2.rrd temperature-temp3.rrd


      And sensors command from the console shows me my CPU temp:

      Source Code

      1. ​danila@openmediavault:~$ sensors
      2. acpitz-virtual-0
      3. Adapter: Virtual device
      4. temp1: +27.8°C (crit = +106.0°C)
      5. temp2: +29.8°C (crit = +106.0°C)
      6. coretemp-isa-0000
      7. Adapter: ISA adapter
      8. Physical id 0: +44.0°C (high = +85.0°C, crit = +105.0°C)
      9. Core 0: +44.0°C (high = +85.0°C, crit = +105.0°C)
      10. Core 1: +42.0°C (high = +85.0°C, crit = +105.0°C)
      Display All
      OMV 1.0, Pentium G2120 3.1 GHz, 8 Gb RAM, SnapRAID+aufs 3x4Tb Ext4 + 1x1Tb Ext4, boot ssd 32Gb ADATA
    • @Darth_Anyan

      Make your changes on the plugin page then click save so you get the yellow bar, do not click apply, instead run

      sh -x /usr/share/openmediavault/mkconf/sensors sensors

      pastes the output here.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • @jhmiller

      Source Code

      1. + set -e
      2. + . /etc/default/openmediavault
      3. + OMV_CONFIG_FILE=/etc/openmediavault/config.xml
      4. + OMV_CONFIG_TEMPLATE_FILE=/usr/share/openmediavault/templates/config.xml
      5. + OMV_PRODUCTINFO_FILE=/usr/share/openmediavault/productinfo.xml
      6. + OMV_SCRIPTS_DIR=/usr/share/openmediavault/scripts
      7. + OMV_I18N_LOCALE_DIR=/usr/share/openmediavault/locale
      8. + OMV_MOUNT_DIR=/media
      9. + OMV_NFSD_EXPORT_DIR=/export
      10. + OMV_CACHE_DIR=/var/cache/openmediavault
      11. + OMV_LOG_DIR=/var/log/openmediavault
      12. + OMV_CERTIFICATE_DIR=/etc/ssl
      13. + OMV_CERTIFICATE_PREFIX=openmediavault-
      14. + OMV_DPKGARCHIVE_DIR=/var/cache/openmediavault/archives
      15. + OMV_DOCUMENTROOT_DIR=/var/www/openmediavault
      16. + OMV_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      17. + OMV_RSYNC_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      18. + OMV_CONFIGIMPORT_SCRIPTS_DIR=/usr/share/openmediavault/configimport
      19. + OMV_MKCONF_SCRIPTS_DIR=/usr/share/openmediavault/mkconf
      20. + OMV_ENGINED_DIR=/usr/share/openmediavault/engined
      21. + OMV_ENGINED_SO_ADDRESS=/var/lib/openmediavault/engined.sock
      22. + OMV_ENGINED_SO_SNDTIMEO=10
      23. + OMV_ENGINED_SO_RCVTIMEO=180
      24. + OMV_ENGINED_DIRTY_MODULES_FILE=/var/lib/openmediavault/dirtymodules.json
      25. + OMV_INITSYSTEM_SCRIPTS_DIR=/usr/share/openmediavault/initsystem
      26. + OMV_INITSYSTEM_FILE=/var/lib/openmediavault/initsystem.req
      27. + OMV_FSTAB_MNTOPS_EXT3=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
      28. + OMV_FSTAB_MNTOPS_EXT4=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
      29. + OMV_FSTAB_MNTOPS_JFS=defaults,nofail,noexec,usrquota,grpquota
      30. + OMV_FSTAB_MNTOPS_XFS=defaults,nofail,noexec,usrquota,grpquota
      31. + OMV_FSTAB_MNTOPS_VFAT=defaults,nofail
      32. + OMV_FSTAB_MNTOPS_NTFS=defaults,nofail
      33. + OMV_FSTAB_MNTOPS_HFSPLUS=defaults,nofail,force
      34. + OMV_USERMGMT_DEFAULT_GROUP=users
      35. + OMV_RRDGRAPH_DIR=/var/lib/openmediavault/rrd
      36. + OMV_RRDGRAPH_ERROR_IMAGE=/usr/share/openmediavault/icons/rrd_graph_error_64.png
      37. + OMV_APACHE2_SUEXECUSERGROUP=openmediavault
      38. + OMV_DEBUG_SCRIPT=NO
      39. + OMV_DEBUG_PHP=NO
      40. + OMV_DEBUG_EXTJS=NO
      41. + OMV_RSNAPSHOT_CONFS_DIR=/var/lib/openmediavault/rsnapshot.d
      42. + OMV_RSNAPSHOT_CRONSCRIPT=/var/lib/openmediavault/cron.d/rsnapshot
      43. + OMV_WEBGUI_FILE_OWNERGROUP_NAME=openmediavault
      44. + OMV_FSTAB_MNTOPS_EXT2=defaults,nofail,acl,user_xattr,noexec
      45. + . /usr/share/openmediavault/scripts/helper-functions
      46. + . /etc/default/openmediavault
      47. + OMV_CONFIG_FILE=/etc/openmediavault/config.xml
      48. + OMV_CONFIG_TEMPLATE_FILE=/usr/share/openmediavault/templates/config.xml
      49. + OMV_PRODUCTINFO_FILE=/usr/share/openmediavault/productinfo.xml
      50. + OMV_SCRIPTS_DIR=/usr/share/openmediavault/scripts
      51. + OMV_I18N_LOCALE_DIR=/usr/share/openmediavault/locale
      52. + OMV_MOUNT_DIR=/media
      53. + OMV_NFSD_EXPORT_DIR=/export
      54. + OMV_CACHE_DIR=/var/cache/openmediavault
      55. + OMV_LOG_DIR=/var/log/openmediavault
      56. + OMV_CERTIFICATE_DIR=/etc/ssl
      57. + OMV_CERTIFICATE_PREFIX=openmediavault-
      58. + OMV_DPKGARCHIVE_DIR=/var/cache/openmediavault/archives
      59. + OMV_DOCUMENTROOT_DIR=/var/www/openmediavault
      60. + OMV_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      61. + OMV_RSYNC_CRONSCRIPTS_DIR=/var/lib/openmediavault/cron.d
      62. + OMV_CONFIGIMPORT_SCRIPTS_DIR=/usr/share/openmediavault/configimport
      63. + OMV_MKCONF_SCRIPTS_DIR=/usr/share/openmediavault/mkconf
      64. + OMV_ENGINED_DIR=/usr/share/openmediavault/engined
      65. + OMV_ENGINED_SO_ADDRESS=/var/lib/openmediavault/engined.sock
      66. + OMV_ENGINED_SO_SNDTIMEO=10
      67. + OMV_ENGINED_SO_RCVTIMEO=180
      68. + OMV_ENGINED_DIRTY_MODULES_FILE=/var/lib/openmediavault/dirtymodules.json
      69. + OMV_INITSYSTEM_SCRIPTS_DIR=/usr/share/openmediavault/initsystem
      70. + OMV_INITSYSTEM_FILE=/var/lib/openmediavault/initsystem.req
      71. + OMV_FSTAB_MNTOPS_EXT3=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
      72. + OMV_FSTAB_MNTOPS_EXT4=defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0
      73. + OMV_FSTAB_MNTOPS_JFS=defaults,nofail,noexec,usrquota,grpquota
      74. + OMV_FSTAB_MNTOPS_XFS=defaults,nofail,noexec,usrquota,grpquota
      75. + OMV_FSTAB_MNTOPS_VFAT=defaults,nofail
      76. + OMV_FSTAB_MNTOPS_NTFS=defaults,nofail
      77. + OMV_FSTAB_MNTOPS_HFSPLUS=defaults,nofail,force
      78. + OMV_USERMGMT_DEFAULT_GROUP=users
      79. + OMV_RRDGRAPH_DIR=/var/lib/openmediavault/rrd
      80. + OMV_RRDGRAPH_ERROR_IMAGE=/usr/share/openmediavault/icons/rrd_graph_error_64.png
      81. + OMV_APACHE2_SUEXECUSERGROUP=openmediavault
      82. + OMV_DEBUG_SCRIPT=NO
      83. + OMV_DEBUG_PHP=NO
      84. + OMV_DEBUG_EXTJS=NO
      85. + OMV_RSNAPSHOT_CONFS_DIR=/var/lib/openmediavault/rsnapshot.d
      86. + OMV_RSNAPSHOT_CRONSCRIPT=/var/lib/openmediavault/cron.d/rsnapshot
      87. + OMV_WEBGUI_FILE_OWNERGROUP_NAME=openmediavault
      88. + OMV_FSTAB_MNTOPS_EXT2=defaults,nofail,acl,user_xattr,noexec
      89. + OMV_XMLSTARLET_GET_SHAREDFOLDER_PATH=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'/',reldirpath) -b
      90. + OMV_XMLSTARLET_GET_SHAREDFOLDER_NAME=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v name -b
      91. + OMV_XMLSTARLET_GET_SHAREDFOLDER_MOUNT_DIR=-m //system/shares/sharedfolder[uuid=current()/sharedfolderref] -v concat(//system/fstab/mntent[uuid=current()/mntentref]/dir,'/',reldirpath) -b
      92. + y=0
      93. + outfile=/usr/share/openmediavault/mkconf/collectd.d/sensors
      94. + end=\
      95. + starteof2=cat <<EOF >> ${OMV_COLLECTD_RRDTOOL_MKGRAPH}
      96. + starteof1=cat <<EOF >> ${OMV_COLLECTD_CONFIG}
      97. + statment1=if ! grep -q "LoadPlugin sensors" "$OMV_COLLECTD_CONFIG"; then
      98. + endeof=EOF
      99. + graph=OMV_COLLECTD_RRDTOOL_MKGRAPH=${OMV_COLLECTD_RRDTOOL_MKGRAPH:-"/usr/sbin/omv-mkgraph"}
      100. + collected=OMV_COLLECTD_CONFIG=${OMV_COLLECTD_CONFIG:-"/etc/collectd/collectd.conf"}
      101. + omv_config_get //services/sensors/cpuenable
      102. + local _queryresult _result
      103. + omv_debug omv_config_get: xpath=<//services/sensors/cpuenable>
      104. + xmlstarlet sel -t -v+ //services/sensors/cpuenable /etc/openmediavault/config.xml
      105. xmlstarlet unesc
      106. + _queryresult=1
      107. + _result=0
      108. + echo 1
      109. + omv_debug omv_config_get: results: query=<1> cmd=<0>
      110. + return 0
      111. + [ 1 = 0 ]
      112. + [ ! -f /usr/share/openmediavault/mkconf/collectd.d/sensors ]
      113. + [ ! -f /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/Sensors.js ]
      114. + omv_config_get //services/sensors/cpuenable
      115. + local _queryresult _result
      116. + omv_debug omv_config_get: xpath=<//services/sensors/cpuenable>
      117. + xmlstarlet sel -t -v //services/sensors/cpuenable /etc/openmediavault/config.xml
      118. + xmlstarlet unesc
      119. + _queryresult=1
      120. + _result=0
      121. + echo 1
      122. + omv_debug omv_config_get: results: query=<1> cmd=<0>
      123. + return 0
      124. + [ 1 = 1 ]
      125. + sed -i /#\ <<<\ \[openmediavault\]\ sensors-script/,/#\ >>>\ \[openmediavault\]\ sensors-script/d /usr/sbin/omv-mkgraph
      126. + egrep ^LoadPlugin sensors /etc/collectd/collectd.conf
      127. + echo -e LoadPlugin sensors\n
      128. + chmod +x /usr/share/openmediavault/mkconf/collectd.d/sensors
      129. + /usr/share/openmediavault/mkconf/collectd.d/sensors
      130. + /etc/init.d/collectd restart
      131. + /usr/sbin/omv-mkgraph​
      Display All


      and also, something strange happened to the Status page:
      nut graphs went missing, "Temperature monitor" tab appeared with sad smiles, and when I click "refresh", I get this:

      Source Code

      1. ​Ошибка #4000:
      2. exception 'OMVException' with message 'Failed to execute command 'omv-mkgraph 2>&1': ERROR: No DS called 'value' in '/var/lib/rrdcached/db//localhost/nut-ups/percent-charge.rrd'' in /usr/share/openmediavault/engined/rpc/rrd.inc:65
      3. Stack trace:
      4. #0 [internal function]: OMVRpcServiceRrd->generate(NULL, Array)
      5. #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      6. #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('generate', NULL, Array)
      7. #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Rrd', 'generate', NULL, Array, 1)
      8. #4 {main}
      OMV 1.0, Pentium G2120 3.1 GHz, 8 Gb RAM, SnapRAID+aufs 3x4Tb Ext4 + 1x1Tb Ext4, boot ssd 32Gb ADATA
    • Try uninstalling the plugin and reinstalling it, the command I asked you to run did not show any errors so it should produce the graphs.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • Hello guys, sorry for stupid questions, im total noob in this.

      I studied all previous posts before, and I have mismatch in my head from all of that. But I started here.
      Running OMV 1.16 on BananaPi. I installed from testing repository under "testing" openmediavault-sensors, sucesfully installed and found shortcut "sensors" betwenn Rsync and "SMB/CIFS" ... I checked "CPU Temperature - Will monitor CPU Temperature - Working", but I didnt see anything about temperature in "Status" card.

      PLease can you tell me what to do ?

      When I write "sensors" to SSH, it will blow up somethink like this :
      root@BanaNAS:~# sensors
      axp20_mfd-i2c-0-34
      Adapter: sunxi-i2c.0
      temp1: +42.6°C (low = -144.7°C, high = +264.8°C)



      Please can you tell me what to do, if I want this info in a graph on a status page ?

      Sorry for my English, Im form Slovakia.

      Thank you for your help. If it is needed, I will donate author of tutorial :) Just write me an email on winky1404@gmail.com" Thanks :)
    • I just installed this version
      omv-extras.org/debian/pool/main/o/openmediavault-sensors/
      that's the 1.05 version on a HP Microserver Gen8 (has a lot of sensors) ;)

      Happy to see the CPU temp now in a graph (needed a force refresh in my browser (no reboot or restart) after enabling the start of creating a graph)
      4x HP Microserver gen8, 3x with OMV. Puffer: 4x3TB RAID5; Nemo:4x3TB RAID5; Shark: 4x2TB RAID5
    • A lot of times, you will see two temps - a virtual acpi temp and a coretemp or k10temp. They are usually different. I would trust the coretemp or k10temp more than acpi temp.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Just a question.
      where to find the latest plugin?
      My latest issue is that or after a reboot OR after a change in the system the sensors plugin does not work anymore (no generation of new graphs)
      Today I removed sensors at it did not succeed to run after latest update of the kernel and the reboot afterwards

      Like to test and would love to keep testing with the latest version.
      Thanks
      4x HP Microserver gen8, 3x with OMV. Puffer: 4x3TB RAID5; Nemo:4x3TB RAID5; Shark: 4x2TB RAID5
    • 1.0.5 is the latest version.
      If you changed something in your system then just untick all boxes save/apply then retick and it should adjust to the new system.

      @blindguy I will see what can be done about using F instead of C.
      [IMG:http://widgets.trakt.tv/users/1f5d0f5ed67f98ed9d06d9849b42dd0e/watched/banner@1x.jpg]
      What I am watching/watched on my Popcorn Hour media player
      omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
      MySQL (Percona) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS
    • ryecoaaron wrote:

      A lot of times, you will see two temps - a virtual acpi temp and a coretemp or k10temp. They are usually different. I would trust the coretemp or k10temp more than acpi temp.



      I see that now. Yes I have a k10temp-pci-00c3, fam15h_power-pci-00c4, nouveau-pci-0100, and a nct6776-isa-0290. The k10temp-pci-00c3 seems to match that OMV is reporting.

      Thanks for the info!
      NAS Details: New Server Build
    • Hello, Please can you provide some good HOWTO or documentation to add more graphs?.

      I see my CPU Temp:


      but I want to see my Fans.

      some info:
      Display Spoiler
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Sun Jun 7 10:05:34 2015 from raul
      root@BNAS:~# ls -l /var/lib/rrdcached/db/localhost/sensors-*/
      total 2368
      -rw-r--r-- 1 root root 148648 jun 7 11:13 fanspeed-fan1.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 fanspeed-fan2.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 fanspeed-fan3.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 fanspeed-fan5.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 temperature-temp1.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 temperature-temp2.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 temperature-temp3.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in0.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in1.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in2.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in3.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in4.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in5.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in6.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in7.rrd
      -rw-r--r-- 1 root root 148648 jun 7 11:13 voltage-in8.rrd
      root@BNAS:~# sensors
      it8720-isa-0228
      Adapter: ISA adapter
      in0: +1.04 V (min = +0.00 V, max = +4.08 V)
      in1: +1.86 V (min = +0.00 V, max = +4.08 V)
      in2: +3.28 V (min = +0.00 V, max = +4.08 V)
      +5V: +2.94 V (min = +0.00 V, max = +4.08 V)
      in4: +3.12 V (min = +0.00 V, max = +4.08 V)
      in5: +0.14 V (min = +0.00 V, max = +4.08 V)
      in6: +4.08 V (min = +0.00 V, max = +4.08 V)
      5VSB: +3.01 V (min = +0.00 V, max = +4.08 V)
      Vbat: +2.96 V
      fan1: 967 RPM (min = 10 RPM)
      fan2: 1336 RPM (min = 0 RPM)
      fan3: 1377 RPM (min = 0 RPM)
      fan5: 1229 RPM (min = 0 RPM)
      temp1: +43.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
      temp2: +33.0°C (low = +127.0°C, high = +80.0°C) sensor = thermal diode
      temp3: +42.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
      cpu0_vid: +1.250 V
      intrusion0: OK

      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife