[ZBXNEXT-8388] Include normalized value along with raw values in SMART data attributes Created: 2023 Apr 04 Updated: 2025 Mar 31 |
|
Status: | Done |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Agent2 plugin (G) |
Affects Version/s: | None |
Fix Version/s: | 7.0.11rc1, 7.2.5rc1, 7.4.0beta1 (master) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Andreas Nilsson | Assignee: | Leonards Survilo |
Resolution: | Unresolved | Votes: | 7 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||||
Sub-Tasks: |
|
||||||||||
Story Points: | 2 |
Description |
Is it possible to present the normalized value along side the raw value in the smart.disk.get command? For example: In our setup with many Samsung SSDs, we can read the wear level from attribute id 177 from the smartdata, but the raw value in this case is far from the same as the normalized value. "id": 177, "name": "Wear_Leveling_Count", "raw": { "string": "8308", "value": 8308 }, "thresh": 5, "value": 56, "when_failed": "", "worst": 56 I believe these are the files that needs to be changed https://github.com/zabbix/zabbix/blob/master/src/go/plugins/smart/smart.go#L288 https://github.com/zabbix/zabbix/blob/master/src/go/plugins/smart/smartfs.go#L126 Please let me know if you want med to create a MR in case you find this as a valid solution. |
Comments |
Comment by Andreas Nilsson [ 2023 Apr 06 ] |
Created a pull request after building the smart plugin from source: |
Comment by Leonards Survilo [ 2025 Mar 11 ] |
Implemented in
|
Comment by Marianna Zvaigzne [ 2025 Mar 20 ] |
Documented in: |