VPS
Server Monitoring
Set up monitoring and alerting for your SHC VPS.
Built-In Monitoring
Your SHC VPS comes with basic monitoring visible in the Client Portal:
- CPU utilization
- Memory usage
- Disk space
- Network throughput
- Uptime history
Self-Hosted Monitoring
For comprehensive monitoring, we recommend deploying your own stack:
Prometheus + Node Exporter
Install node_exporter for system metrics:
# Download and install
wget https://github.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-amd64.tar.gz
tar xzf node_exporter-1.8.2.linux-amd64.tar.gz
sudo cp node_exporter-1.8.2.linux-amd64/node_exporter /usr/local/bin/
# Create systemd service
sudo cat > /etc/systemd/system/node_exporter.service << 'EOF'
[Unit]
Description=Node Exporter
After=network.target
[Service]
ExecStart=/usr/local/bin/node_exporter
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now node_exporter
Uptime Monitoring
For external uptime monitoring, consider:
- Uptime Kuma (self-hosted) — deploy on a separate VPS for independent monitoring
- Check our status page for SHC infrastructure status
Alerting
Configure alerts for critical thresholds:
# Example Prometheus alert rules
groups:
- name: vps-alerts
rules:
- alert: HighCPU
expr: 100 - (avg(rate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 90
for: 5m
- alert: DiskSpaceLow
expr: (node_filesystem_avail_bytes / node_filesystem_size_bytes) * 100 < 10
for: 5m
- alert: HighMemory
expr: (1 - node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes) * 100 > 90
for: 5m