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

Add support for the S.M.A.R.T monitoring to the Zabbix Agent 2 out of the box

XMLWordPrintable

    • Team INT
    • Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021)
    • 7

      Some examples using Go: https://github.com/dswarbrick/smart (apache license)

      Interaction with the hardware is quiet simple, so would be great to have hdd/sas/nvme smart attributes monitoring out of the box.

      Also smartmontools implemented json output out of the box:
      https://www.smartmontools.org/ticket/766
      https://www.smartmontools.org/ticket/916

      Example using smartctl:

      /usr/local/bin/smartctl -A /dev/disk0 -j
      {
        "json_format_version": [
          1,
          0
        ],
        "smartctl": {
          "version": [
            7,
            1
          ],
          "svn_revision": "5022",
          "platform_info": "Darwin 19.4.0 x86_64",
          "build_info": "(local build)",
          "argv": [
            "smartctl",
            "-A",
            "/dev/disk0",
            "-j"
          ],
          "exit_status": 0
        },
        "device": {
          "name": "/dev/disk0",
          "info_name": "/dev/disk0",
          "type": "nvme",
          "protocol": "NVMe"
        },
        "nvme_smart_health_information_log": {
          "critical_warning": 0,
          "temperature": 30,
          "available_spare": 100,
          "available_spare_threshold": 10,
          "percentage_used": 3,
          "data_units_read": 73822859,
          "data_units_written": 40448990,
          "host_reads": 1106854698,
          "host_writes": 791480753,
          "controller_busy_time": 2191,
          "power_cycles": 7002,
          "power_on_hours": 859,
          "unsafe_shutdowns": 79,
          "media_errors": 0,
          "num_err_log_entries": 148
        },
        "temperature": {
          "current": 30
        },
        "power_cycle_count": 7002,
        "power_on_time": {
          "hours": 859
        }
      }
      

            mchudinov Maxim Chudinov (Inactive)
            edgar.akhmetshin Edgar Akhmetshin
            Team INT
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: