mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2025-12-05 23:11:43 +01:00
feat: add Perc_Avail_Resrvd_Space to support metrics
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user