Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

Hide inactive networks

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
leisegang
Posts: 64
Joined: Mon Feb 29, 2016 7:24 pm

Hide inactive networks
  • Quote

Post by leisegang » Sun Apr 24, 2016 5:20 pm

Is there a way to easily hide the empty network interfaces (gretap0 and gre0) and only display the venet0?

Image
Top

Falzo
Posts: 60
Joined: Mon Mar 28, 2016 8:49 am

Re: Hide inactive networks
  • Quote

Post by Falzo » Sun Apr 24, 2016 6:00 pm

the answer to your initial question probably is: no.

the lowest risk you are taking by editing /usr/local/vesta/web/list/rrd/index.php to your needs. an array named $data is generated there which will contain the data of each block of the displayed graphics. and its only needed for exactly that listing, so nothing else may be harmed. you might filter that array to get rid of those unwanted keys with some small php around it.

second way could be adapting /usr/local/vesta/bin/v-list-sys-rrd where the list to fill that array is drawn together beforehand, but you would need to have some shell scripting skills to achieve your goal ;-)

please note that any further update of vesta may overwrite those files and therefore your changes are lost. (which at least wouldn't destroy anything only bring back those displays ;-))

at last you could do some more research where those rrds actually are generated and filled, but thats already far away from 'easily hide'.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password