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

Featured Replies

Data Volume Monitor — Network Usage, Thresholds, Notifications, and Actions

Since the original Data Volume Monitor plugin has been deprecated, I decided to take over maintenance by enhancing and continuing it. I wanted to keep it available for the Unraid community while improving its reliability, updating the backend, and making the settings easier to use.

The first stable release is 2026.11.04.11.

Data Volume Monitor uses vnStat to track network interface usage. It displays traffic reports in Unraid and lets you configure notifications and actions when your data usage exceeds a threshold or returns to normal.

What it can do
  • Display inbound and outbound usage for five-minute, hourly, daily, monthly, and yearly periods.

  • Show traffic information on the plugin page, Dashboard, and footer.

  • Configure separate inbound and outbound thresholds for the primary interface.

  • Configure six additional threshold rules for secondary interfaces.

  • Send notifications when limits are exceeded or reset.

  • Stop or start selected Docker containers.

  • Disconnect or reconnect selected VM network interfaces.

  • Run custom functions for more advanced actions.

  • Preserve traffic history across normal reboots when database persistence is enabled.

  • Match virtual interfaces to Docker containers and VMs where supported.

Traffic accounting is based on network interfaces. Docker and VM matching helps identify those interfaces; it does not provide independent per-application traffic accounting.

Installation

In Unraid, open Plugins → Install Plugin and paste:

https://raw.githubusercontent.com/alexphillips-dev/Data-Volume-Monitor/main/plugin/dvm.plg

The manifest declares a minimum of Unraid 6.8.3, and the packages target x86_64. Not every Unraid version has been tested.

After installation, open Settings → Data Volume Monitor. The settings page displays the installed plugin version, release channel, and vnStat backend version.

Migrating from the original plugin

Back up your settings, custom scripts, and newest stopped traffic database before removing the original plugin. Keep those backups outside its plugin directories. Removing the original plugin can delete its settings and traffic history.

Do not install this continuation alongside the original Data Volume Monitor plugin or Network Stats, because they share vnStat service/database ownership.

Migration from the original plugin is not automatic. Please follow the guide before uninstalling anything: Migration from the original plugin

If you already use this continuation and want to switch between Stable and Development, follow the in-place channel-switch procedure. Do not uninstall to switch channels.

Installation and release channels

Documentation and support

Feedback, suggestions, and testing reports are welcome here or through GitHub.

When reporting a problem, please include your plugin version/channel, Unraid version, vnStat backend version, steps to reproduce, and any relevant error message. Remove passwords, tokens, server names, public IP addresses, and other private information from screenshots and logs.

Automated validation includes 142 Python tests, additional PHP and JavaScript fixtures, native vnStat compatibility tests, and package verification. These checks do not replace live Unraid installation, native theme, workload-action, or reboot testing. A host acceptance checklist is available for anyone helping test those areas.


Fixes and improvements included in this release

The following is the cumulative list of fixes and improvements made while developing this continuation, rather than only the changes in the final development build.

Configuration editor

  • Restricted editing to supported configuration files, with checks for directory traversal, symlinks, unsupported file types, and paths outside the permitted locations.

  • Fixed stale editor responses that could load the wrong content after switching files.

  • Added save-identity checks so one file’s content cannot be saved into another after a file switch.

  • Improved handling of partial or failed paired saves, including restoration of previous contents and file permissions on handled failures.

  • Preserved support for intentional empty-file saves.

  • Added clearer error messages for failed reads and saves.

  • Added unsaved-change protection when switching files, cancelling, or leaving the editor.

  • Preserved edits made while a save request is still running.

Thresholds, notifications, and actions

  • Fixed failed or unavailable threshold queries being confused with exceeded limits.

  • Prevented query failures from triggering threshold actions or appearing as confirmed healthy data.

  • Serialized concurrent notification checks and handled lock-acquisition failures.

  • Fixed evaluation and aggregation of all six secondary threshold rules, including multiple rules targeting the same interface, direction, and period.

  • Added checks for failed VM lookup, missing network interfaces, and failed disconnect/reconnect commands before reporting success.

  • Corrected the custom-alarm 45-minute schedule across hour boundaries.

  • Made Service Check diagnostic only, without running configured workload actions or changing notification/action state.

  • Added a separate, confirmed Test Configured Actions control.

  • Added recorded action outcomes for individual rules and action components, including failed and interrupted attempts.

  • Added deliberate retries for recorded failed components, with checks against the current configuration, scripts, and threshold state.

  • Prevented stale action results from automatically retrying operations.

  • Added a validated custom-alarm example.

