OMV Sensos not working anymore

  • If you had the dashboard enabled you will need to delete the cache from the browser you were using or use another browser or incognito mode.

    [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 reinstalled Sensor plugin and now when I activate only CPU Temp I get this error message after applying the changes:


    I also run your update you proposed earlier:

    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


    Then sensors-detect and still nothing, error message and sad faces in graph.


    I am lost :) :)... probable I have to give up :(:( This proves me I am still beginner in linux :) :)

  • Try disabling the cpu temp, save and apply then re-enable it. Check the graph after refreshing the webui.
    If you still see sad faces try the refresh button on the graph tab.


    Another idea is too first check that the file /usr/share/openmediavault/mkconf/collectd.d/sensors is there and that the file /etc/collectd/collectd.conf has the line LoadPlugin sensors near the bottom.
    Check /usr/sbin/omv-mkgraph you should see (near the bottom)
    rrdtool graph ${IMGDIR}/sensors-hour.png --start ..... DEF:cpupavg=${DATA}/sensors-YOUR SENSOR HERE/temperature-temp1.rrd .........................
    If both are correct try doing


    service collectd restart
    /usr/sbin/omv-mkgraph

    [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 mamged to make it work again. I removed Sensor plugin again, removed lm-sensors, apt-get autoclean, apt-get update....then just installed sensor plugin.
    Now it shoes the mb temp or gpu temp in graph which is around 26o C. CPU shloud be around 39o C.


    Should I run that update again?

  • Somehow we have to get in graph the readings from temp2 and fan1 from f71808a-isa-0a00.
    If we can also get other Items would be nice but not necessary.

  • Until a new package is released you will need to run the update commands, this is to avoid releasing a bad package.


    I have just updated the script as it was looking for temp1.rrd file but your sensor is using the temp2.rrd, that was the cause of the wrong numbers graph issue (i think)

    [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

  • What is in this file /usr/share/openmediavault/mkconf/collectd.d/fan


    Run cat /usr/share/openmediavault/mkconf/collectd.d/fan


    The file will only be there if you have cpu fan activated on the plugin page, if it is still not there please run the debug command again.

    [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

  • The file is there and this is the content

    Looks like the reference to "/sensors-f71808a-isa-0a00/fanspeed-fan1.rrd" is ok but I am not an expert. :)


    Sorry to bothering you so much...you spend a lot of time helping me

  • Take a look in /var/lib/rrdcached/db/localhost/sensors-f71808a-isa-0a00/
    See if fanspeed-fan1.rrd is there.


    Run sh -x /usr/share/openmediavault/mkconf/sensors again and give me the output.


    I am happy to help as it will help others with the same senors.

    [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

  • Can you show what is in the file /usr/share/openmediavault/mkconf/collectd.d/fan


    Everything looks good in the debug log but it does not show what is written to the fan file.

    [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

  • This is the content of the fan file:


    I think its the same as posted earlier but at that time I deleted the commented lines.

  • Check in the folder /var/lib/openmediavault/rrd/ for fan-day.png and other png files starting with fan-
    If they are there then you should only need to refresh the OMV webui

    [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

  • fan-day.png is there and the other fan-*.png files.
    Refreshed the webui...no fan speed graph


    Am I doing something wrong? I only activated CPU temp and CPU fan speed in the plugin settings. Added the OMV Sensor widget on the dashboard but this only show the CPU temperature related graphs (by day, week, month, year). No CPU fan speed graph. Do I miss something?

  • I do not know whats up, everything is as it should be as far as i can tell.
    Just something about your fan sensor that does not want to play ball.

    [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 looked at /usr/share/openmediavault/mkconf/sensors and noticed that in the do_fan1() section, in case "$cpu_fan" in the "sensors-f71808a"*) rrd=2 ;; was missing.



    I added it backed up the original file and replace it....but no go with CPU fan speed graph


    It was just a beginner try, don't laugh :) :)

  • All fans use a value of 1 unless its in the list *) rrd=1


    I have been looking at the code and your latest output and can not find anything amiss :(

    [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

Jetzt mitmachen!

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