Closed
Description
Check the bug
I can't see recent reports of this issue.
Describe the bug
I am configuring hide=
regexs in the [network]
and [fs]
sections to hide certain network interfaces and file systems, but these seem to be ignored in the WebUI.
To Reproduce
Steps to reproduce the behavior:
- Start Glances with config as below (docker + glances config)
- View the webUI
- Note that
hide=
config is getting ignored for Network and File System sections
Specific relevant config:
[network]
hide=docker.*,lo,br.*,veth.*
And:
[fs]
hide=/boot.*,/snap.*,.*conf,.*hostname,.*hosts
Expected behavior
I expected the hide=
config to hide Network / File System items per my regexs.
Screenshots
Here are screenshots of the relevant UI sections.


Environment (please complete the following information)
- Operating System of host:
% lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
- Glances & psutil versions (docker image release):
docker.io/nicolargo/glances:4.3.1-full
- How do you install Glances (Pypi package, script, package manager, source): docker (config below)
- Glances test: as follows (omitting detail for brevity)
/app # glances --issue
===============================================================================
Glances 4.3.1 (/app/glances/__init__.py)
Python 3.12.9 (/venv/bin/python3)
PsUtil 7.0.0 (/venv/lib/python3.12/site-packages/psutil/__init__.py)
===============================================================================
alert [OK] 0.00002s
amps [OK] 0.00041s key=name
cloud [NA]
connections [NA]
containers [OK] 0.22196s key=name
core [OK] 0.00043s
cpu [OK] 0.00049s
diskio [OK] 0.00070s key=disk_name
folders [OK] 0.00003s
fs [OK] 0.00068s key=mnt_point
gpu [OK] 0.00003s
help [OK] 0.00001s
ip [OK] 0.00469s
irq [NA]
load [OK] 0.00005s
mem [OK] 0.00021s
memswap [OK] 0.00027s
network [OK] 0.00680s key=interface_name
now [OK] 0.00005s
percpu [OK] 0.00041s key=cpu_number
ports [OK] 0.00001s
processcount [OK] 0.15329s
processlist [OK] 0.00029s
programlist [OK] 0.00479s
psutilversion [OK] 0.00004s
quicklook [OK] 0.00050s
raid [NA]
sensors [OK] 0.00001s key=label
smart [NA]
system [OK] 0.00001s
===============================================================================
Total time to update all stats: 0.40150s
===============================================================================
Additional context
Docker compose config:
services:
glances:
image: docker.io/nicolargo/glances:4.3.1-full
container_name: glances
network_mode: host
ports:
- "61208:61208"
- "61209:61209"
environment:
- 'GLANCES_OPT=-w'
- TZ=Australia/Hobart
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- '/home/nick/docker/glances/glances.conf:/etc/glances.conf'
- '/home/nick/docker/glances:/home:ro'
- '/tmp:/root:ro'
pid: "host"
restart: unless-stopped
Abbreviated glances config:
[global]
check_update=true
history_size=28800
[outputs]
curse_theme=black
max_processes_display=30
[quicklook]
disable=false
cpu_careful=50
cpu_warning=70
cpu_critical=90
mem_careful=50
mem_warning=70
mem_critical=90
swap_careful=50
swap_warning=70
swap_critical=90
...
[network]
rx_careful=70
rx_warning=80
rx_critical=90
tx_careful=70
tx_warning=80
tx_critical=90
hide=docker.*,lo,br.*,veth.*
show=eno1
...
[fs]
hide=/boot.*,/snap.*,.*conf,.*hostname,.*hosts
careful=50
warning=70
critical=90
...