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