-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Describe the bug
glances displays sensors that are defined as hidden.
To Reproduce
Steps to reproduce the behavior:
- Start glances with
hide=acpitz.*,Composite.*,Sensor.*,pch.*
View web UI and see:

Expected behavior
Glances hides defined sensors
Environement (please complete the following information)
- Operating System (lsb_release -a or OS name/version): Ubuntu 24.04.3 LTS
- Glances & psutil versions: 4.3.3 / 7.0.0
- How do you install Glances (Pypi package, script, package manager, source): pipx
- Glances test:
===============================================================================
Glances 4.3.3 (/home/tim/.local/share/pipx/venvs/glances/lib/python3.12/site-packages/glances/__init__.py)
Python 3.12.3 (/home/tim/.local/share/pipx/venvs/glances/bin/python)
PsUtil 7.0.0 (/home/tim/.local/share/pipx/venvs/glances/lib/python3.12/site-packages/psutil/__init__.py)
===============================================================================
alert [OK] 0.00003s
[]
amps [OK] 0.00053s key=name
[{'count': 0,
'countmax': None,
'countmin': 1.0,
'key': 'name',
'name': 'Dropbox',
'refresh': 3.0,
'regex': True,
'result': None,
'timer': 2.267416000366211}, ...]
cloud [NA]
connections [NA]
containers [OK] 0.06994s key=name
[{'command': 'hostd --env --http :9980',
'cpu_percent': 35.09197007481297,
'created': '2025-08-20T21:51:46.146172461Z',
'engine': 'docker',
'id': '1400c93fe4a4fe55c530e43aaf19d9f5cde2a5ff48e588e72e6a90417faab552',
'image': ('ghcr.io/siafoundation/hostd:2.4.0-beta.1',),
'io_rx': None,
'io_wx': None,
'key': 'name',
'memory_inactive_file': 23635341312,
'memory_limit': 33510993920,
'memory_percent': None,
'memory_usage': 24031105024,
'name': 'sia-hostd',
'network_rx': None,
'network_tx': None,
'status': 'running',
'uptime': '2 hours'}, ...]
core [OK] 0.00044s
{'log': 8, 'phys': 4}
cpu [OK] 0.00035s
{'cpucore': 8,
'ctx_switches': 0,
'ctx_switches_gauge': 126775348,
'ctx_switches_rate_per_sec': 0,
'guest': 0.0,
'idle': 88.7,
'interrupts': 0,
'interrupts_gauge': 69874320,
'interrupts_rate_per_sec': 0,
'iowait': 0.4,
'irq': 0.0,
'nice': 0.0,
'soft_interrupts': 0,
'soft_interrupts_gauge': 37986490,
'soft_interrupts_rate_per_sec': 0,
'steal': 0.0,
'syscalls': 0,
'syscalls_gauge': 0,
'syscalls_rate_per_sec': 0,
'system': 2.6,
'time_since_update': 2.2752740383148193,
'total': 10.8,
'user': 7.1}
diskio [OK] 0.00092s key=disk_name
[{'disk_name': 'nvme0n1',
'key': 'disk_name',
'read_bytes': 0,
'read_bytes_gauge': 4077556736,
'read_bytes_rate_per_sec': 0,
'read_count': 0,
'read_count_gauge': 340549,
'read_count_rate_per_sec': 0,
'time_since_update': 2.139845609664917,
'write_bytes': 0,
'write_bytes_gauge': 5599945216,
'write_bytes_rate_per_sec': 0,
'write_count': 0,
'write_count_gauge': 132031,
'write_count_rate_per_sec': 0}, ...]
folders [OK] 0.00003s
[]
fs [OK] 0.00071s key=mnt_point
[{'device_name': '/dev/mapper/ubuntu--vg-ubuntu--lv',
'free': 148691181568,
'fs_type': 'ext4',
'key': 'mnt_point',
'mnt_point': '/',
'options': 'rw,relatime',
'percent': 68.0,
'size': 489518014464,
'used': 315885404160}, ...]
gpu [OK] 0.00003s
[]
help [OK] 0.00000s
None
ip [OK] 0.00369s
{'address': '***', 'mask': '***', 'mask_cidr': '***', 'public_address': '***', 'public_info_human': '***'}
irq [NA]
load [OK] 0.00004s
{'cpucore': 8, 'min1': 1.14111328125, 'min15': 0.724609375, 'min5': 0.87744140625}
mem [OK] 0.00014s
{'active': 2695712768,
'available': 31320477696,
'buffers': 252125184,
'cached': 28286713856,
'free': 31320477696,
'inactive': 26698596352,
'percent': 6.5,
'shared': 3792896,
'total': 33510993920,
'used': 2190516224}
memswap [OK] 0.00020s
{'free': 4294963200,
'percent': 0.0,
'sin': 0,
'sout': 0,
'time_since_update': 2.143848419189453,
'total': 4294963200,
'used': 0}
network [OK] 0.00124s key=interface_name
[{'alias': None,
'bytes_all': 14454818,
'bytes_all_gauge': 63423193457,
'bytes_all_rate_per_sec': 6936981.0,
'bytes_recv': 10608524,
'bytes_recv_gauge': 38457685743,
'bytes_recv_rate_per_sec': 5091114.0,
'bytes_sent': 3846294,
'bytes_sent_gauge': 24965507714,
'bytes_sent_rate_per_sec': 1845866.0,
'interface_name': 'eno1',
'key': 'interface_name',
'speed': 1048576000,
'time_since_update': 2.083733081817627}, ...]
now [OK] 0.00003s
{'custom': '2025-08-22 18:01:38 CDT', 'iso': '2025-08-22T18:01:38-05:00'}
percpu [OK] 0.00041s key=cpu_number
[{'cpu_number': 0,
'dpc': None,
'guest': 0.0,
'guest_nice': 0.0,
'idle': 88.2,
'interrupt': None,
'iowait': 0.0,
'irq': 0.0,
'key': 'cpu_number',
'nice': 0.0,
'softirq': 0.5,
'steal': 0.0,
'system': 1.8,
'total': 11.8,
'user': 9.5}, ...]
ports [OK] 0.00001s key=indice
[{'description': 'DefaultGateway',
'host': '10.1.50.1',
'indice': 'port_0',
'key': 'indice',
'port': 0,
'refresh': 30,
'rtt_warning': None,
'status': 0.003398,
'timeout': 3}, ...]
processcount [OK] 0.05784s
{'pid_max': 0, 'running': 1, 'sleeping': 172, 'thread': 804, 'total': 271}
processlist [OK] 0.00014s
[]
programlist [OK] 0.00156s
[]
psutilversion [OK] 0.00003s
'7.0.0'
quicklook [OK] 0.00037s
{'cpu': 10.8,
'cpu_hz': 4500000000.0,
'cpu_hz_current': 4102240250.0,
'cpu_log_core': 8,
'cpu_name': 'Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz',
'cpu_phys_core': 4,
'load': 9.1,
'mem': 6.5,
'percpu': [{...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}],
'swap': 0.0}
raid [NA]
sensors [OK] 0.00001s key=label
[{'critical': 89,
'key': 'label',
'label': 'Composite',
'type': 'temperature_core',
'unit': 'C',
'value': 34,
'warning': 86}, ...]
smart [NA]
system [OK] 0.00001s
{'hostname': 'nuckie',
'hr_name': 'Ubuntu 24.04 64bit / Linux 6.8.0-78-generic',
'linux_distro': 'Ubuntu 24.04',
'os_name': 'Linux',
'os_version': '6.8.0-78-generic',
'platform': '64bit'}
uptime [OK] 0.00009s
{'seconds': 10590}
version [OK] 0.00002s
'4.3.3'
vms [NA]
wifi [OK] 0.00009s
[]
===============================================================================
Total time to update all stats: 0.14404s
===============================================================================
Additional context
Add any other context about the problem here.
You can also pastebin:
- the Glances configuration file (https://glances.readthedocs.io/en/latest/config.html#location)
- the Glances log file (https://glances.readthedocs.io/en/latest/config.html#logging)