Ad Widget

Collapse

"Proxmox VE by HTTP" Template, Disk SMART status preprocessing should match "PASSED"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • broth-itk
    Junior Member
    • Nov 2025
    • 2

    #1

    "Proxmox VE by HTTP" Template, Disk SMART status preprocessing should match "PASSED"

    I'm testing the new Zabbix 8.0 alpha and I found (at least in that release) that the "Proxmox VE by HTTP" template reports many SMART errors with my PVE servers.
    After further investigation I discovered that the SMART health status returned by the Proxmox API is not always "OK" but can be "PASSED" as well.

    I'd suggest following change in the Preprocessing of "Node [{#NODE.NAME}]: Disk [{#DISK.NAME}]: SMART status":

    Code:
    const idx = {
      'OK': 1,
      'PASSED': 1
    };
    
    return typeof idx[value] === 'undefined' ? 0 : idx[value];
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    I think it would be best to post a feature request in Zabbix's support.

    Comment

    • broth-itk
      Junior Member
      • Nov 2025
      • 2

      #3
      Thank you, created!



      Hopefully I can keep my motivation up and there is some positive outcome.


      Comment

      • markfree
        Senior Member
        • Apr 2019
        • 868

        #4
        It seems that an update is coming to the SMART status in "Proxmox VE via the HTTP" template.

        Comment

        Working...