Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE_REQUEST] Filters for Glances Widgets #1712

Open
Kryce49 opened this issue Oct 13, 2024 · 2 comments
Open

[FEATURE_REQUEST] Filters for Glances Widgets #1712

Kryce49 opened this issue Oct 13, 2024 · 2 comments
Assignees
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change

Comments

@Kryce49
Copy link

Kryce49 commented Oct 13, 2024

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: - type: gl-disk-space options: hostname: http://192.168.178.40:61208 devices: - '/dev/mapper/md1p1' - '/dev/mapper/md2p1'

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

No

@Kryce49 Kryce49 added the 🦄 Feature Request [ISSUE] Suggestion for new feature, update or change label Oct 13, 2024
@nerdknob
Copy link

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.

@liss-bot liss-bot added the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Oct 15, 2024
@hockwill
Copy link
Contributor

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

@liss-bot liss-bot removed the 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change
Projects
None yet
Development

No branches or pull requests

6 participants
@Lissy93 @nerdknob @liss-bot @hockwill @Kryce49 and others