Configuring Monitor Alerts and Notifications
Get notified when your monitors detect downtime.
Monitor-Specific Alerts
From the monitor detail page, configure alerts to fire when:
- The monitor goes DOWN (endpoint returns non-200 or times out)
- Response time exceeds a threshold (e.g., > 2 seconds)
- The monitor has been down for a duration (e.g., > 5 minutes)
Notification Channels
Monitor alerts use the same notification channels as log alerts:
- Email — send to one or more email addresses
- Webhooks — POST to any HTTP endpoint
Configure channels in the alert settings.
Flapping Prevention
If an endpoint is intermittently up and down (flapping), Lognitor automatically adjusts:
- Requires multiple consecutive failures before firing an alert
- Sends a "recovered" notification only after multiple consecutive successes
This prevents notification spam from unstable connections.
Monitor your health endpoint
Create a /health endpoint that checks your database, cache, and external dependencies. Monitor that endpoint for a comprehensive availability check.