Pulse/docs
rcourtman bb7ca93c18 feat: Add mdadm RAID monitoring support for host agents
Implements comprehensive mdadm RAID array monitoring for Linux hosts
via pulse-host-agent. Arrays are automatically detected and monitored
with real-time status updates, rebuild progress tracking, and automatic
alerting for degraded or failed arrays.

Key changes:

**Backend:**
- Add mdadm package for parsing mdadm --detail output
- Extend host agent report structure with RAID array data
- Integrate mdadm collection into host agent (Linux-only, best-effort)
- Add RAID array processing in monitoring system
- Implement automatic alerting:
  - Critical alerts for degraded arrays or arrays with failed devices
  - Warning alerts for rebuilding/resyncing arrays with progress tracking
  - Auto-clear alerts when arrays return to healthy state

**Frontend:**
- Add TypeScript types for RAID arrays and devices
- Display RAID arrays in host details drawer with:
  - Array status (clean/degraded/recovering) with color-coded indicators
  - Device counts (active/total/failed/spare)
  - Rebuild progress percentage and speed when applicable
  - Green for healthy, amber for rebuilding, red for degraded

**Documentation:**
- Document mdadm monitoring feature in HOST_AGENT.md
- Explain requirements (Linux, mdadm installed, root access)
- Clarify scope (software RAID only, hardware RAID not supported)

**Testing:**
- Add comprehensive tests for mdadm output parsing
- Test parsing of healthy, degraded, and rebuilding arrays
- Verify proper extraction of device states and rebuild progress

All builds pass successfully. RAID monitoring is automatic and best-effort
- if mdadm is not installed or no arrays exist, host agent continues
reporting other metrics normally.

Related to #676
2025-11-09 16:36:33 +00:00
..
api Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
development Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
images Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
monitoring Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
security docs: comprehensive v4.24.0 documentation audit and updates 2025-10-20 17:20:13 +00:00
API.md Document alert reliability features and DLQ API 2025-11-06 17:34:05 +00:00
CONFIGURATION.md docs: Add comprehensive security audit documentation 2025-11-07 17:10:21 +00:00
CONTRIBUTING-SCRIPTS.md feat: add shared script library system and refactor docker-agent installer 2025-10-20 15:13:38 +00:00
DOCKER.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
DOCKER_HUB_README.md docs: comprehensive v4.24.0 documentation audit and updates 2025-10-20 17:20:13 +00:00
DOCKER_MONITORING.md Clarify Docker agent cycling troubleshooting for cloned VMs/LXCs (related to #648) 2025-11-07 22:59:19 +00:00
FAQ.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
HOST_AGENT.md feat: Add mdadm RAID monitoring support for host agents 2025-11-09 16:36:33 +00:00
INSTALL.md Improve Docker temperature monitoring documentation for clarity (related to #600) 2025-11-07 15:09:42 +00:00
installer-v2-rollout.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
KUBERNETES.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
MIGRATION.md docs: update documentation for v4.24.0 features 2025-10-20 16:08:10 +00:00
OIDC.md refactor: remove legacy DISABLE_AUTH flag and enhance authentication UX 2025-10-27 19:46:51 +00:00
PORT_CONFIGURATION.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
PROXY_AUTH.md docs: comprehensive v4.24.0 documentation audit and updates 2025-10-20 17:20:13 +00:00
PULSE_SENSOR_PROXY_HARDENING.md Document log_level configuration for pulse-sensor-proxy 2025-11-05 19:48:42 +00:00
README.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
RELEASE_NOTES.md chore: prepare release v4.26.1 2025-11-06 12:13:56 +00:00
REVERSE_PROXY.md refactor: remove legacy DISABLE_AUTH flag and enhance authentication UX 2025-10-27 19:46:51 +00:00
SCREENSHOTS.md Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
script-library-guide.md Refactor: Code cleanup and localStorage consolidation 2025-11-04 21:50:46 +00:00
SECURITY.md feat: implement priority queue-based task execution (Phase 2 Task 6) 2025-10-20 15:13:37 +00:00
SECURITY_AUDIT_2025-11-07.md docs: Add comprehensive security audit documentation 2025-11-07 17:10:21 +00:00
SECURITY_CHANGELOG.md docs: Add comprehensive security audit documentation 2025-11-07 17:10:21 +00:00
TEMPERATURE_MONITORING.md Fix pulse-host-agent temperature collection on all Linux distros (related to #661) 2025-11-08 10:25:01 +00:00
TEMPERATURE_MONITORING_SECURITY.md Enhance container detection for temperature SSH safeguards (refs #601) 2025-11-04 22:30:35 +00:00
TROUBLESHOOTING.md docs: document TLS certificate file permissions for HTTPS setup 2025-11-05 23:08:02 +00:00
VM_DISK_MONITORING.md Improve guest agent timeout handling for high-load environments (refs #592) 2025-11-05 09:40:58 +00:00
WEBHOOKS.md docs: Add webhook private IP allowlist configuration guide 2025-11-09 08:36:15 +00:00
zfs-monitoring.md docs: comprehensive v4.24.0 documentation audit and updates 2025-10-20 17:20:13 +00:00

Pulse Documentation Index

Use this index to navigate the documentation bundled with the repository. Each section groups related guides so you can jump straight to the material you need.


Getting Started

  • INSTALL.md Installation guide covering script, Docker, and Helm paths.
  • FAQ.md Common questions and troubleshooting quick answers.
  • MIGRATION.md Export/import process for moving between hosts.
  • DEV-QUICK-START.md Hot reload workflow for local development.

Deployment Guides

Operations & Monitoring

Security

Reference

Development & Contribution

Have an idea for a new guide? Update this index when you add documentation so discoverability stays high.