Lissy93 / dashy

🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
https://dashy.to
MIT License
18.11k stars 1.37k forks source link

[FEATURE_REQUEST] Filters for Glances Widgets #1712

Open Kryce49 opened 1 month ago

Kryce49 commented 1 month ago

Is your feature request related to a problem? If so, please describe.

I have many devices on my server. I don't want to show all of them in the glances widgets but there is no filter option.

Describe the solution you'd like

A posibility to filter the devices in these widgets:

For example: `widgets:

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

No

nerdknob commented 1 month ago

The ability to rename sensors would be super helpful as well as filtering. I have a glances widget for my unRAID server and would love to rename disk sdb to 'parity disk' for example. I don't know vue otherwise I'd jump in and help add the functionality.

hockwill commented 1 month ago

In your glances config file you can specify alias's for different devices. Example below pulled from a configuration template file I used to setting an instance up. This will use the alias for the web display and include the alias in the api response.

# Alias for sda1 and sdb1
#alias=sda1:SystemDisk,sdb1:DataDisk