Lab: Configure Custom Alarms & vSAN Health Check
Objectives
- Lab: Configure Custom Alarms & vSAN Health Check
Prerequisites
VCF lab environment deployed and operational
Lab Environment
Standard VCF lab environment for vSphere Foundation 9.0 Administrator
Tasks
Task 1 Lab: Configure Custom Alarms & vSAN Health Check
vCenter UI → Alarms → Manage Alarms → Create new
Trigger: VM CPU used > 75% for 5min
Action: Email to ops@company.com
Power on VM, run stress-ng cpu benchmark: stress-ng --cpu 8 --timeout 300s
Verify alarm fires (may delay 5-10min)
vSAN cluster → Health Check → Run now
Review results: Any yellow/red warnings indicate misconfigurations
Remediate: If MTU check fails, verify all vSAN port groups set to MTU 9000
Validation Gate
Check: Create a custom CPU alarm for critical VMs (warn at 75%, alert at 85%, notify via email), verify it triggers, and confirm email notification is received
Expected: Alarm triggers at 75% CPU, sends warning email. At 85%, sends critical email. When CPU drops below 75%, alarm auto-resets. Alarm actions log shows successful notification delivery.
Common Errors
Final Validation
Lab completed successfully
✓ All steps completed → No errors observed
Cleanup / Restore
• Revert to snapshot if needed
Design Reflection (VCDX)
Monitoring and alerting design is part of operational architecture in VCDX. Panelists ask: how does your ops team know something is wrong? Custom alarms, notification integration, and vSAN health monitoring are expected components of a complete design.
Requirements
- Configure custom alarm thresholds per workload tier
- Set up notification actions (email, SNMP, webhook)
- Monitor vSAN health checks proactively
Constraints
- Default alarms are generic — must be customized for SLAs
- SMTP/SNMP infrastructure must be available for notifications
- Too many alarms cause alert fatigue
Assumptions
- Organization has email/paging infrastructure for notifications
- Operations team reviews and acts on alerts within SLA timeframes
Risks
- Alert fatigue from uncustomized thresholds flooding notifications
- Silent failures from alarms without configured actions