Monitoring
OEC.sh provides real-time monitoring to help you track server health, environment performance, and receive alerts when issues arise.
What Monitoring Shows
The monitoring system tracks key metrics across your infrastructure:
Server Metrics
- CPU usage percentage
- Memory (RAM) usage and availability
- Disk space utilization
- Network traffic (KB/s combined receive and transmit)
Container Health
- Running status of Odoo and database containers
- CPU and memory usage per container
- Network I/O per container
- Container restart counts
Database Replica Health (Odoo 18/19 only)
- Replication status (online, lagging, offline, error)
- Data lag in bytes and seconds
Viewing Server Metrics
To check your server health:
- Navigate to Servers in the left sidebar
- Select a server from the list
- Click the Metrics tab
- View current CPU, memory, and disk usage
The metrics panel displays:
- Current values with percentage indicators
- Health status badge (healthy, warning, critical)
- Container list with individual resource usage
Health Status Thresholds
| Status | CPU | Memory | Disk |
|---|---|---|---|
| Healthy | Below 70% | Below 70% | Below 80% |
| Warning | 70-85% | 70-85% | 80-90% |
| Critical | Above 85% | Above 85% | Above 90% |
Viewing Environment Health
To monitor a specific environment:
- Go to Environments and select your environment
- Click on the Monitoring tab
- Review container status and resource usage
Note: The Monitoring tab is only available when the environment is running and a server is assigned.
The environment view shows:
- Odoo container CPU and memory usage
- Database container performance
- Container status (running, stopped, restarting)
- Network I/O statistics
Metrics refresh automatically every 30 seconds.
Understanding Alerts
OEC.sh generates alerts when metrics exceed thresholds:
Alert Types
- High CPU: Server CPU consistently above threshold
- High Memory: Memory usage approaching limits
- Low Disk Space: Disk running out of storage
- Container Down: A container has stopped unexpectedly
- Server Unreachable: Cannot connect to server
Alert Severities
- Info: Informational notice, no action needed
- Warning: Review within hours, may need attention
- Critical: Immediate action required
Receiving Alerts
Alerts appear in multiple places:
- Real-time notifications in the dashboard
- Email notifications (if configured)
- Alert history in the server monitoring panel
Where to Find Monitoring
| What to Monitor | Where to Find It |
|---|---|
| Server metrics | Servers > Select server > Metrics tab |
| Environment health | Environments > Select environment > Monitoring tab |
| Active alerts | Dashboard notifications or dedicated Alerts page |
| Replica health | Environments > Settings tab > Database section |
Database Replica Monitoring
For environments with PostgreSQL read replicas (Odoo 18 and 19 only):
- Go to your environment details page
- Click the Settings tab
- Find the Database section
- The Read Replica Status widget shows:
- Online: Replica is healthy and synchronized
- Lagging: Replica is behind primary database
- Offline: Replica is not streaming data
- Error: Health check failed (see error message for details)
Lag Metrics Displayed
- Lag (Bytes): Amount of WAL data not yet replicated
- Lag (Time): How far behind the replica is in seconds
- Last Checked: When the health check last ran
Lag Thresholds
- Warning: Over 50MB or 15 seconds behind
- Critical: Over 100MB or 30 seconds behind
Real-Time Updates
The monitoring dashboard updates automatically without refreshing the page:
- Server metrics refresh every 30 seconds
- Charts refresh every 60 seconds
- Instant alert notifications when issues occur
- Deployment progress updates in real-time
If you notice updates are not appearing, refresh the page to reconnect to the live stream.
What's Next?
- Server Management - Learn how to manage your servers
- Environment Deployment - Deploy and configure environments
- Backups - Set up automated backups for your data