Temperature Sensor

  • It should be 1:1 what the startpost said



    Maybe the problem is that i created the files on windows? I set the format to LF but maybe the "newline" at the end of each file isn't the same as a unix newline? could that cause a problem?


    Edit: Yes it was the format... i don't know which part ... i guess some of the spaces in the header part of sensors... works now :) thanks

  • Hi,


    First thank you for the effort and scripts :) I used it on my old OMV 0.4


    I have a question, Does this work on OMV 0.5 ?


    It goes like this:
    - I freshly installed OMV 0.5 and plugins
    - Installed lmsensors and its working okay
    - used your master.zip , ran ./install-remove.sh , with omv-sensor.conf configured it and script ran okay, BUT, the omv GUI wont come up after! :)
    error saying:


    exception 'Exception' with message 'Failed to open file js/omv/NavigationPanel.js.' in /usr/share/php/openmediavault/htmlpage.inc:42


    (and i cant find NavigationPanel.js anywhere)


    Any hints?


    thanks!
    Mahmoud

    • Offizieller Beitrag

    omv 0.5 is completely different. solo said he was going to work on a new version but it will be November before he is done.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • OMV 0.5 How To:


    Hi guys,
    I wasted 2 hours trying to make this work with no luck, but I managed to fix by modifying 2 files to make it run on OMV 0.5
    So here goes:
    - install lm-sensors and configure it (so the command 'sensors' will show you the needed temperatures)
    - run the script within the master.zip by Solo0815 and follow the instructions.


    When done: The GUI will NOT WORK, but no worries.
    I modified some stuff to make it work for 0.5,
    all you have to do is to copy the file in the tar to following location in to your omv machine:


    /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/Temperatures.js
    /usr/share/openmediavault/mkconf/collectd.d/sensors


    and run

    Code
    /etc/init.d/collectd restart
    omv-mkgraph


    As you see in the attached jpg it now works for me :geek:


    Thank you Solo0815 and Volker for the files that I could copy n paste from ;)


    cheers!
    Mahmoud


    ***EDIT: if the omv GUI fails again (and it will), just run this:
    delete /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/Sensors.js
    something (cron?) is copying the old file to the old location.
    And apologies for this dirty no-tests fix :roll: I'll try to free some time and make a proper fix. cheers.

  • I recently update my system from 0.4 to 0.5.21. I had temperatures graphs at my status page. I followed your guidelines but without any luck. I can login OMV but at temperatures tab, under status I get no graphs.
    Is it possible to point me the files I need to edit in order to get my graphs working again? Thank you in advanced

  • Solo wasn't that active the last few weeks so it might be some time before he gets time for the new plugin.


    I don't know about the graphs, either.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • I managed to fix it. The problems were at the configuration files (I did not configure correctly the path for my rrd files) and I had to remove the sensors.js file as Mahmoud said, but it was at another folder. I found it inside

    Code
    /var/www/openmediavault/js/omv/module/admin

    . Now it is working again!

  • I saw some strange things after some hours. I lost my graphs again. When I manually ran

    Code
    /usr/share/openmediavault/scripts/collectd.d/sensors

    and after that

    Code
    /etc/init.d/collectd restart

    and

    Code
    omv-mkgraph

    I lost again GUI, I searched my files deleted again the sensors.js and restore my GUI and graphs again.
    I now this is not stable. Can anyone help?

  • I fork'd Solo0815's script and spent the weekend making an updated version that includes Mahmoud's update as well getting HDDTemps to work. I've issued a pull request to merge the results back to Solo0815's work, but in the meantime you can download script at: https://github.com/fergbrain/omvsensors/archive/master.zip


    Note: this is designed for OMV 0.5...do not try to use this on OMV 0.4. Also, wasn't able to checkout the fanspeed settings, so if they don't work let me know.


    Instructions are in the README.md file, which you can also view: https://github.com/fergbrain/omvsensors

  • is there any way to implement this using ipmi-sensors ? i cannot get my BMC data using sensors (including using version 3.3.4) but i can using ipmi-sensors as below.


    ipmi-sensors
    7936: Watchdog (Watchdog 2): [OK]
    22599: CPU_THEMAL (Temperature): 48.00 C (NA/110.00): [OK]
    22619: NB_THERMAL (Temperature): 46.00 C (NA/105.00): [OK]
    22593: SEL Rate (Other Fru): 0.00 msgs (NA/90.00): [OK]
    22620: AMBIENT_THERMAL (Temperature): 28.00 C (NA/45.00): [OK]
    22617: EvtLogDisabled (Event Logging Disabled): [OK]
    22618: System Event (System Event): [OK]
    22608: SYS_FAN (Fan): 1200.00 RPM (0.00/NA): [OK]
    22621: CPU Thermtrip (Processor): [Unknown]
    1536: Sys Pwr Monitor (Power Unit): [OK]

  • deejc,


    I have an HP Microserver N54L, but I don't have the Remote Access Card, so I can't develop that functionality. If you could get me a RAC, I'd be happy to see what I could do to implement that functionality.

  • After the laste update of OMV to 5.25 I lost my temperatures graphs again. I could see the tab but no images inside. I used the script to remove all the files and download the new script. I ran it again, edit the configuration file and now I have two tabs with the same name and my temperature graphs inside :evil: I search all the files I knew and could not find the error. Can somebody help me in order to remove the one tab? In which files we can find the tabs?

  • The tabs are listed in /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/, but you'll have to look in the files to see what the name of the tabs are. Can you run and post the result of:


    Code
    ls /var/www/openmediavault/js/omv/module/admin/diagnostic/system/plugin/

Jetzt mitmachen!

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