Notifications
Get alerted about downtime, server issues, and service events via Slack, Teams, or webhooks.
hav.sh can send real-time notifications to your team when something needs attention — whether a site goes down, a server metric exceeds a threshold, or an Odoo service changes state.
#Supported destinations
| Type | Description |
|---|---|
| Slack | Posts rich messages with colored status bars and action buttons to a Slack channel |
| Microsoft Teams | Sends adaptive card messages to a Teams channel |
| Webhook | Sends raw JSON payloads to any URL |
#Setting up a destination
#1. Go to Notification Destinations
Navigate to Settings > Notification Destinations and click New Destination.
#2. Configure the destination
Provide:
- Name — A friendly name (e.g., "Ops Slack Channel")
- Type — Slack, Teams, or Webhook
- Webhook URL — The incoming webhook URL from your messaging platform
For Slack, create an incoming webhook in your Slack workspace settings under Apps > Incoming Webhooks.
#3. Test the connection
After saving, click Send Test on the destination's edit page. You should receive a test message in your channel.
#Event subscriptions
Each destination can subscribe to specific event types. Go to the Subscriptions section on a destination's edit page to configure which events trigger notifications.
#Available events
| Category | Event | Description |
|---|---|---|
| Uptime & Certificates | Uptime Check Failed | A monitored URL is not responding |
| Uptime Check Recovered | A previously down URL is back up | |
| Certificate Check Failed | An SSL certificate is invalid | |
| Certificate Expires Soon | An SSL certificate is expiring soon | |
| Server Metrics | CPU Usage High | CPU usage exceeded the threshold |
| Memory Usage High | Memory usage exceeded the threshold | |
| Disk Usage High | Disk usage exceeded the threshold | |
| Server Events | Server Powered On | A server was powered on |
| Server Powered Off | A server was powered off | |
| Odoo Events | Odoo Service Stopped | An Odoo service has stopped |
| Odoo Service Redeployed | An Odoo service was redeployed |
#Metric thresholds
For server metric events (CPU, Memory, Disk), you can set a custom threshold percentage (1–100%). The default threshold is 90%. Notifications are sent when the current value exceeds your configured threshold.
#Slack message format
Slack notifications include:
- A colored sidebar indicating severity (red for failures, green for recoveries, orange for warnings)
- A header with the event title
- Details about the affected resource
- A View Details button linking directly to the resource in hav.sh
- A timestamp footer
#Enabling and disabling
You can enable or disable notifications at two levels:
- Destination level — Toggle the entire destination on or off
- Subscription level — Toggle individual event subscriptions on or off
Disabled destinations or subscriptions will not receive any notifications.