Jump to content

[Plugin] Network Stats


dorgan

Recommended Posts

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

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

 

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

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

Posted
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

Posted
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::

Posted

@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

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

Posted
 
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

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

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

Posted (edited)

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

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.

×
×
  • Create New...