diff --git a/hwmonDaemon.py b/hwmonDaemon.py index 9514271..7a764bb 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -929,29 +929,6 @@ class SystemHealthMonitor: if recent_errors: smart_health['severity'] = 'WARNING' smart_health['issues'].extend(recent_errors) - - smart_health['performance_metrics'] = { - 'read_speed': None, - 'write_speed': None, - 'access_time': None - } - - # Quick performance test - try: - perf_result = subprocess.run( - ['hdparm', '-Tt', device], - stdout=subprocess.PIPE, - stderr=subprocess.PIPE, - text=True - ) - - for line in perf_result.stdout.split('\n'): - if 'buffered disk reads' in line: - smart_health['performance_metrics']['read_speed'] = float(line.split()[0]) - elif 'cached reads' in line: - smart_health['performance_metrics']['cached_speed'] = float(line.split()[0]) - except: - pass # Skip performance metrics if hdparm fails logger.debug(f"=== SMART Health Check for {device} ===") logger.debug("Raw SMART attributes:")