Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PLUGIN] Data Volume Monitor (DVM)

Featured Replies

3 minutes ago, Rysz said:

 

The front-page dashboard and footer only shows the primary network interface at the moment.

 

But you can already set limits and notifications for multiple other network interfaces in this section of DVM settings (see example):
grafik.thumb.png.a9ad522c64471abd22033178982cfb1c.png

In this case you will get notifications for each defined interface when the respective limit is exceeded/returned to normal.

I believe I have this setup correctly, example as below.

 

image.thumb.png.d63f5f725119b9a317697711d8e6b888.png

 

This is my primary interface and another one setup within my network which maps to a vlan. 

I guess my ask was it would be good/nice to be able to get a high level, dashboard view of these secondary interfaces on the main/admin dashboard as well so as a quick glance, I can get a view on the throughput across all of my interfaces that I care about on Unraid. (ie. certain vlans that carry dockers or VM's where the traffic volume is of interest to me)

Secondly , as with the above, why would I also receive the following error/message. Seems like I have not set something up correctly. 

 

image.thumb.png.e3f6a1067f5a0e0261dc74af37ed8872.pngimage.thumb.png.e3f6a1067f5a0e0261dc74af37ed8872.png

  • Author
5 minutes ago, JNZ said:

I believe I have this setup correctly, example as below.

 

image.thumb.png.d63f5f725119b9a317697711d8e6b888.png

 

This is my primary interface and another one setup within my network which maps to a vlan. 

I guess my ask was it would be good/nice to be able to get a high level, dashboard view of these secondary interfaces on the main/admin dashboard as well so as a quick glance, I can get a view on the throughput across all of my interfaces that I care about on Unraid. (ie. certain vlans that carry dockers or VM's where the traffic volume is of interest to me)

Secondly , as with the above, why would I also receive the following error/message. Seems like I have not set something up correctly. 

 

image.thumb.png.e3f6a1067f5a0e0261dc74af37ed8872.pngimage.thumb.png.e3f6a1067f5a0e0261dc74af37ed8872.png

 

If you have "bond0" configured as primary interface, you should use this section for the "bond0" limits/actions:

grafik.thumb.png.36f1f4284c8e2c1c7c2eb1fcc1f2459e.png

 

And this section for any additional interfaces, such as the "bond0.52", limits/actions:

grafik.thumb.png.d9b6cf32402b3bbca455d2e5ce9fd30e.png

 

I agree with your point about multiple interfaces should be shown on the front-page dashboard as well.

It'll require a bit of effort to adapt the code, so I'll put this on the TO-DO list for a future update (but can't promise a timeline).

 

1 minute ago, Rysz said:

 

If you have "bond0" configured as primary interface, you should use this section for the "bond0" limits/actions:

grafik.thumb.png.36f1f4284c8e2c1c7c2eb1fcc1f2459e.png

 

And this section for any additional interfaces, such as the "bond0.52", limits/actions:

grafik.thumb.png.d9b6cf32402b3bbca455d2e5ce9fd30e.png

 

I agree with your point about multiple interfaces should be shown on the front-page dashboard as well.

It'll require a bit of effort to adapt the code, so I'll put this on the TO-DO list for a future update (but can't promise a timeline).

 

Got it, that makes sense. I can see the error now. I will correct. 
Thanks for adding it to the todo list. Ill keep an eye out for future updates :) 

 

One final question, I couldn't find any info on the docs, but what I would like to do is have custom emails to be sent off based on certain conditions on certain interfaces . I know Unraid will send notifications when the limits have been set but I won't the ability to do custom processing or notifications base don your example about moving files. 

 

It appears this custom logic is executed by 'Custom Alarms Script Execution Frequency' and the help file mentions the file 'dvm-custom-alarms.sh' Where is this? and does it provide examples of the data you can access to base your rules on and how to handle events? 

Appreciate your help and effort on this plugin.

 

  • Author
5 minutes ago, JNZ said:

Got it, that makes sense. I can see the error now. I will correct. 
Thanks for adding it to the todo list. Ill keep an eye out for future updates :) 

 

One final question, I couldn't find any info on the docs, but what I would like to do is have custom emails to be sent off based on certain conditions on certain interfaces . I know Unraid will send notifications when the limits have been set but I won't the ability to do custom processing or notifications base don your example about moving files. 

 

It appears this custom logic is executed by 'Custom Alarms Script Execution Frequency' and the help file mentions the file 'dvm-custom-alarms.sh' Where is this? and does it provide examples of the data you can access to base your rules on and how to handle events? 

Appreciate your help and effort on this plugin.

 

 

You can either use dvm-user-actions.sh or the more advanced dvm-custom-alarms.sh to set up custom commands/filtering.

Accessing these files is possible through the DVM Configuration Editor (click into the file-name text field, where the red X is).

 

grafik.png.beaa354d1c565cd07bc36ff2ffe3fef0.png

 

The scripts have respective documentations inside them as comments, hope that is enough to get you started. 🙂 

Thanks I missed the UI hint to get to the additional files. 

I will take a look at the files and go from there. Thanks for the assistance! 

i didn´t change anything but now my docker-interfaces don´t show up in the table anymore...
they still can be selectet in (for example) "Secondary Interface Thresholds and User Actions" - so the tool does find them but wont show them in the table with the metrics

1111.thumb.png.a7ba5fa9d5840f79120ce20fb3fb8936.png
 

2024.08.07 is installed

 

  • Author
16 minutes ago, joker1319 said:

i didn´t change anything but now my docker-interfaces don´t show up in the table anymore...
they still can be selectet in (for example) "Secondary Interface Thresholds and User Actions" - so the tool does find them but wont show them in the table with the metrics

1111.thumb.png.a7ba5fa9d5840f79120ce20fb3fb8936.png
 

2024.08.07 is installed

 

 

Did you perhaps stop the Docker containers or the Docker service in general? Unless you have some advanced networking configured for your Docker containers, by default the virtual interfaces last only while the container is running and each container is assigned a new virtual interface on the next start. 

9 hours ago, Rysz said:

 

Did you perhaps stop the Docker containers or the Docker service in general? Unless you have some advanced networking configured for your Docker containers, by default the virtual interfaces last only while the container is running and each container is assigned a new virtual interface on the next start. 

no - they are all running. i even tried a reboot but they still dont show up
Edit: no fancy-pantsy network configuration

Edited by joker1319
missing information

  • Author
16 hours ago, joker1319 said:

no - they are all running. i even tried a reboot but they still dont show up
Edit: no fancy-pantsy network configuration

 

Did you try reinstalling the plugin, perhaps the database or some configuration file got corrupted?

On 8/17/2024 at 11:48 PM, Rysz said:

 

Did you try reinstalling the plugin, perhaps the database or some configuration file got corrupted?

...worked xD thanks

  • 2 months later...

I assume that all this data is being written to a database somewhere... either by you or by vnstat?  Would it be possible to use a Grafana dashboard to view and then analyze the data?  For instance, I'm trying to figure out what happened data transfer wise two or three days ago, between the 1 day columns where it doesn't show up and the 1 week columns where it does...  If you could put the container friendly names down in the Report section, that would help also...  Great stuff!   Thx

  • Author
10 hours ago, RyanRoberts210 said:

I assume that all this data is being written to a database somewhere... either by you or by vnstat?  Would it be possible to use a Grafana dashboard to view and then analyze the data?  For instance, I'm trying to figure out what happened data transfer wise two or three days ago, between the 1 day columns where it doesn't show up and the 1 week columns where it does...  If you could put the container friendly names down in the Report section, that would help also...  Great stuff!   Thx

 

The `vnstat` database is located at: /var/lib/vnstat/vnstat.db

... and backed up/restored before and after reboot to/from: /boot/config/plugins/dwdvm/vnstat.db

 

I don't think (but not sure) it is in a commonly readable format.

Perhaps better to use the `vnstat --xml` and `vnstat --json` commands to pull in data in a readable format.

 

  • 1 month later...

Hello, is there any guide how to install and setup that plugin? I install it and don't have any entry in settings or tools tab.

Regards.

  • Author
8 hours ago, MarianKoniuszko said:

Hello, is there any guide how to install and setup that plugin? I install it and don't have any entry in settings or tools tab.

Regards.

 

Settings Tab ==> User Utilities (at the bottom of the page) ==> Data Volume Monitor

 

grafik.png.5ba27ab70a153283331fdf200c1f9da1.png

 

grafik.thumb.png.c017fdf512d82972c71775b53012e64b.png

 

Start DVM service: "Yes" ==> Apply (and wait 1-2 minutes for interface data to come in) 🙂 

 

Hi @Rysz I'm very sorry I noticed that I cannot install it because I have Net Statistics plugin.
Regards.

  • 5 months later...

Hello, great plugin! I've noticed that any docker containers set to a fixed IP address (by choosing 'Network Type: br0' in the container settings) do not show any statistics in the plugin, and also fail to 'Match Virtual Network Interfaces to Services', is there a way to fix this?

image.png

  • 1 month later...

man, I love this so far! thanks so much for the great plugin!

  • 5 months later...
On 7/26/2025 at 2:10 AM, gloeckle said:

man, I love this so far! thanks so much for the great plugin!

I also love the plugin. Would it be possible to have a "Previous Year" metric too? I missed the turn over and didn't get to see what I made it up to...

Thanks again!

I did just find the report section where I can see the data(March to 2026 I only made it to 129TiBs 😉), but still would love to see previous year on dashboard.

Edited by jtaz16

  • 4 weeks later...

Thanks for this plugin, its great.

I have an issue whenever the server restarts due to power failures. It seems like data is not persisted. "Persist Database on Reboot" is set to "Yes" (and greyed out, I cannot change it). Tool tip says in case of power failures it will restore the database from the flash drive. But in my case it just resets to 0.

Any ideas to fix this would be very helpful!

  • 3 months later...

I've been using this plugin for... a long time.

I always see these ethernet going up/down messages, but didn't really know what was causing it. Just thought it was normal.

Well today I realized it was DVM causing these. Tested by enabling and disabling the plugin.

Is there any way to prevent my logs from being spamming with these messages?

For example:

Apr 29 10:12:21 Devante-NAS kernel: eth0: renamed from veth26d5d6c
Apr 29 10:12:21 Devante-NAS kernel: docker0: port 30(veth088fb8b) entered blocking state
Apr 29 10:12:21 Devante-NAS kernel: docker0: port 30(veth088fb8b) entered forwarding state
Apr 29 10:12:25 Devante-NAS vnstatd[5497]: Interface "veth26d5d6c" disabled.
Apr 29 10:12:40 Devante-NAS vnstatd[5497]: Removing interface "veth26d5d6c" from database as it is disabled and has seen no data.
Apr 29 10:12:40 Devante-NAS vnstatd[5497]: Interface "veth26d5d6c" no longer in database, stopping monitoring.
Apr 29 10:12:40 Devante-NAS vnstatd[5497]: Monitoring (28902): veth088fb8b (10000 Mbit) veth3024cfb (10000 Mbit) veth1dba438 (10000 Mbit) vethcba637f (10000 Mbit) veth67f1a14 (10000 Mbit) veth3b620b6 (10000 Mbit) veth236fb38 (10000 Mbit) veth9273736 (10000 Mbit) veth81945c7 (10000 Mbit) vethe587043 (10000 Mbit) vethc2b008f (10000 Mbit) veth2501945 (10000 Mbit) vethc4056f1 (10000 Mbit) vethc8bd252 (10000 Mbit) vetha7e8b58 (10000 Mbit) vethda641d0 (10000 Mbit) veth4a827f2 (10000 Mbit) veth6a95f8b (10000 Mbit) veth152fa45 (10000 Mbit) vethc2e55a6 (10000 Mbit) vethe3790d6 (1000 Mbit) veth9161d61 (10000 Mbit) vethb6c9c1b (10000 Mbit) veth4ac628c (10000 Mbit) veth2b19c03 (10000 Mbit) vetha4ca8c9 (10000 Mbit) vethfde5e99 (10000 Mbit) veth162ff1f (10000 Mbit) vethf08d493 (10000 Mbit) veth88ecf74 (10000 Mbit) veth06a4c3c (10000 Mbit) vethd7e2b54 (10000 Mbit) veth2056882 (10000 Mbit) vethdc0fc25 (10000 Mbit) vethf49d100 (10000 Mbit) veth07fcfd3 (10000 Mbit) vethe6169b5 (10000 Mbit) veth237fd3d (10000 Mbit) veth7d2b745 (10000 Mbit) ...

image.png

10 minutes ago, DevanteWeary said:

I always see these ethernet going up/down messages, but didn't really know what was causing it. Just thought it was normal.

The kernel ones are normal and will happen any time a container is started/stopped. Looks like the plugin adds a little more.

Just now, Kilrah said:

The kernel ones are normal and will happen any time a container is started/stopped. Looks like the plugin adds a little more.

Yeah, at the end of the day, my log will be spammed with the ones from DMV. I wanna know if I can get rid of those. If not, I think I'm gonna disable the plugin unfortunately.

  • Author

You can edit the UseLogging parameter in the configuration file (in DVM settings). You'll have to restart the service afterwards.

4 minutes ago, Rysz said:

You can edit the UseLogging parameter in the configuration file (in DVM settings).

So awesome, thank you!!!! I just assumed the file mimicked what was on the settings UI page.

Thank you. Have it logging to a file now!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.