Jump to content
dorgan

[Plugin] Network Stats

209 posts in this topic Last Reply

Recommended Posts

Just now, MMW said:

No cache drive on this system, as a network storage and plex unit I found it not really necessary.

 

Ahhh thats whats causing it, ok let me adjust something.

Share this post


Link to post
5 minutes ago, dorgan said:

I can add that to the setup to see if it helps.

Let's see if it works for MMW first.  I just have a hunch because I gave the user/group that runs the plugin write access to the .pid file and the next time I installed the plugin it worked perfectly after previously giving the same error.

 

Share this post


Link to post

It's alive. Does not appear to be updating the data but the plugin is now running.

image.thumb.png.e5df53ac003c5be7c096ac3918028936.png

Share this post


Link to post
Just now, MMW said:

It's alive. Does not appear to be updating the data but the plugin is now running.

image.thumb.png.e5df53ac003c5be7c096ac3918028936.png

It will give it some time, also edit the settings to select your devices.

Share this post


Link to post
Just now, MMW said:

Spot on working perfectly now.

thanks for the plugin.

It takes it a bit to start building up numbers.

 

Did you ever have to change permissions on vnstat.pid from the running user/group to write?  I want to make sure that the developer has as much feedback as possible for troubleshooting.

Share this post


Link to post

Tried it earlier on so afraid that's 50/50 if it is needed or not, just after the first install. 

Share this post


Link to post
1 minute ago, prongATO said:

It takes it a bit to start building up numbers.

 

Did you ever have to change permissions on vnstat.pid from the running user/group to write?  I want to make sure that the developer has as much feedback as possible for troubleshooting.

The daemon runs as root so it should have access to that folder, without changing permissions

Share this post


Link to post

All of it came down to trying to copy to the cache drive when it didnt exist, and the order in which I was doing things.

Share this post


Link to post

manually copied from from /usr/local/emhttp/plugins/networkstats/vnstat.conf to /etc/vnstat.conf and it started working. (the b version)

 

then saw the update to c version and still working

 

Thanks!

Share this post


Link to post
4 minutes ago, dukiethecorgi said:

manually copied from from /usr/local/emhttp/plugins/networkstats/vnstat.conf to /etc/vnstat.conf and it started working. (the b version)

 

then saw the update to c version and still working

 

Thanks!

Yup should be rock solid now. ::knock on wood::

Share this post


Link to post

@dorganI just uninstalled, did not restart server and installed the new version. It's not working for me yet. I have to enable the vnstat again. I went to the terminal and it looks like there's a new one? I Don't know

image.png.a101e484f7c53614279bd495b2808ffb.png

Share this post


Link to post
[mention=78375]dorgan[/mention]I just uninstalled, did not restart server and installed the new version. It's not working for me yet. I have to enable the vnstat again. I went to the terminal and it looks like there's a new one? I Don't know
image.png.a101e484f7c53614279bd495b2808ffb.png

Try the manual copy, let me know if that works. Very odd

Share this post


Link to post
1 minute ago, dorgan said:


Try the manual copy, let me know if that works. Very odd

 

mmmm, I'm tech savvy, but I'm not unraid savvy if you can tell me the command I'll gladly appreciate it. 

Share this post


Link to post
 
mmmm, I'm tech savvy, but I'm not unraid savvy if you can tell me the command I'll gladly appreciate it. 

cp /usr/local/emhttp/plugins/networkstats/vnstat.conf /etc/vnstat.conf

Share this post


Link to post
5 minutes ago, dorgan said:

 


cp /usr/local/emhttp/plugins/networkstats/vnstat.conf /etc/vnstat.conf
 

 

That just did it. You are awesome

 

image.png.5ed274ffb8daafbb25faef69b536c1f8.png

 

It's running, now I gotta see if it really works. 

Share this post


Link to post

Is there a way to use a different unit of measurement for the rx/tx traffic? Its using KiB/s right now.

 

*Edit* NVM, im dumb..the units change once data starts coming in.

Edited by DazedAndConfused

Share this post


Link to post

The plugin creates the "/mnt/cache/appdata" folder by default (hardcoded?), it should consider using the "Default appdata storage location" setting maybe?

 

Share this post


Link to post
The plugin creates the "/mnt/cache/appdata" folder by default (hardcoded?), it should consider using the "Default appdata storage location" setting maybe?
 

I will work on making this adjustable for the next release.

Share this post


Link to post
20 hours ago, dorgan said:

@MMW does /mnt/user/appdata exist on your system?

What are you storing in appdata?  If its simply the settings for the plugin (which adapters to monitor), then store it on the flash drive, as that location is a constant on all systems, and is where plugin settings are expected to be stored.

2 hours ago, dorgan said:


I will work on making this adjustable for the next release.

If you must store within appdata, then your best bet would be the default appdata location that can be found within /boot/config/docker.cfg

Share this post


Link to post

I have the 9/29/2018 version running and then did the 2018.10.06c update. Not the vnstat is no longer running. 

 

I did go to the plugin settings and tried to click "Start". No luck.

Edited by Wayne66
Forgot to mention I tried to start vnstat service

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.