Beiträge von johny_sketo

    To be honest till now I have install it on 32bit systems only but I do not think that the 64bit would be an issue. After you installed the lm-sensors package did you try to follow again the procedure from the start? Have you tried to reboot?

    It looks great. I think you could use the analog meter in front for other uses, exept measuring voltage... Maybe somethink like this

    Code
    http://hackaday.com/2010/11/24/building-a-bandwidth-meter/

    I recently managed to install OMV on my RPi. After having some problems with the plugins I finally find the correct way installing everything. I saw that the interface graps, under system does not appear. I checked the collectd interface plugin and it looks ok but it does not create the graph images. Does anybody else, with Rpi, have the same issue? Does anybody know how to solve this issue?

    Based on this topic

    Code
    http://forums.openmediavault.org/viewtopic.php?f=13&t=79

    I created a template to graph the RPi SoC temperature.


    First of all

    Code
    nano /var/www/openmediavault/js/omv/module/admin/Sensors.js


    and put inside


    Then you have to create another file to get your changes in to collectd.conf and omv-mkgraph:

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


    and put inside


    Code
    cd /var/lib/collectd/rrd/localhost


    Then you have to create the temperature database

    Code
    nano createrrd.sh

    and put inside


    Afterwards you have to make it executable

    Code
    chmod +x createrrd.sh

    and then run it

    Code
    ./createrrd.sh

    . This should create a file inside the folder named database.rrd. which will store all the temp data. After that, log in the webgui, go to the System information-> System->Temperature tab. After some minutes you should get you SoC temp



    The next step is to graph also the CPU freq parallel to the temp graph (for those who overclocked the SoC) :D

    I just noticed something strange... I am stack at ver 4.0.1, I cannot update to 4.6 e.t.c. and I cannot see all the plugins (for example transmission) :shock:
    The contents of my source files are
    /etc/apt/sources.list

    Code
    deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$
    deb http://archive.raspbian.org/raspbian wheezy main
    deb-src http://archive.raspbian.org/raspbian wheezy main


    /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list

    Code
    deb http://packages.omv-plugins.org fedaykin main


    /etc/apt/sources.list.d/omv-local.list EMPTY
    /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list

    Code
    deb http://packages.omv-plugins.org fedaykin main


    Any help???

    I erased by mistake my OMV installation from my Raspberry Pi and I had to reinstalled it. I installed the wheezy-rasbian image and removed a lot packages to make it lighter

    Code
    http://sirlagz.net/2012/08/18/raspbian-server-edition/

    Then, I used this guide

    Code
    https://www.element14.com/community/groups/raspberry-pi/blog/2012/12/14/raspberry-pi-nas-with-openmediavault

    and I succefully installed OMV again.
    I saw that I could not install any plugins or view the plug in list. I get the following error

    Code
    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C;sudo dpkg-query --list openmediavault-*': ' in /var/www/openmediavault/rpc/plugin.inc:186
    Stack trace:
    #0 [internal function]: PluginRpc->getList(Array)
    #1 /usr/share/php/openmediavault/rpc.inc(262): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('Plugin', 'getList', Array)
    #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #4 {main}


    I checked the

    Code
    /etc/apt/sources.list
    /etc/apt/sources.list.d/omv-plugins-org-fedaykin.list
    /etc/apt/sources.list.d/omv-local.list
    /etc/apt/sources.list.d/openmediavault.list

    with another working OMV installation I have and they were the same, exept the one os i386 based and the other arm based.


    I also tried

    Code
    rm -v /var/lib/apt/lists/*

    but nothing changed. Can anyone help?

    To be honest I am a little confused, before you wrote as root@openmediavault and now as root@Sun.
    If you browse

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

    do you find the sensors file inside? Is it executable?


    I hope this helps.

    Zitat von "shluzzzoid"


    what am I doing wrong?
    Graphics work after restarting collectd and try omv-mkgraph, but i can not install updates on openmediavault.


    If you run

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

    what are the results?

    Check the permissions of the folder you configured before (lets say /tmp at my example). Does your user have permission to read and write to this folder?


    From the first Page:


    ......


    At this step you will not be able to login at the OMV webgui page, you will get an error. Use WinSCP. locate php.ini in the


    Code
    /var/www/omv-website-vhost/

    find the



    Code
    session.save_path


    , remove the



    Code
    ;


    in front and edit as



    Code
    session.save_path=("/tmp")


    .....


    Hope this helps.

    Is there any way to set rrd showing cpu temp of the Rpi? I tried the "sensors" way (collectd) but did not help. I know that the system measures cpu temp at

    Code
    /sys/class/thermal/thermal_zone0/temp

    as seen at

    Code
    http://info.jesus-forain.fr/

    but I do not know how to create an rrd graph with it. Does anybody know how can we do this?