Files
Linux-Server-Management-Too…/modules
cschantz e050bb17ea Add detailed skip tracking to hardware health check disk summary
Enhancement: Show exactly what devices were skipped and why

Problem:
The disk summary showed "Total disks checked: 2" but only displayed
1 disk in the report. Users couldn't tell what was skipped or why.

Solution:
Added comprehensive skip tracking and breakdown in summary:

Skip Counters Added:
- skipped_count: Total devices skipped
- skipped_raid: Hardware RAID controllers
- skipped_virtual: Virtual/cloud disks
- skipped_lvm: Software RAID/LVM volumes
- skipped_other: USB/special devices

Summary Now Shows:
 Total devices found: X
 Physical disks monitored: X healthy, X warning, X failed
 Devices skipped (SMART not applicable): X
  • Hardware RAID controllers: X (use vendor tools)
  • Software RAID/LVM: X (monitor underlying disks)
  • Virtual/cloud disks: X (managed by hypervisor)
  • Other (USB/special): X (see findings for details)

Example Output (Physical Server with RAID):
Before:
  Total disks checked: 2
  Healthy: 1
  Warning: 0
  Failed: 0

After:
  Total devices found: 2
  Physical disks monitored: 1 healthy, 0 warning, 0 failed
  Devices skipped (SMART not applicable): 1
    • Hardware RAID controllers: 1 (use vendor tools)

Benefits:
 Crystal clear what was skipped and why
 Users understand the complete device inventory
 Each skip type has helpful guidance
 No confusion about missing devices

Changes to modules/performance/hardware-health-check.sh:
- Lines 139-147: Added skip counter variables
- Lines 160-161, 168-169: Track inaccessible devices as skipped
- Lines 210-211: Track RAID controllers as skipped
- Lines 252-253: Track virtual disks as skipped
- Lines 261-262: Track LVM/software RAID as skipped
- Lines 285-286, 294-295: Track other special devices as skipped
- Lines 560-588: Enhanced summary with skip breakdown

User Request: "add anythihg minor to enhance it"

Status:  COMPLETE - Summary now shows full device inventory breakdown
2025-12-16 02:52:06 -05:00
..