Only for OMV 0.4!
In 0.5 install the openmediavault-support plugin!
This script makes it easy to show a graph of the total Diskusage and for the root-filesystem in OMV.
The graph shows the "used" and "free" space of _all_ mounted filesystems in OMV totalled. So you don't have to calculate all by yourself
I have 3 2TB-drives and it looks like this: (reminder to me: I need a new drive :roll: ) -> done
BTW: I changed the '/usr/sbin/omv-mkgraph' under DEFAULTS: to "--width 800" to make the graphs a little wider. So they fit better in my 22" screen but it takes a little longer to create them.
How to install:
1. Download the latest version from git
2. a) Unpack it
2. b) Edit /etc/collectd/collectd.conf
and add MountPoint "/" in the <Plugin df> section, so that it looks something like this:
ZitatAlles anzeigenLoadPlugin df
<Plugin df>
MountPoint "/media/926fb5ca-b54e-4dfc-828b-5f45ad072265"
MountPoint "/media/f607a0b8-0539-495f-b375-89j522f63db69"
MountPoint "/media/336ce995-52bf-4f88-8f4a-1c34a8797bf4"
MountPoint "/media/dad0d11b-0b39-4cae-b055-93c5cf7a8b30"
MountPoint "/media/08afa682-defa-47fe-99ca-da92caf164d4"
IgnoreSelected false
MountPoint "/"
</Plugin>
then restart the collect.d-daemon with
3. install it
The script will lead you through the installation/removing process
4. All should work now
Login to OMV-WebGUI and enjoy your new graphs
Please test the script and report any bugs or features
But: make always copies of your files
I denitely have too much time to code this scripts
@ Volker:
Feel free to add this script or code to OMV if you want.
omvsensors on github: https://github.com/walterheisenberg/omvdf-alltogether
Guide-Version: 0.2