mathoudebine / mathoudebine/turing-smart-screen-python
Configure filesystem to check
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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