From 63daa57d80a79af112f7b37794a4bdfead81b041 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 6 Jan 2026 17:15:02 -0500 Subject: [PATCH] Fix missing drive capacity in ticket titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Drive capacity was being extracted but never inserted into ticket titles. The drive_size variable was calculated from drive details but omitted from the ticket_title string construction. Solution: Added drive_size to ticket title format between category and issue. Example ticket titles now show: - Before: "[hostname][auto][hardware]Drive /dev/sda has SMART issues..." - After: "[hostname][auto][hardware][16.0 TB] Drive /dev/sda has SMART issues..." This makes it easier to identify which drives need attention at a glance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- hwmonDaemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hwmonDaemon.py b/hwmonDaemon.py index ff7de38..9fe780d 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -1283,6 +1283,7 @@ class SystemHealthMonitor: f"[{hostname}]" f"{action_type['AUTO']}" f"{category_template}" + f"{drive_size}" # Insert drive capacity here f"{issue}" f"{scope}" f"{environment['PRODUCTION']}"