mathoudebine / mathoudebine/turing-smart-screen-python

Configure filesystem to check

Open
#947 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Description

Hi,

At this time, sensors check root ("/") filesystem only.
In multidisk configurations, i think it should be possible to select another mount point in config.yaml.

I know it can be done with patching sensors_python.py in library/
I also know that PRs to include multidisk management are on the way.

But, adding mountpoint in configuration file (like ethernet port name, ...) could simplify many use case where only one disk must be monitored and not the root one :)

Just my penny !

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with config.yaml and library/sensors_python.py, which the issue identifies as the configuration and sensor areas involved. Trace how the filesystem sensor currently checks "/" and how other settings such as the Ethernet port are configured. Done means a configured mount point can be selected and monitored instead of only the root filesystem.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.