Temperature CPU?

  • Hello, is Sensors sorted on OMV 3.0 Banana Pi? I'm not getting it in System information.
    CPU, Cores, MB - On.

    What do you see when you run sensors in a shell?
    If that gives sensor information I can add it to the list of devices

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Any way to add ipmi info to sensors?


    OMV 6.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • Any way to add ipmi info to sensors?


    OMV 6.x
    Supermicro X9DRH-7F
    2X-XEON E5-2660V2
    128GB PC3-10600R ECC REG
    Supermicro SATA DOM 64GB
    Areca ARC-1883IX-24
    24X - WD WD80EFZX
    NORCO RPC-4224 4U
    Eaton 5PX 1500

  • @jhmiller I'm hoping that you might be able to aadd my sensors into the plugin assuming that they aren't already there. I'm having some trouble trying to get the plugin to work. Getting sad faces when I try to add in dashboard. /usr/bin/sensors is workig though. Below is the information. Thanks for the plugin!



  • @RobbieL811


    I have made changes to the detection script, please follow the instructions below to get the latest version.



    Code
    rm /usr/share/openmediavault/mkconf/sensors
    wget -O /usr/share/openmediavault/mkconf/sensors https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-sensors/master/usr/share/openmediavault/mkconf/sensors
    chmod +x /usr/share/openmediavault/mkconf/sensors
    /usr/share/openmediavault/mkconf/sensors


    Refresh OMV webui after and before checking graphs. Also, start by only trying CPU temps.


    If that does not work try running sh -x /usr/share/openmediavault/mkconf/sensors and show me the output so I can try to figure whats wrong.

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • @jhmiller


    Your last script works great for me with some little modifications in order to configure on a Qnap TS-251 with Fintek F71882fg :


    omv-mkconf sensors output :


    Sensors output :


    In /usr/share/openmediavault/mkconf/sensors i add the lines :


    [...]
    do_sys1() {
    if [ ! -z $sys_fan ]; then
    case "$sys_fan" in
    "sensors-emc6d103-i2c-1-2d"*) rrd=1 ;;
    "sensors-nct6792*"*) rrd=1 ;;
    "sensors-nct6776"*) rrd=1 ;;
    "sensors-nct6779"*) rrd=1 ;;
    "sensors-w83627thf"*) rrd=1 ;;
    "sensors-it8728"*) rrd=3 ;;
    "sensors-fschds-"*) rrd=3 ;;
    "sensors-f71869a"*) rrd=1 ;;
    ...
    # Get MB temp
    ...
    elif [ -e /var/lib/rrdcached/db/localhost/sensors-f71869a*/temperature-temp2.rrd ]; then
    mb_temp="sensors-f71869a*"
    ...
    # Get SYS FAN
    ...
    elif [ -e /var/lib/rrdcached/db/localhost/sensors-f71869a*/fanspeed-fan1.rrd ]; then
    sys_fan="sensors-f71869a*"
    [...]


    BTW, when will the plugin moved to stable ?


    Thx.


    Regards,

  • @Silberlog


    Thanks for the information, I have added it to the script if you would like to check it out.
    hopefully others will find it useful as well.


    BTW, when will the plugin moved to stable ?

    Not sure, I have lots of ideas but no time to try them out, simple fixes and adding other peoples stuff is fine as it takes no time but more complex stuff requires a lot more time.

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Could you also please add entries for it8721 ("ITE IT8721F/IT8758E Super IO Sensors" / Qnap TS-239 Pro II+ series) :


    [...]
    do_mb1() {
    if [ ! -z $mb_temp ]; then
    case "$mb_temp" in
    "sensors-nct6792*"*) rrd=1 ;;
    "sensors-nct6776"*) rrd=1 ;;
    "sensors-nct6779"*) rrd=1 ;;
    "sensors-w83627thf"*) rrd=1 ;;
    "sensors-it8771"*) rrd=1 ;;
    "sensors-it8728"*) rrd=1 ;;
    "sensors-it8721"*) rrd=1 ;;
    "sensors-thinkpad-isa"*) rrd=11 ;;
    "sensors-fschds-"*) rrd=3 ;;
    *) rrd=2 ;;
    ...
    do_mb1f() {
    if [ ! -z $mb_temp ]; then
    case "$mb_temp" in
    "sensors-nct6792*"*) rrd=1 ;;
    "sensors-nct6776"*) rrd=1 ;;
    "sensors-nct6779"*) rrd=1 ;;
    "sensors-w83627thf"*) rrd=1 ;;
    "sensors-it8771"*) rrd=1 ;;
    "sensors-it8728"*) rrd=1 ;;
    "sensors-it8721"*) rrd=1 ;;
    "sensors-thinkpad-isa"*) rrd=11 ;;
    "sensors-fschds-"*) rrd=3 ;;
    *) rrd=2 ;;
    ...
    do_sys1() {
    if [ ! -z $sys_fan ]; then
    case "$sys_fan" in
    "sensors-emc6d103-i2c-1-2d"*) rrd=1 ;;
    "sensors-nct6792*"*) rrd=1 ;;
    "sensors-nct6776"*) rrd=1 ;;
    "sensors-nct6779"*) rrd=1 ;;
    "sensors-w83627thf"*) rrd=1 ;;
    "sensors-it8728"*) rrd=3 ;;
    "sensors-it8721"*) rrd=1 ;;
    "sensors-fschds-"*) rrd=3 ;;
    "sensors-f71869a"*) rrd=1 ;;
    *) rrd=2 ;;
    ...
    # Get MB temp
    if [ -e /var/lib/rrdcached/db/localhost/sensors-atk011*/temperature-temp2.rrd ]; then
    mb_temp="sensors-atk0110*"
    elif [ -e /var/lib/rrdcached/db/localhost/sensors-it8721*/temperature-temp1.rrd ]; then
    mb_temp="sensors-it8721*"
    ...
    # Get SYS FAN
    if [ -e /var/lib/rrdcached/db/localhost/sensors-atk011*/fanspeed-fan1.rrd ]; then
    sys_fan="sensors-atk0110*"
    elif [ -e /var/lib/rrdcached/db/localhost/sensors-it8721*/fanspeed-fan1.rrd ]; then
    sys_fan="sensors-it8721*"
    ...


    Regards,

  • Changed CPU's and now can't get sensor graphs to work.


    Old system: dual Xeon E5606 installed in an asus motherboard. The graphs for the core temperatures displayed correctly.


    New upgrade: Same motherboard, but now I have dual Xeon X5670 installed.


    I have tried to purge and reinstall the sensor package.
    However when enabling the core temperatures, I keep getting an error.


    What should I do next ?

  • Here is the details of the error when trying to activate "Show Cores"


  • Hi,
    I am on a new Terramaster F2-220 and new openmediavault user
    I installed sensor plugin and after an error activating Temp CPU I tried to update to the latest version from github following your instruction.


    I have always the same error and I' m not able to "apply" changes.


    This is the error:


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf sensors balls 2>&1' with exit code '2': # sensors-detect revision $Revision$ # Board: AMI Corporation Aptio CRB # Kernel: 4.9.0-0.bpo.3-amd64 x86_64 # Processor: Intel(R) Celeron(R) CPU J1800 @ 2.41GHz (6/55/8) Running in automatic mode, default answers to all questions are assumed. Some south bridges, CPUs or memory controllers contain embedded sensors. Do you want to scan for them? This is totally safe. (YES/no): Module cpuid loaded successfully. Silicon Integrated Systems SIS5595... No VIA VT82C686 Integrated Sensors... No VIA VT8231 Integrated Sensors... No AMD K8 thermal sensors... No AMD Family 10h thermal sensors... No AMD Family 11h thermal sensors... No AMD Family 12h and 14h thermal sensors... No AMD Family 15h thermal sensors... No AMD Family 16h thermal sensors... No AMD Family 15h power sensors... No AMD Family 16h power sensors... No Intel digital thermal sensor... Success! (driver `coretemp') Intel AMB FB-DIMM thermal sensor... No Intel 5500/5520/X58 thermal sensor... No VIA C7 thermal sensor... No VIA Nano thermal sensor... No Some Super I/O chips contain embedded sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f Trying family `National Semiconductor/ITE'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Nuvoton/Fintek'... No Trying family `ITE'... Yes Found `ITE IT8772E Super IO Sensors' Success! (address 0xa30, driver `it87') Probing for Super-I/O at 0x4e/0x4f Trying family `National Semiconductor/ITE'... No Trying family `SMSC'... No Trying family `VIA/Winbond/Nuvoton/Fintek'... No Trying family `ITE'... No Some systems (mainly servers) implement IPMI, a set of common interfaces through which system health data may be retrieved, amongst other things. We first try to get the information from SMBIOS. If we don't find it there, we have to read from arbitrary I/O ports to probe for such interfaces. This is normally safe. Do you want to scan for IPMI interfaces? (YES/no): Probing for `IPMI BMC KCS' at 0xca0... No Probing for `IPMI BMC SMIC' at 0xca8... No Some hardware monitoring chips are accessible through the ISA I/O ports. We have to write to arbitrary I/O ports to probe them. This is usually safe though. Yes, you do have ISA I/O ports even if you do not have any ISA slots! Do you want to scan the ISA I/O ports? (yes/NO): Lastly, we can probe the I2C/SMBus adapters for connected hardware monitoring devices. This is the most risky part, and while it works reasonably well on most systems, it has been reported to cause trouble on some systems. Do you want to probe the I2C/SMBus adapters now? (YES/no): Found unknown SMBus adapter 8086:0f12 at 0000:00:1f.3. Sorry, no supported PCI bus adapters found. Module i2c-dev loaded successfully. Next adapter: SMBus I801 adapter at f000 (i2c-0) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus ssc (i2c-1) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus vga (i2c-2) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus panel (i2c-3) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpc (i2c-4) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpb (i2c-5) Do you want to scan it? (yes/NO/selectively): Next adapter: i915 gmbus dpd (i2c-6) Do you want to scan it? (yes/NO/selectively): Now follows a summary of the probes I have just done. Driver `it87': * ISA bus, address 0xa30 Chip `ITE IT8772E Super IO Sensors' (confidence: 9) Driver `coretemp': * Chip `Intel digital thermal sensor' (confidence: 9) Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): To load everything that is needed, add this to one of the system initialization scripts (e.g. /etc/rc.d/rc.local): #----cut here---- # Chip drivers modprobe coretemp modprobe it87 /usr/bin/sensors -s #----cut here---- You really should try these commands right now to make sure everything is working properly. Monitoring programs won't work until the needed modules are loaded. Unloading i2c-dev... OK Unloading cpuid... OK

    I need a hint, please.


    Thank you

  • @Ambro72 and @vshaulsk
    Did you have the error before updating? What OMV version?



    Can you both provide the output of sh -x /usr/share/openmediavault/mkconf/sensors
    Make sure you have enabled at least the CPU temps (even if if errors when you apply)

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I attach output of your command after having the error message.

    That does not look correct. It should end like


    Code
    + service collectd restart
    + /usr/sbin/omv-mkgraph
    + rm -f /var/cache/openmediavault/cache.omv\controlpanel\login_js.json
    + exit 0

    I would first try uninstalling then reinstalling, do not update to latest script, enable CPU temp only and if fails then re-run the command i gave you above.
    What sensors are shown when you run sensors from the shell?

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Ok. Sorry.


    I uninstalled sensor plugin, I installed sensor plugin 3.0, I activated CPU temperature, I click "save", I click "Apply" and I have error again.


    Now I run the command and I attach the output.


    And this is the output when I run sensors :



    Bash
    root@ServerOMV:~# sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:       +31.0°C  (high = +105.0°C, crit = +105.0°C)
    Core 1:       +31.0°C  (high = +105.0°C, crit = +105.0°C)
  • Try this


    Code
    modprobe it87
    /usr/bin/sensors -s

    Then run sensors again to see if it picks up on your it87 sensor.

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Yeah

    And now, after omv-mkconf sensors, I tried to activate CPU Temperature in WEBGui and no errors when I click on apply! Wonderful!


    But in the monitor cpu page I see sad faces... ||

  • To make those commands run on boot (they need to be)


    edit /etc/rc.local nano /etc/rc.local and put the line in near the bottom but before the exit command.



    I have added the it877 sensor to the script but you must manually update it by doing





    Code
    rm /usr/share/openmediavault/mkconf/sensors
    wget -O /usr/share/openmediavault/mkconf/sensors https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/openmediavault-sensors/master/usr/share/openmediavault/mkconf/sensors
    chmod +x /usr/share/openmediavault/mkconf/sensors
    /usr/share/openmediavault/mkconf/sensors

    Should be good after this.

    [align=center]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[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • Thank you for your assistance!


    I made all thinks you write me. And I restart the system


    Now module it877 is loaded at bootup.


    Code
    # lsmod | grep it87
    it87                   57344  0 
    hwmon_vid              16384  1 it87

    I clear cache of my browser but in OMV Sensors panel I see only sad faces.
    I traied to deactivate CPU temperature and reactivate too, but with the same result. ;(

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!