Skip to content
Snippets Groups Projects
Commit 43bf82d2 authored by ale's avatar ale
Browse files

Add the device_smart_healthy metric

parent 3918aa5d
Branches
No related tags found
No related merge requests found
Pipeline #82600 passed
......@@ -251,6 +251,7 @@ def collect_device_metrics(device):
if not is_available:
return
yield Gauge('device_smart_healthy', device.labels, data['smart_status']['passed'])
yield Gauge('power_on_hours', device.labels, data['power_on_time']['hours'])
yield Gauge('power_cycle_count', device.labels, data['power_cycle_count'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment