Using origin monitoring
Origin monitoring lets you track the availability of your backend server. When enabled, Edgelin's edge servers periodically verify that your origin is reachable and will notify you if it goes down or recovers.
Enabling Origin Monitoring
Open your endpoint in the dashboard, switch to the Origin Monitoring tab, and check "Enable Origin Monitoring". Optionally add a webhook URL to receive POST notifications. Click Update to save.
How It Works
The edge server performs a TCP connection test to your backend IP every 60 seconds. It checks port 443 first, then port 80. If your backend uses a custom port (e.g. 10.0.0.5:8080), only that port is checked.
An origin is marked as down after 2 consecutive failed checks. Once the origin responds again, it's marked as recovered. You receive notifications for both state changes.
Notifications
Email: Sent automatically to your account email when the origin goes down or recovers.
Webhook: If configured, a POST request is sent to your URL with this payload:
{"domain": "example.com","backend": "10.0.0.5","user_email": "you@example.com","status": "down","error": "cannot connect to 10.0.0.5 on ports 443 or 80","timestamp": "2025-01-15T10:30:00Z","failure_count": 2}
The status field is either down or up. The error and failure_count fields are only present for down events.
What Gets Checked
Origin monitoring verifies network connectivity only. It confirms your backend accepts TCP connections but does not check HTTP responses, SSL certificates, or application health. For full application monitoring, combine this with your own health check endpoints.