Monitoring, reports, and interface matching

  • Prevented overlapping refresh requests and added finite request timeouts.

  • Preserved the last complete measurements when a refresh fails or returns incomplete data.

  • Added visible stale and unavailable states, with recovery when valid data returns.

  • Prevented late responses from updating pages after navigation.

  • Resumed polling correctly after browser back/forward cache restoration.

  • Kept valid traffic measurements available when only the threshold evaluation fails.

  • Corrected combined interface/service filtering and exclusions.

  • Preserved Docker and VM names containing spaces or special characters during matching and filtering.

  • Improved virtual-interface matching checks around peer indexes and bridge interfaces.

  • Escaped interface names, service labels, and report text.

  • Improved generated image names and image URL handling.

  • Added content-based cache invalidation for shipped UI scripts.

Service, storage, backup, and recovery

  • Improved propagation of service start/stop, installer, reset, wrapper, and package-removal failures before dependent operations continue.

  • Honored effective custom database and PID-file paths throughout service checks, persistence, restoration, and resets.

  • Prevented database/PID path changes through the editor while the service is running.

  • Preserved the selected database location during configuration and full resets.

  • Added verification of shutdown-hook installation and removal, including supported host-layout differences.

  • Added database backup path/checksum verification.

  • Retained a previous verified backup generation for recovery.

  • Rejected corrupt, incomplete, mismatched, and wrong-path backups.

  • Prevented an invalid current backup from replacing a valid retained generation.

  • Staged restoration before creating the runtime database, reducing the risk of leaving a partial database after a failed copy.

Settings and appearance

  • Replaced the long stacked Primary Interface threshold controls with a table matching the Secondary Interface section.

  • Preserved all eight primary rules and their 48 saved threshold, unit, and action fields.

  • Added accessible labels and horizontal scrolling for the primary table on narrow screens.

  • Kept threshold and action controls readable and editable when a limit is disabled.

  • Added live Disabled labels in red, Enabled labels in green, and Invalid labels in red.

  • Matched threshold status validation to whole-number and unsigned 64-bit limits.

  • Preserved saved interfaces and Docker/VM targets when inventory discovery is empty or fails.

  • Clearly identified unavailable saved selections instead of silently replacing them.

  • Distinguished an empty inventory from a failed discovery command.

  • Kept the traffic overview visible while placing detailed reports in a labeled section that starts collapsed.

  • Added spacing between inbound/outbound footer values and colored the direction arrows.

  • Updated the plugin artwork in both the Plugins listing and Settings tile.

vnStat backend

  • Upgraded the bundled vnstat, vnstatd, and vnstati executables from 2.12 to 2.14.

  • Added a reproducible dependency build using verified signed upstream source.

  • Recorded build inputs, executable hashes, runtime-library requirements, and compatibility information.

  • Retained required backend license and documentation files.

  • Documented newer vnStat configuration options while preserving DVM defaults and saved settings.

  • Tested reading a vnStat 2.12 database with 2.14 while preserving its traffic, schema, and alias data.

  • Tested threshold boundaries across periods, traffic directions, and unit modes.

  • Tested invalid input, overflow, unavailable data, and custom effective paths.

  • Exercised all three backend executables, six PNG output modes, JSON/XML escaping, and PHP text/image/combined reports in isolated fixtures.

Packaging, release channels, and documentation

  • Updated active plugin paths, installer/download/update URLs, and support links for this continuation.

  • Added installer conflict checks for the original plugin and Network Stats.

  • Added separate Stable and Development channels, with each installation retaining its own update URLs.

  • Added installed version/channel information to the settings page.

  • Added guarded release preparation, version-ordering checks, concurrent-edit detection, and transactional generated-file updates.

  • Improved build-failure handling so existing deliverables survive validation, source-read, and handled publication failures.

  • Preserved executable script permissions.

  • Added package inventory, permission, checksum, provenance, and deterministic-rebuild checks.

  • Kept local tool configuration, caches, credentials, runtime databases, logs, temporary files, and diagnostic exports out of tracked distribution files.

  • Expanded the README and wiki with setup, migration, thresholds, notifications, actions, reports, configuration editing, backup/recovery, troubleshooting, and host-testing guidance.

  • Added dedicated GitHub forms for bug reports, feature requests, configuration help, and documentation issues.

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.