Skip to content

Latest commit

 

History

178 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMware vSAN Health

🚀 Overview

VMware vSAN health monitoring and diagnostic automation tool. Provides comprehensive health checks, performance monitoring, and proactive maintenance for vSAN clusters.

Technology Stack: PowerCLI, PowerShell, vSAN API, Performance Metrics

✨ Features

  • 🏥 Health Monitoring - Comprehensive vSAN health checks
  • 📊 Performance Analytics - Real-time performance metrics
  • 🔍 Proactive Diagnostics - Early issue detection
  • 📈 Capacity Planning - Storage capacity forecasting
  • 🚨 Alerting System - Automated health alerts
  • 📋 Compliance Reporting - Health compliance reports

🛠️ Prerequisites

  • PowerCLI 12.0+
  • PowerShell 5.1+
  • vCenter Server with vSAN
  • vSAN cluster access
  • Performance monitoring permissions

🚀 Quick Start

# Clone repository
git clone https://github.com/uldyssian-sh/vmware-vsan-health.git
cd vmware-vsan-health

# Import vSAN health module
Import-Module VMware.PowerCLI
Import-Module .\src\VSanHealthModule.psm1

# Connect to vCenter
Connect-VIServer -Server vcenter.domain.com

# Run health assessment
Invoke-vSANHealthCheck -Cluster "vSAN-Cluster"

# Generate health report
New-vSANHealthReport -Cluster "vSAN-Cluster" -OutputPath "C:\Reports\"

📋 Health Check Categories

Hardware Health

  • Disk health status
  • Controller health
  • Network adapter status
  • Hardware compatibility
  • Firmware versions

Cluster Health

  • Cluster configuration
  • Network connectivity
  • Storage policies
  • Object health
  • Resync operations

Performance Health

  • IOPS performance
  • Latency metrics
  • Throughput analysis
  • Cache utilization
  • Deduplication ratios

🔧 Available Functions

Function Description
Invoke-vSANHealthCheck Run comprehensive health check
Get-vSANPerformance Collect performance metrics
Test-vSANConnectivity Test network connectivity
Get-vSANCapacity Analyze storage capacity
Set-vSANAlert Configure health alerts

📊 Monitoring Examples

# Monitor cluster performance
Get-vSANPerformance -Cluster "vSAN-Cluster" -Duration 24 -Interval 5

# Check disk health
Test-vSANDiskHealth -Cluster "vSAN-Cluster" -IncludeDetails

# Analyze capacity trends
Get-vSANCapacityTrend -Cluster "vSAN-Cluster" -Days 30

🚨 Alerting & Notifications

  • Email notifications
  • SNMP trap integration
  • Webhook support
  • Custom alert thresholds
  • Escalation procedures

📈 Reporting

  • Executive dashboards
  • Technical health reports
  • Performance trend analysis
  • Capacity planning reports
  • Compliance documentation

📚 Documentation

🤝 Contributing

See CONTRIBUTING.md for contribution guidelines.

📄 License

MIT License - see LICENSE file for details.


Maintained by: uldyssian-sh

⭐ Star this repository if you find it helpful!

Disclaimer: Use of this code is at your own risk. Author bears no responsibility for any damages caused by the code.

About

VMware vSAN health monitoring and management suite with automated diagnostics and performance analytics

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages