Authentication
Netdata uses API Token authentication for Netdata Cloud.Prerequisites
- Netdata Cloud account
- Access to at least one Netdata Space
Setup Steps
Create API Token
- Go to Netdata Cloud
- Click your avatar and select Account Settings
- Navigate to API Tokens
- Click Create Token
- Name:
Aurora - Copy the generated token (you won’t see it again)
Configuration
Environment Variables
.env
The Netdata integration will not appear in Aurora unless
NEXT_PUBLIC_ENABLE_NETDATA=true is set.Webhook Setup
Receive real-time alerts from Netdata Cloud:Local Development Setup
Start Port Forwarding
Netdata webhooks cannot reach Copy the HTTPS URL and add to
localhost:5080 directly. Use ngrok:.env:.env
Configure in Netdata Cloud
- Go to Netdata Cloud
- Select your Space
- Go to Space settings > Alert notifications
- Click Add configuration
- Method:
Webhook - URL: Paste your Aurora webhook URL
- Save the configuration
Production Setup
In production, webhooks use your production backend URL automatically. Webhook URL format:What Aurora Can Query
Once connected, Aurora can:Connection Status
- Verify API token is valid
- Check Space configuration
- View base URL
GET /netdata/status
Response:
Webhook Alerts
- Receive real-time alerts from Netdata agents
- Auto-create incidents from critical alerts
- Track alert status transitions
- Correlate alerts across nodes
- Generate AI-powered root cause analysis
- Alert name and status (WARNING, CRITICAL, CLEAR)
- Chart and metric information
- Host and node details
- Space and room context
- Alert value and thresholds
- Alert message and description
GET /netdata/alerts
Parameters:
limit- Number of alerts (default: 50)offset- Pagination offset (default: 0)status- Filter by status (WARNING, CRITICAL, CLEAR)
Webhook Verification
- Get webhook verification token
- Required by Netdata for webhook authentication
- Token is automatically stored when test notification is sent
GET /netdata/alerts/webhook-url
Response:
The verification token is automatically extracted and stored when Netdata sends a test notification. You don’t need to manually configure it.
Troubleshooting
“Netdata connector not enabled”- Ensure
NEXT_PUBLIC_ENABLE_NETDATA=trueis set in.env - Restart Aurora services with
make down && make dev - Check that the environment variable is loaded correctly
- Verify API token is correct and not expired
- Check that token was created in Netdata Cloud (not a local agent)
- Ensure you have access to at least one Space
- Verify
NGROK_URLis set correctly (local development) - Ensure ngrok tunnel is running
- Check webhook URL in Netdata matches Aurora UI
- Send test notification from Netdata Cloud
- Verify alert notification rules are configured in your Space
- Send a test notification from Netdata Cloud webhook settings
- Aurora will automatically extract and store the token
- Refresh the Aurora Netdata integration page to see the token
- Check Aurora logs for webhook processing errors
- Verify alert payload contains required fields (alert name, status)
- Ensure incident creation is enabled in Aurora settings
API Reference
Base Path:/netdata
| Method | Endpoint | Description |
|---|---|---|
| POST | /connect | Connect Netdata account |
| GET | /status | Check connection status |
| DELETE | /disconnect | Remove Netdata connection |
| GET | /alerts | List webhook alerts |
| POST | /alerts/webhook/{user_id} | Receive webhooks |
| GET | /alerts/webhook-url | Get webhook URL and token |