Skip to content

Commit a349fc2

Browse files
committed
add print statement
1 parent 278ef61 commit a349fc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def get_metrics():
108108
timeout=2,
109109
)
110110
if "SMART support is: Unavailable" in result.stdout:
111-
# Skip non-physical/virtual disks with no SMART support
111+
# Skip non-physical/virtual disks with no SMART support
112+
print(f"disk {dev} is not S.M.A.R.T enabled")
112113
continue
113114

114115
if "STANDBY" in result.stdout:

0 commit comments

Comments
 (0)