diff --git a/hwmonDaemon.py b/hwmonDaemon.py index f2d8144..c131b01 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -1919,6 +1919,10 @@ class SystemHealthMonitor: clean_issue = clean_issue.replace('[cluster-wide] ', '').replace('[cluster-wide]', '') # Remove [ceph] marker since _categorize_issue adds it as issue_tag clean_issue = clean_issue.replace('[ceph] ', '').replace('[ceph]', '') + # Strip ever-changing SMART counters from the title so the title stays + # stable across runs and doesn't trigger hourly "Title updated" comment spam. + # The counter values are already captured in the ticket description. + clean_issue = re.sub(r':\s*(?:Warning|Critical)\s+\w+:\s*\d+', '', clean_issue).strip(': ').strip() # Extract drive capacity if this is a drive-related issue. # Issue strings now use serial numbers; find the matching drive by serial.