Closed iamwoz closed 2 years ago
please look at https://github.com/AnalogJ/scrutiny/blob/master/docs/TROUBLESHOOTING_DEVICE_COLLECTOR.md#exit-codes
In general, collector issues are due to failures in the smartctl
command. Sometimes its related to permissions, other times its related to missing CLI flags.
See if you can get smartctl
working successfully with your device first, then you can update the scrutiny config with the relevant parameters.
Describe the bug Getting error messages for a subset of my drives visible to Scrutiny.
I have removed 4x drives and replaced with 3x new drives in the last week (so /dev assignments have likely changed) - I'm unsure if I need to inform Scrutiny of this fact or how.
time="2022-06-29T10:25:30+12:00" level=error msg="smartctl returned an error code (64) while processing sdu\n" type=metrics time="2022-06-29T10:25:34+12:00" level=error msg="smartctl returned an error code (4) while processing sdl\n" type=metrics time="2022-06-29T10:25:37+12:00" level=error msg="smartctl returned an error code (36) while processing sda\n" type=metrics time="2022-06-29T10:25:39+12:00" level=error msg="smartctl returned an error code (4) while processing sdf\n" type=metrics
Expected behavior These should be detected as per others.
Collector log attached collector.log
Docker compose file version: '3.3' services: scrutiny: container_name: scrutiny image: ghcr.io/analogj/scrutiny:beta-omnibus privileged: true
cap_add:
OTHER INFO Scrutiny is currently reporting FAILED status for two drives (one of which: sdu is included in the smartctl errors but don't believe this is related).