dorgan Posted September 29, 2018 Share Posted September 29, 2018 (edited) ** Currently not displaying images on unraid version 6.10. For details, and a work, around please see this post ** Introduction Network Stats is a plugin to visualize bandwidth within unRAID. Support Fund If you wish to do so, you can lear more here. Installation Community Applications - Network Stats is available via Community Applications plugin. - Plugins Tab (manual) Go to the Plugins tab Click on Install Plugin Paste the following address in the input field: https://raw.githubusercontent.com/dorgan/Unraid-networkstats/master/networkstats.plg Click Install Running the plugin After installing the plugin, you can modify the settings in the web UI, via the following method: Go to Settings > Network Services Click on Network Stats You can now choose which interfaces to display Once configured you can view the graphs by going to Stats and there will be a new tab called "Network Stats" on that page Changelog 2022.08.25 - Update to remove the need for extra packages, this release removes images, but they will be added back in a future release. 2020.04.21a - Update to make sure interfaces get added 2020.04.21 - Updating to FA icon 2020.04.15a - Removing Stray function 2020.04.15 - Cleaning up layout and adding a button for stopping/starting the vnstat daemon 2020.04.14c - Added the ability to set an alias (friendly name) for each interface 2020.04.14b - Correcting PHP Syntax issue 2020.04.14a - Longer interface names were getting truncated, this is now fixed 2020.04.14 - Add ability to track more interfaces 2020.02.16 - Remove external dep of vnstat and make it pull the specific version from the plugin repo 2019.12.24a - Updated to vnstat 2.4 and corrected MD5 hash issue 2019.02.11 - Correct image output 2018.12.11b - Fix vnstat.conf issue and remove dependency on dynamix plugin 2018.10.10 - Fix breaking unRaid Remove using DOCKER_CONFIG_APP_PATH Revert to use /var/lib/vnstat for vnstat db future release will add functionality for data to persist across reboots and will utilize events on when to move data in/out of memory. 2018.10.07a - Update vnstat.conf and set MaxBandwidth to 0 2018.10.07 - Update plugin to use docker appdata path 2018.10.06c - Updated plugin to work on non cache drive systems. 2018.10.06b - Corrected order of creating folders and copying configs 2018.10.06a - corrected file paths and pid paths 2018.10.03 - Fixed plugin to properly detect vnstat daemon status 2018.10.03 - Fix Broken Plugin Correct install and plugin to start vnstat daemon 2018.10.02 - More fixes Add ability for user to start/stop vnstat Fix detecting of vnstat daemon Make data persist across restarts 2018.09.29 - A bunch of fixes and updates Changing icons and Correcting sizes Update settings to detect interfaces Update install script to detect interfaces 2018.09.27d - Correction to start vnstat 2018.09.27c - Quick Tweaks Changed author to actual name Corrected Status label on settings screen 2018.09.27b - Initial Release Initial release, right now using default image output from vnstati, but will be updating to a better library soon Edited August 25, 2022 by dorgan 2022.08.25 release Quote Link to comment
Squid Posted September 29, 2018 Share Posted September 29, 2018 5 hours ago, dorgan said: (I am working on getting added to the community application) This is one of the apps caught in the weird problems with the appfeed in community applications. Until the next release of CA and it's replacement application feed (next few days), it is unavailable from within CA. Quote Link to comment
Squid Posted October 2, 2018 Share Posted October 2, 2018 Available now (if you update CA). But, It won't start the service for me. Always shows stopped. Oct 2 19:19:21 ServerA root: plugin: creating: /boot/config/plugins/networkstats/networkstats.cfg - from INLINE content Oct 2 19:19:21 ServerA root: plugin: running: anonymous Oct 2 19:19:23 ServerA vnstatd[32070]: vnStat daemon 1.18 started. (pid:32070 uid:0 gid:0) Oct 2 19:19:23 ServerA vnstatd[32070]: Monitoring: docker0 (1000 Mbit) as0t5 (10 Mbit) vnet1 (10 Mbit) as0t1 (10 Mbit) as0t10 (10 Mbit) as0t8 (10 Mbit) gretap0 (1000 Mbit) veth4967533 (10000 Mbit) as0t4 (10 Mbit) virbr0-nic (1000 Mbit) vnet0 (10 Mbit) gre0 (1000 Mbit) as0t0 (10 Mbit) veth3a83667 (10000 Mbit) veth78066bc (10000 Mbit) as0t7 (10 Mbit) veth3e4db68 (10000 Mbit) as0t3 (10 Mbit) ip_vti0 (1000 Mbit) veth70a7165 (10000 Mbit) as0t11 (10 Mbit) tunl0 (1000 Mbit) br0 (1000 Mbit) virbr0 (1000 Mbit) veth4b0ff1d (10000 Mbit) ... Oct 2 19:19:23 ServerA vnstatd[32070]: SIGTERM received, exiting. Oct 2 19:19:27 ServerA vnstatd[32241]: vnStat daemon 1.18 started. (pid:32241 uid:0 gid:0) Oct 2 19:19:27 ServerA vnstatd[32241]: Monitoring: docker0 (1000 Mbit) as0t5 (10 Mbit) vnet1 (10 Mbit) as0t1 (10 Mbit) as0t10 (10 Mbit) as0t8 (10 Mbit) gretap0 (1000 Mbit) veth4967533 (10000 Mbit) as0t4 (10 Mbit) virbr0-nic (1000 Mbit) vnet0 (10 Mbit) gre0 (1000 Mbit) as0t0 (10 Mbit) veth3a83667 (10000 Mbit) veth78066bc (10000 Mbit) as0t7 (10 Mbit) veth3e4db68 (10000 Mbit) as0t3 (10 Mbit) ip_vti0 (1000 Mbit) veth70a7165 (10000 Mbit) as0t11 (10 Mbit) tunl0 (1000 Mbit) br0 (1000 Mbit) virbr0 (1000 Mbit) veth4b0ff1d (10000 Mbit) ... Oct 2 19:19:45 ServerA ool www[31175]: /usr/local/emhttp Quote Link to comment
dorgan Posted October 2, 2018 Author Share Posted October 2, 2018 But, It won't start the service for me. Always shows stopped. It’s miss detecting, known bug, will be fixed in a release either this week or weekend. Quote Link to comment
dorgan Posted October 2, 2018 Author Share Posted October 2, 2018 New update has been released, that corrects this issue. Quote Link to comment
Squid Posted October 3, 2018 Share Posted October 3, 2018 55 minutes ago, dorgan said: New update has been released, that corrects this issue. Still no go. (Unless a reboot is required) Quote Link to comment
dorgan Posted October 3, 2018 Author Share Posted October 3, 2018 Still no go. (Unless a reboot is required)Reboot should not be required. Let me dig in a little more tomorrow night. Quote Link to comment
dukiethecorgi Posted October 3, 2018 Share Posted October 3, 2018 Not starting for me either 😞 Quote Link to comment
dorgan Posted October 3, 2018 Author Share Posted October 3, 2018 Not starting for me either [emoji20]I have identified the problem and will release a fix tonight. 1 Quote Link to comment
gacpac Posted October 3, 2018 Share Posted October 3, 2018 I was gonna say. I'll wait for the next release then Quote Link to comment
dorgan Posted October 3, 2018 Author Share Posted October 3, 2018 @gacpac @dukiethecorgi @Squid Update released. Thanks for sticking with me. Quote Link to comment
moraleseder Posted October 4, 2018 Share Posted October 4, 2018 So I have updated the plugin but unfortunately, it is still not starting for me :/ Quote Link to comment
dorgan Posted October 4, 2018 Author Share Posted October 4, 2018 So I have updated the plugin but unfortunately, it is still not starting for me And what about if you go into the setting and click start? Quote Link to comment
moraleseder Posted October 4, 2018 Share Posted October 4, 2018 I tried that and no luck. I tried to remove the plug in and reinstall, I tried to reboot. No luck Quote Link to comment
dorgan Posted October 4, 2018 Author Share Posted October 4, 2018 I tried that and no luck. I tried to remove the plug in and reinstall, I tried to reboot. No luckAnd what happens when you go into settings? Quote Link to comment
austinite Posted October 4, 2018 Share Posted October 4, 2018 Same issue. Details: Plugins | Network Stats Network Stats Settings Interfaces to capture : (ALL) eth0 eth1 (ALL) VNSTAT Daemon: Stopped start (clicking start does nothing) Stats | Network Stats: vnstat service must berunning started to view network stats. Quote Link to comment
dorgan Posted October 4, 2018 Author Share Posted October 4, 2018 Same issue. What version of unRaid are you running? Also if you run /etc/rc.d/rc.vnstat start from the terminal what is the output you get? Quote Link to comment
FlorinB Posted October 4, 2018 Share Posted October 4, 2018 10 hours ago, dorgan said: /etc/rc.d/rc.vnstat start Still not working. See the screenshot for more details. Quote Link to comment
gacpac Posted October 4, 2018 Share Posted October 4, 2018 51 minutes ago, FlorinB said: Still not working. See the screenshot for more details. SAME HERE 😮 Quote Link to comment
dorgan Posted October 4, 2018 Author Share Posted October 4, 2018 Ok maybe I need to double check how the page is detecting if the daemon is running. I’ll take a look. Quote Link to comment
dukiethecorgi Posted October 4, 2018 Share Posted October 4, 2018 OK installed the update, still not working, but /etc/rc.d/rc.vnstat start says it is running Quote Link to comment
dorgan Posted October 5, 2018 Author Share Posted October 5, 2018 @dukiethecorgi @gacpac @FlorinB can either of you run the following in the terminal? Also what versions of unRaid are you running? cd /var/run find . | grep vnstat.pid Quote Link to comment
dorgan Posted October 5, 2018 Author Share Posted October 5, 2018 Here you goOk there in lies the problem. Mine is /var/run/vnstat/vnstat.pid.I’ll release an update tomorrow night that detects either or. Quote Link to comment
Recommended Posts
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.