-
Change Request
-
Resolution: Unresolved
-
Medium
-
8.0.0alpha1
-
None
-
1
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];