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] Exclude drives #588

Closed
SplinterHead opened this issue Feb 27, 2024 · 1 comment
Closed

[FEAT] Exclude drives #588

SplinterHead opened this issue Feb 27, 2024 · 1 comment

Comments

@SplinterHead
Copy link

Is your feature request related to a problem? Please describe.
I have a hardware RAID controller (Dell PERC) that I have configured to show the drives connected. When the container (re)starts, all the configured drives attached to the RAID controller show up green, but it also shows up the physical drives which are red as Scrutiny cannot read the data for these drives.

Describe the solution you'd like
I would like to be able to (probably in the collector.yaml) define drives that are excluded from Scrutiny's dashboard. They aren't mounted to the docker container, but the container is running in privileged mode - this is so I can mount /dev/bus/*

Additional context
Below is the docker-compose.yaml file I am running

services:
  scrutiny:
    container_name: scrutiny
    image: ghcr.io/analogj/scrutiny:master-omnibus
    networks:
      - nginx
    cap_add:
      - SYS_RAWIO
    privileged: true
    volumes:
      - /run/udev:/run/udev:ro
      - /storage/data/scrutiny/config:/opt/scrutiny/config
      - /storage/data/scrutiny/influx:/opt/scrutiny/influxdb
    devices:
      - "/dev/sdk" # OS Disk
      - "/dev/bus/0" # Dell PERC H710
      - "/dev/bus/1" # Dell PERC H810
@SplinterHead
Copy link
Author

Just seen that this is already part of Scrutiny

# # example to show how to ignore a specific disk/device.

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

1 participant