mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-02-18 00:17:39 +01:00
Previously, the PULSE_DISK_EXCLUDE environment variable and --disk-exclude flag only filtered mount points in the hostmetrics collector. This change extends the exclusion to SMART data collection. Changes: - Updated smartctl.CollectLocal() to accept diskExclude patterns - Added matchesDeviceExclude() for block device pattern matching - Patterns support: exact match (sda), prefix (nvme*), contains (*cache*) - Updated hostagent to pass DiskExclude to SMART collector - Added comprehensive tests for pattern matching - Updated documentation