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

Ability to specify hide or show for smart plugin #2996

Open
ACrazyConcept opened this issue Oct 31, 2024 · 3 comments
Open

Ability to specify hide or show for smart plugin #2996

ACrazyConcept opened this issue Oct 31, 2024 · 3 comments

Comments

@ACrazyConcept
Copy link

Is your feature request related to a problem? Please describe.
Smart sensors are great but there are a lot of them. So would be cool if it was possible to specify what info to display.

Describe the solution you'd like
Same as is possible for other plugins:

[smart]
disable=False
# Hide some sensors (comma separated list of regexp)
# hide=
# Show only the following sensors (comma separated list of regexp)
show=Drive_Temperature.*

Describe alternatives you've considered
Don't really have any ideas.

Additional context
N/A

@nicolargo
Copy link
Owner

Just pushed a patch on the develop branch.

Please use:

[smart]
disable=False
show=.*Drive_Temperature.*

@ACrazyConcept Can you test the develop branch ?

If it is ok, it will be release in Glances 4.3.

@ACrazyConcept
Copy link
Author

Awesome thanks!
I can't seem to get it working though. (Version says 4.3.0_dev04)

Without hide/show:
image

With show=.*Drive_Temperature.* nothing is displayed.

Can't hide either, e.g.; hide=.*Available_Reservd_Space.* still shows all.

@nicolargo
Copy link
Owner

Strange, it works on my side. Can you please test Glances 4.3.0_dev05 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants