Skip to content

Conversation

@thomashilzendegen
Copy link

This should fix #608 as it was overriding a configured device type from the collector.yaml with the (in my case wrong) results from the smartctl --info command (device.type JSON element).

@AnalogJ
Copy link
Owner

AnalogJ commented Oct 19, 2025

The device type in the collector should always take precedence over smartctl info results.
IIRC this type needs to be defined, so we can't remove this

@thomashilzendegen
Copy link
Author

Exactly. That's the reason why I removed that line, as it overwrote the collector's device type with the smartctl info results.

Starosdev added a commit to Starosdev/scrutiny that referenced this pull request Nov 30, 2025
Prevents device type from being overwritten during SMART info collection.
This preserves user-configured device types for drives that require
specific type settings (e.g., USB bridges, RAID controllers).

Origin: AnalogJ#803
Original author: @thomashilzendegen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Cannot pull metrics from aacraid raid

2 participants