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

[FEAT] Blacklisting drives #610

Open
TechaNima opened this issue Mar 20, 2024 · 6 comments
Open

[FEAT] Blacklisting drives #610

TechaNima opened this issue Mar 20, 2024 · 6 comments

Comments

@TechaNima
Copy link

Hi.

I am running Scrutiny on a TrueNAS Scale VM and as such it has a couple of virtual drives.
They are just the OS and Apps. Don't worry. Just to make it easier for backup and restore on the Proxmox side.

The problem is that Scrutiny picks them up and automatically fails them, since they obviously can't pass a SMART test or whatever Scrutiny tests. Now there is ofc the delete drive button, but it has never kept the drives gone past the next collector cron job.

I'd simply like to either have a settings tab where every drive shows up and can be toggled to show on the main page or not.
Or have the delete button actually delete the drives from Scrutiny. I'd prefer the former.

@dataprolet
Copy link

This is already possible via the collector.yaml configuration file:

https://github.com/AnalogJ/scrutiny/blob/master/example.collector.yaml#L38

@TechaNima
Copy link
Author

This is already possible via the collector.yaml configuration file:

https://github.com/AnalogJ/scrutiny/blob/master/example.collector.yaml#L38

Something like this really should be in the UI.

How would I access the file? I'm running Scrutiny on TrueNAS Scale. So it's buried somewhere in the kube cluster.

@AnalogJ
Copy link
Owner

AnalogJ commented Mar 23, 2024

Unfortunately that's not possible. The web container does not have any access/knowledge of the collector containers - on purpose.

However, every collector.yaml config option can also be set via environmental variables

@TechaNima
Copy link
Author

Then why not just have the web page have a setting to not display selected info? Doesn't matter to me if the info is collected or not. I just wanted a convenient way to remove it from the UI.

@dataprolet
Copy link

Unfortunately that's not possible. The web container does not have any access/knowledge of the collector containers - on purpose.

Have you even read the comment? And maybe try to be less demanding of a FOSS-project that's maintained by a single volunteer.

@TechaNima
Copy link
Author

Unfortunately that's not possible. The web container does not have any access/knowledge of the collector containers - on purpose.

Have you even read the comment? And maybe try to be less demanding of a FOSS-project that's maintained by a single volunteer.

Yes. I read the comment and suggested an alternative way of doing what I asked for. I don't feel like I'm asking for the world here. Not all of us want to learn how to interact with kube clusters for a simple toggle for info to be shown.

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

No branches or pull requests

3 participants