We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f68aea9 commit f4d60d7Copy full SHA for f4d60d7
etc/kayobe/ansible/scripts/smartmon.py
@@ -85,6 +85,12 @@ def parse_device_info(device):
85
- device_smart_available
86
- device_smart_enabled
87
- device_smart_healthy
88
+
89
+ Args:
90
+ device (Device): A pySMART Device object with attributes such as name, interface, etc.
91
92
+ Returns:
93
+ List[str]: A list of Prometheus formatted metric strings.
94
"""
95
serial_number = (device.serial or "").lower()
96
labels = {
0 commit comments