A free integration health monitor that tracks API status, sync success rates, and cron job failures in real-time - helping you detect integration issues immediately without expensive APM platforms.
Integration failures go undetected for hours, causing data sync delays, duplicate records, and business process disruptions. Without real-time monitoring, you only discover integration issues when users report missing data or failed workflows. Manual integration health checks are time-consuming and reactive.
Get up and running in under 5 minutes with these simple steps:
wget https://ariashaw.com/assets/downloads/integration_health_monitor.sh && chmod +x integration_health_monitor.sh
./integration_health_monitor.sh --once
./integration_health_monitor.sh
./integration_health_monitor.sh http://api.example.com/health production_db
Here's how real companies are using this script in production:
Detected API authentication failure within 2 minutes (access token expired). Automated monitoring triggered Slack alert, allowing team to refresh credentials before inventory discrepancies caused order fulfillment errors. Prevented potential $18,000 in lost sales from out-of-stock items that were actually available.
Identified sync job failures caused by database connection pool exhaustion. Monitoring showed 25% failure rate spike at 2 AM during batch processing. Increased PostgreSQL max_connections from 100 to 200, eliminating failures and ensuring accurate financial reporting.
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:
This free script logs to files and terminal only. For email alerts, add mail command after failure detection (example in comments). For Slack/PagerDuty, add webhook curl calls. The Master Pack includes pre-configured alert integrations for 15+ channels (email, Slack, Teams, PagerDuty, OpsGenie) with intelligent alert routing and escalation.
Yes, run multiple script instances with different API URLs and databases. Use separate log files for each integration. For centralized dashboard monitoring all integrations, consider the Master Pack Operations Console which aggregates health metrics across unlimited integrations with unified alerting.
Monitor /web/health for Odoo core health or custom API endpoints specific to your integration. For third-party APIs, use provider health check endpoints. The script validates HTTP 200 status and measures latency. For deeper health checks (database query performance, queue lengths), modify the check_api_health function.
Adjust ERROR_THRESHOLD and LATENCY_THRESHOLD in configuration section. Consider adding retry logic with exponential backoff. The Master Pack includes intelligent alerting with configurable thresholds, alert suppression during maintenance windows, anomaly detection using ML baselines, and alert correlation to reduce noise from transient issues.
This free script handles the basics. For a complete, production-ready solution, upgrade to the Master Pack.
Investment: $699 one-time payment
What you avoid: $15,000-$50,000 in consultant fees + months of trial-and-error
Includes: Complete enterprise solution with ongoing support
Get Master Pack $699 →Explore other production-ready scripts and tools: