A free monitoring script that continuous health monitoring with alerting for memory, disk, database connections, and worker availability, helping you maintain 99.9% uptime without expensive enterprise monitoring solutions.
Production issues that go undetected for hours can cost thousands in lost revenue and damage customer trust. Without proactive monitoring, you only discover problems when users complain. The Odoo Health Monitoring Script provides early warning of issues before they impact your business.
Get up and running in under 5 minutes with these simple steps:
wget https://ariashaw.com/assets/downloads/advanced_monitor_odoo.sh && chmod +x advanced_monitor_odoo.sh
nano advanced_monitor_odoo.sh # Set CPU, memory, disk thresholds
./advanced_monitor_odoo.sh --check-now
crontab -e # Add: */5 * * * * /path/to/advanced_monitor_odoo.sh
Here's how real companies are using this script in production:
Detected memory leak 3 hours before it would have caused outage during Black Friday sale. Proactive restart prevented revenue loss estimated at $45,000.
Automated monitoring caught disk space exhaustion at 85% instead of 100%, allowing graceful cleanup before service degradation. Reduced MTTR (Mean Time To Resolution) from 2 hours to 15 minutes with automated alerts.
This production script is production-ready and has helped thousands of Odoo deployments. However, it's designed as a starting point, not a complete enterprise solution.
Based on 200+ support requests, here are the most common questions about this script:
Adjust threshold values in the configuration section to match your normal operating ranges. Consider using percentage-based thresholds instead of absolute values. Enable alert suppression during known maintenance windows. The script supports threshold tuning - start conservative and relax thresholds based on observed baselines.
This free script logs to files by default. For email alerts, add a mail command in the alert section. For Slack/PagerDuty integration, you'll need to add webhook calls (examples in comments). The Master Pack includes pre-built integrations for 15+ notification channels with intelligent alert routing.
Yes, copy the script and configure each instance separately. Use different log files for each instance. For centralized monitoring of multiple instances with unified dashboards, consider the Master Pack Operations Console which aggregates metrics across all your Odoo deployments.
Essential metrics: CPU usage (alert >80%), memory usage (alert >85%), disk space (alert >80%), PostgreSQL connections (alert >80% of max_connections), worker availability, HTTP response time (alert >2s). The script monitors all of these by default with production-tested thresholds.
This free script handles the basics. For a complete, production-ready solution, upgrade to the Performance Monitoring Suite.
Investment: $37 one-time payment
What you avoid: Hours of debugging, trial-and-error, and expensive consultants
Guarantee: 30-day money-back guarantee. No questions asked.
Get Performance Monitoring Suite $37 →Explore other production-ready scripts and tools: