feat: add Perc_Avail_Resrvd_Space to support metrics

This commit is contained in:
2024-01-03 16:55:36 +01:00
parent edc454f154
commit 72e0210d26

View File

@@ -34,6 +34,8 @@ def normalize(smart):
elif name == "power_on_hours":
target_name = "power_on_hours"
use_raw = True
elif name == "perc_avail_resrvd_space":
target_name = "available_spare"
# check if metric should be recorded #
if target_name in ret: