[Plugin] Network Stats


dorgan

Recommended Posts

3 minutes ago, Migz93 said:

Sorry, I should've mentioned that initially.

6.10.0-rc1 so likely just an issue with the latest version of Unraid.

Yeah looks like that may be the case.  Unfortunately anytime I have upgraded to 6.10.0-rc1 my plex server starts to have issues playing my media files that are nfs mounted from my unraid box.  Unraid shows no io issues or cpu issues, but the load on my plex machine goes through the roof, and a simple downgrade to 6.9.2 fixes it, so I havent tried it for a 4th time yet, as I was waiting for the next RC to come out.

Edited by dorgan
Link to comment
  • 3 weeks later...

With the release of unraid 6.10-rc2 I took a leap and upgraded my server and was able to determine the issue.  It seems with 6.10 there are a bunch of dependancies that have been removed from unraid as they aren't used.  I've mentioned this in the unraid 6.10-rc3 forum post and it seems a further conversation is really needed around plugin dependency management.  I'll bump this again with them to see how I/we can go about fixing this without me just added all these additional system libraries to this plugin.  For now on my system I am utilizing the User Scripts plugin to execute the following script when the system starts up, which then gets the images working again.

 

The other thing I can do, is look into is parsing the text data that is available and creating my own images instead of vnstati, or just provide the table output.

 

Anyways, here is the script:

#!/bin/bash
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/gd-2.2.1-x86_64-1.txz
upgradepkg --install-new gd-2.2.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/fontconfig-2.11.1-x86_64-2.txz
upgradepkg --install-new fontconfig-2.11.1-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/harfbuzz-1.2.7-x86_64-1.txz
upgradepkg --install-new harfbuzz-1.2.7-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
upgradepkg --install-new freetype-2.6.3-x86_64-3_slack14.2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXpm-3.5.11-x86_64-2.txz
upgradepkg --install-new libXpm-3.5.11-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libX11-1.6.3-x86_64-2.txz
upgradepkg --install-new libX11-1.6.3-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libxcb-1.11.1-x86_64-1.txz
upgradepkg --install-new libxcb-1.11.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz
upgradepkg --install-new libXau-1.0.8-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXdmcp-1.1.2-x86_64-2.txz
upgradepkg --install-new libXdmcp-1.1.2-x86_64-2.txz

 

Edited by dorgan
  • Like 1
Link to comment
  • 1 month later...
  • 1 month later...
On 12/30/2021 at 8:04 AM, xxx59712 said:

I got the following error on boot:

 

/bin/bash: line4: download_install: command not found
vnstatd: no process found

 

Is there a way to fix that?

 

Thanks.

 

Following up on this as i have the same issue!

Link to comment
  • 3 weeks later...
Posted (edited)

currently because of dependency changes from 6.9 to 6.10, this plugin isnt fully working by itself at least the image outputs arent.  in order to fix the outputs you would have to install the missing dependencies.  After discussion with others i dont think this plugin should do dependency management for this because of the dependencies its needs.  That being said here is a scrip tthat you can run install stall the missing dependencies.

 

#!/bin/bash
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/gd-2.2.1-x86_64-1.txz
upgradepkg --install-new gd-2.2.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/fontconfig-2.11.1-x86_64-2.txz
upgradepkg --install-new fontconfig-2.11.1-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/harfbuzz-1.2.7-x86_64-1.txz
upgradepkg --install-new harfbuzz-1.2.7-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
upgradepkg --install-new freetype-2.6.3-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXpm-3.5.11-x86_64-2.txz
upgradepkg --install-new libXpm-3.5.11-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libX11-1.6.3-x86_64-2.txz
upgradepkg --install-new libX11-1.6.3-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libxcb-1.11.1-x86_64-1.txz
upgradepkg --install-new libxcb-1.11.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz
upgradepkg --install-new libXau-1.0.8-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXdmcp-1.1.2-x86_64-2.txz
upgradepkg --install-new libXdmcp-1.1.2-x86_64-2.txz

 

Edited by dorgan
Fixing typo
  • Like 4
Link to comment
  • 3 weeks later...

Installing the dependencies worked for me. There is however a typo in the above script which has to do with the install of freetype-2.6.3. Find the line below in the above script and you will notice it's slightly off from what I've shown below. Replace that line with what I've included below.

 

It will now install all dependencies properly or you can install freetype after the script has run by itself. Look at the install output in your terminal and notice that freetype has not installed properly.

 

upgradepkg --install-new freetype-2.6.3-x86_64-1.txz

 

If you're doing it after running the script, then just use this at the command line. Then refresh the browser window and the graphs should show up.

 

#!/bin/bash
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
upgradepkg --install-new freetype-2.6.3-x86_64-1.txz

 

Edited by outrigger999
  • Like 4
Link to comment
  • 1 month later...
  • 1 month later...

Hey Guys,

 

installed the dependencies. 

but didnt changes the view. 

 

Quote
On 3/11/2022 at 7:36 PM, dorgan said:
https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz

 

is there any thing else to do ?

 

Link to comment

Here is the updated 'script"

 

#!/bin/bash
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/gd-2.2.1-x86_64-1.txz
upgradepkg --install-new gd-2.2.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/fontconfig-2.11.1-x86_64-2.txz
upgradepkg --install-new fontconfig-2.11.1-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/harfbuzz-1.2.7-x86_64-1.txz
upgradepkg --install-new harfbuzz-1.2.7-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/l/freetype-2.6.3-x86_64-1.txz
upgradepkg --install-new freetype-2.6.3-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXpm-3.5.11-x86_64-2.txz
upgradepkg --install-new libXpm-3.5.11-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libX11-1.6.3-x86_64-2.txz
upgradepkg --install-new libX11-1.6.3-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libxcb-1.11.1-x86_64-1.txz
upgradepkg --install-new libxcb-1.11.1-x86_64-1.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXau-1.0.8-x86_64-2.txz
upgradepkg --install-new libXau-1.0.8-x86_64-2.txz
wget https://slackware.uk/slackware/slackware64-14.2/slackware64/x/libXdmcp-1.1.2-x86_64-2.txz
upgradepkg --install-new libXdmcp-1.1.2-x86_64-2.txz

 

  • Like 1
Link to comment
  • 3 weeks later...

Now that we are on the cusp of 6.11 stable being released, this plugin will probably get marked as being incompatible with OS versions 6.10.0+

 

On 3/11/2022 at 1:36 PM, dorgan said:

i dont think this plugin should do dependency management for this because of the dependencies its needs. 

 

The truth of the matter is that on 6.10 the dependencies don't exist, and need to be installed.  The current method chosen (have the user manually install the dependencies) would be more or less akin to Unassigned Devices (or even worse UD+) not including the extra packages they require and asking the user to install them manually themself.

 

If a plugin requires something not included in the OS, then it really should install it and not force the user to do package management themself.

Link to comment

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.