You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running collector from command line to see whats happening in debug, I see that device info is collected correctly but smarty attributes are collected with wrong parameters, it uses device sat every time so It cant get any smart attribute.
root@90c6238da1f2:/opt/scrutiny# /opt/scrutiny/bin/scrutiny-collector-metrics run
2024/10/06 19:07:53 Loading configuration file: /opt/scrutiny/config/collector.yaml
___ ___ ____ __ __ ____ ____ _ _ _ _
/ __) / __)( _ \( )( )(_ _)(_ _)( \( )( \/ )
\__ \( (__ ) / )(__)( )( _)(_ ) ( \ /
(___/ \___)(_)\_)(______) (__) (____)(_)\_) (__)
AnalogJ/scrutiny/metrics dev-0.8.1
INFO[0000] Verifying required tools type=metrics
INFO[0000] Executing command: smartctl --scan --json type=metrics
INFO[0000] Executing command: smartctl --info --json --device cciss,0 /dev/sda type=metrics
INFO[0000] Generating WWN type=metrics
INFO[0000] Executing command: smartctl --info --json --device cciss,1 /dev/sda type=metrics
INFO[0000] Generating WWN type=metrics
INFO[0000] Sending detected devices to API, for filtering & validation type=metrics
INFO[0000] Collecting smartctl results for sda type=metrics
INFO[0000] Executing command: smartctl --xall --json --device sat /dev/sda type=metrics
ERRO[0000] smartctl returned an error code (2) while processing sda type=metrics
ERRO[0000] smartctl could not open device type=metrics
INFO[0000] Publishing smartctl results for 0x5000cca26fe8bd79 type=metrics
INFO[0000] Collecting smartctl results for sda type=metrics
INFO[0000] Executing command: smartctl --xall --json --device sat /dev/sda type=metrics
ERRO[0000] smartctl returned an error code (2) while processing sda type=metrics
ERRO[0000] smartctl could not open device type=metrics
INFO[0000] Publishing smartctl results for 0x5000cca270c3bb14 type=metrics
INFO[0000] Main: Completed type=metrics
If I change --device sat to correct --device cciss,0 (0 and 1 and others) then all data is displayed correctly by smartctl, but what I see is scrutiny calls smartctl with wrong parameters in second part.
The text was updated successfully, but these errors were encountered:
I have 1x raid array made of 12x disks.
Here is my configuration file:
When running collector from command line to see whats happening in debug, I see that device info is collected correctly but smarty attributes are collected with wrong parameters, it uses device sat every time so It cant get any smart attribute.
If I change
--device sat
to correct--device cciss,0
(0 and 1 and others) then all data is displayed correctly by smartctl, but what I see is scrutiny calls smartctl with wrong parameters in second part.The text was updated successfully, but these errors were encountered: