Overview
Nurosentrix provides built-in monitoring for all your servers and instances. The monitoring system tracks health metrics, resource usage, and service status.
Dashboard Metrics
The monitoring dashboard shows:
- Instance Status - Running, stopped, or error state
- Health Score - Overall health rating (0-100)
- Resource Usage - CPU, memory, and disk utilization
- Response Time - HTTP response latency
- Uptime - Time since last restart
You can access the metrics dashboard from Monitoring in the main navigation. Each instance has a detailed view with history and charts.
Health Checks
Nurosentrix performs automatic health checks every 60 seconds:
| Check | Description |
|---|---|
| HTTP Health | Verifies Odoo web interface is responding |
| Database Connection | Tests PostgreSQL connectivity |
| Container Status | Checks Docker container is running |
| Disk Space | Monitors available disk space |
| Memory Usage | Tracks memory consumption |
| CPU Usage | Monitors CPU utilization |
Health Scoring
Each instance receives a health score from 0-100 based on multiple factors:
| Score Range | Status | Description |
|---|---|---|
| 80-100 | Healthy | All systems operating normally |
| 60-79 | Warning | Some metrics need attention |
| 40-59 | Degraded | Performance issues detected |
| 0-39 | Critical | Immediate attention required |
Health scores appear on the instance card and in the instance detail view so you can spot issues quickly.
Setting Up Alerts
Alert Channels
Configure where to receive alerts:
- Go to Settings → Notifications
- Click "Add Channel"
- Select channel type:
- Slack
- Webhook
- Configure the channel settings
- Click "Save"
Slack Integration
- Create an Incoming Webhook in Slack
- Copy the webhook URL
- In Nurosentrix, add a Slack channel
- Paste the webhook URL
- Test the connection
Alert Rules
Create custom alert rules:
- Go to Settings → Alert Rules
- Click "Add Rule"
- Configure:
- Metric to monitor
- Threshold value
- Duration (how long before alerting)
- Notification channels
- Click "Save"
Alert rules are evaluated continuously against the latest metrics. If a condition remains true for the configured duration, a new alert is created and notifications are dispatched to your selected channels.
Default Alert Rules
| Metric | Warning | Critical |
|---|---|---|
| CPU Usage | > 80% for 5 min | > 95% for 2 min |
| Memory Usage | > 85% for 5 min | > 95% for 2 min |
| Disk Usage | > 80% | > 90% |
| Response Time | > 2s for 5 min | > 5s for 2 min |
| Health Check | 2 failures | 3 consecutive failures |
Alert rules and triggered alerts are listed under Settings → Alerts.
Viewing Logs
Instance Logs
- Go to your instance
- Click the "Logs" tab
- Select log type:
- Odoo - Application logs
- Nginx - Web server logs
- PostgreSQL - Database logs
Log Filtering
Filter logs by:
- Time range
- Log level (DEBUG, INFO, WARNING, ERROR)
- Search text
Auto-Healing
Nurosentrix includes AI-powered auto-healing that can automatically recover from common issues:
- Restart service - Automatically restart crashed containers
- Clear cache - Clear caches when memory is high
- Cleanup disk - Remove old logs and temp files
- Rotate logs - Archive and compress old log files
Enabling Auto-Healing
- Go to instance settings
- Enable "Auto-Healing"
- Select which actions to allow
- Save settings
Resource Recommendations
Based on your usage patterns, Nurosentrix may recommend:
- Upgrading server resources when consistently hitting limits
- Downgrading when resources are underutilized
- Optimizing Odoo configuration for better performance
Troubleshooting
Not Receiving Alerts
- Verify notification channel is properly configured
- Check email spam folder
- Test the channel with the "Send Test" button
- Verify alert rules are enabled
High Resource Usage
- Check for runaway processes in instance logs
- Review recent code deployments
- Consider upgrading server resources
- Enable auto-scaling if available