Prerequisites
Before setting up server health monitoring, make sure you have:
- Admin access to HestiaCP
- SSH access to your VPS
Built-in Health Monitoring in HestiaCP
Step 1: Log in to HestiaCP
https://YOUR_SERVER_IP:8083
Step 2: Navigate to SERVER Section
Click on SERVER in the top menu bar.
Step 3: View Health Statistics
The SERVER dashboard shows:
- CPU Usage - Current processor utilization
- RAM Usage - Memory consumption
- Storage - Disk space usage
- Network - Incoming/outgoing traffic
- System Load - Load average per CPU core
- Uptime - Server uptime
Enable Email Alerts for Critical Issues
Configure notifications:
nano /usr/local/hestia/conf/hestia.conf
Add:
DISK_ALERT='90' # Alert when disk usage > 90%
LOAD_ALERT='4' # Alert when load > 4
MEMORY_ALERT='90' # Alert when memory usage > 90%
Restart Hestia:
systemctl restart hestia
Command Line Health Checks
Check CPU info:
htop
Check memory:
free -h
Check disk:
df -h
Check load:
uptime
Create Health Monitoring Script
#!/bin/bash
# Health report
echo "=== Server Health Report ==="
echo "Time: $(date)"
echo "Uptime: $(uptime -p)"
echo "CPU Load: $(uptime | awk -F'load average:' '{print $2}')"
echo "Memory: $(free -h | grep Mem | awk '{print $3"/"$2}')"
echo "Disk: $(df -h / | awk 'NR==2 {print $5}' | sed 's/%//')% used"
echo "Connections: $(ss -tun | wc -l)"
Add to cron for hourly reporting.
✅ Server health monitoring is configured!