Beiträge von j.campillo

    Zitat von "davidh2k"

    Did you try the backports kernel?


    Greetings
    David



    Hi David,


    Yes, it work perfectly. I have also add the temperature graphs for the cpu and the hard disks, they look great!



    To update the kernel I just added the squeezy backports repository and search for the last linux-image deb.
    And as I said... Everything looks working perfectly.


    Now that I have more experience with graphs, how to omv-mkgraph and collectd.conf are created, maybe I will try to make them work with a updated version of Debian... Just for testing proposes



    Many thanks :)

    Zitat von "tekkbebe"

    hehe, we wait and see what he is installing.



    Maybe that's the problem. We are using the actual stable version of debian, wheezy.
    We are use wheezy because the kernel can detect our motheboard sensors with lm-sensors. Maybe downgrading to squezze and upgrading just the kernel we won't have this problem...

    Zitat von "tekkbebe"

    Install your nics via web-gui and you will not have this issue.


    Thanks tekkbebe but...


    I have tried installing them via web-gui and it's the same problem... Because I was testing in a virtual machine, I also tried to add a new nic and the path was still incorrect.
    When I add the second nic the path to the rrd file is /var/lib/collectd/rrd/localhost/interface-eth1/ and the files are named if_xxxxx.rrd and it has to be exactly the opposite, the path should be always /var/lib/collectd/rrd/localhost/interface/ and the files have to be named after the nic interface, so... if_xxxxx-eth0.rrd if_xxxxx-eth1.rrd and so on...

    Hi mates!


    I have been fighting with a OMV installation over a fresh Debian (any flavour) install for a few hours. Each time, the the graphs for the eth0 nic card won't show and I didn't know why.
    If I try a fresh OMV installation from the OMV iso the ethX graph would work... Why it isn't working if I install first Debian and then OMV?


    Finally I've got the solution (I've seen some of you asking in the forums, I hope it helps).


    The problem is that if you install your OMV from the original iso that can be downloaded from OpenMediaVault.org the rrd files that are used to make the graphs with the command omv-mkgraph are located in: /var/lib/collectd/rrd/localhost/interface and are named like: if_errors-ethX.rrd if_octets-ethX.rrd if_packets-ethX.rrd
    where if you install first debian, and after that, from the OMV repository, install OMV with apt-get (OR aptitude) the rrd files that are used to make the graphs are located in:
    /var/lib/collectd/rrd/localhost/interface-ethX/ and are named like: if_errors.rrd if_octets.rrd if_packets.rrd


    That's why the command omv-mkgraph can't generate the graphs, because the path is different.


    I have fixed it with symbolic links, because I don't know where I can define the correct path to save the files. I could it fix it editing omv-mkgraph but it was easier (and safer) making the three symbolic links.


    Do you know in which file is defined the path and the naming rules for the rrd files?


    Thanks :p