Webhooks
Send alerts to any HTTP endpoint.
Configuration
- Navigate to Admin → Integrations → Webhooks
- Click Add Webhook
- Configure endpoint
Settings
| Field | Description |
|---|---|
| URL | Webhook endpoint |
| Method | HTTP method (POST) |
| Headers | Custom headers |
| Template | JSON payload template |
Template Variables
| Variable | Description |
|---|---|
{{alert_type}} | Type of alert |
{{agent.hostname}} | Agent hostname |
{{agent.uuid}} | Agent UUID |
{{message}} | Alert message |
{{severity}} | Alert severity |
{{timestamp}} | ISO timestamp |
Examples
Slack
text
{
"url": "https://hooks.slack.com/services/XXX/YYY/ZZZ",
"template": {
"text": ":warning: *{{alert_type}}*\nHost: {{agent.hostname}}\n{{message}}"
}
}Discord
text
{
"url": "https://discord.com/api/webhooks/XXX/YYY",
"template": {
"content": "**Alert**: {{alert_type}}\nAgent: {{agent.hostname}}\n{{message}}"
}
}Microsoft Teams
text
{
"url": "https://outlook.office.com/webhook/XXX",
"template": {
"@type": "MessageCard",
"themeColor": "FF0000",
"title": "{{alert_type}}",
"text": "{{message}}"
}
}Testing
Click Test Webhook to send a test notification.