Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8388

Include normalized value along with raw values in SMART data attributes

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Agent (G)
    • None

      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.

            vso Vladislavs Sokurenko
            glesys-andreas Andreas Nilsson
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: