Skip to content

uldyssian-sh/vmware-vsan-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

VMware vSAN Health

GitHub license CI

πŸš€ 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.

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •