-
Notifications
You must be signed in to change notification settings - Fork 97
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
Is there a metric which corresponds to the power mode? #195
Comments
@AeroNotix to the best of what I can see from drives in my fleet, that is NOT something exported by underlying I don't even see it in sysfs that might be exported via node_exporter either. |
|
May be [root@host]$ smartctl --json --info --health --attributes \
--tolerance=verypermissive --nocheck=standby \
--format=brief --log=error \
--get=apm /dev/sda | jq '.ata_apm' {
"enabled": true,
"level": 128,
"string": "minimum power consumption without standby",
"max_performance": false,
"min_power": true,
"with_standby": false
} |
Nope, those aren't the same. Not the power mode. It looks like the smartmontools source has a function Please open an upstream ticket for smartmontools to add that data to the JSON. |
smartmontools/smartmontools#239 upstream PR opened here. |
If that gets implemented you could also consider an option for not waking up the drive when getting metrics if it is asleep, e.g. EDIT: Actually is there a way to do that already? |
In the meantime I've cobbled together my own exporter for active / standby in case anyone else wants it: https://gitlab.com/DanielKinsman/drive_standby_mode_exporter/ |
Hi,
looking to keep an eye on which power state a disk is in. E.g. IDLE_A, IDLE_B etc. Looking over the metrics being exported for the setup I have, nothing seems to indicate they cover the power state.
Am I missing something or is this an attribute which isn't currently exported?
The text was updated successfully, but these errors were encountered: