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

[BUG] scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc* #751

Open
jo-chemla opened this issue Feb 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jo-chemla
Copy link

jo-chemla commented Feb 20, 2025

Describe the bug
On an older synology NAS, scrutiny shows no drives/SMART tests in the webui. Testing smartctl via SSH yields the below error:

smartctl --scan 
scan_smart_devices: glob(3) aborted matching pattern /dev/discs/disc*

Note: trying the bellow yields:

smartctl --scan /dev/sata*
# scan_smart_devices: DEVICESCAN with pattern not implemented yet

See resolution here: It is required in that case to tell scrutiny what devices to test drives for, via the collector.yaml file

devices:
   - device: /dev/sata1
     type: 'sat'

Expected behavior
The error could be made more apparent in logs or the webui (for web/spoke or full scrutiny), or an alternative smartctl mode could be used to bypass the error

@jo-chemla jo-chemla added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant