Alert Configuration
Step-by-step guide to configuring event alerts for your seismic network.
Accessing alert configuration
- Log into cloud.grillo.io
- Select your organization and network
- Navigate to Settings → Alerts
Creating an alert rule
Step 1: Start new rule
- Click "Create Alert Rule" or "+"
- The rule configuration form opens
Step 2: Name your rule
Give the rule a descriptive name:
- "Felt Events - Email"
- "All Events - Webhook"
- "Emergency Alert - M5+"
Step 3: Set magnitude criteria
Configure magnitude threshold:
- Enable "Magnitude filter"
- Set minimum magnitude (e.g., 3.0)
- Optionally set maximum magnitude
Example configurations:
| Use case | Min Mag | Max Mag |
|---|---|---|
| All felt events | 3.0 | - |
| Moderate only | 4.0 | 5.9 |
| Major events | 6.0 | - |
Step 4: Set location criteria
Configure geographic filter:
Option A: Radius from point
- Enable "Distance filter"
- Set center point (lat/long or search)
- Set radius in km
Option B: Geographic area
- Enable "Area filter"
- Draw polygon on map
- Or enter coordinates
Option C: Named region
- Enable "Region filter"
- Select from predefined regions
Step 5: Set quality criteria
Optionally filter by solution quality:
| Criterion | Purpose |
|---|---|
| Min stations | Require more stations for trigger |
| Max uncertainty | Reject poorly located events |
| Status | Only reviewed events |
Step 6: Configure channels
Choose how alerts are delivered:
- Enable "Email"
- Enter recipient addresses
- Configure email template (optional)
Webhook
- Enable "Webhook"
- Enter webhook URL
- Configure payload format
- Set authentication (optional)
Dashboard
- Enable "Dashboard notification"
- Configure sound (optional)
Step 7: Set schedule
Configure when the rule is active:
Always active:
- Alerts sent 24/7
Scheduled:
- Set active hours
- Set active days
- Useful for business hours only
Step 8: Save and enable
- Review all settings
- Click "Save Rule"
- Toggle "Enabled" to activate
Managing alert rules
Viewing rules
The alert rules list shows:
- Rule name
- Criteria summary
- Channels configured
- Status (enabled/disabled)
- Last triggered
Editing rules
- Click on a rule
- Modify settings
- Save changes
Changes take effect immediately.
Enabling/Disabling
Toggle rules on/off without deleting:
- Click the enable/disable toggle
- Disabled rules don't trigger
- Configuration is preserved
Deleting rules
- Click the rule's menu (⋮)
- Select "Delete"
- Confirm deletion
Deleted rules cannot be recovered. Consider disabling instead.
Email alert configuration
Recipient management
Add multiple recipients:
- Enter email address
- Click "Add"
- Repeat for additional recipients
Remove recipients:
- Click "X" next to address
- Save changes
Email content
Default email includes:
- Event summary (magnitude, location, time)
- Map image
- Link to dashboard
Custom template (if available):
- Modify subject line
- Customize body content
- Add organization branding
Webhook configuration
Webhook URL
Enter the endpoint to receive events:
https://your-server.com/api/grillo-events
Requirements:
- HTTPS recommended
- Must respond within timeout
- Return 2xx for success
Authentication
API key:
Header: X-API-Key: your-key
Bearer token:
Header: Authorization: Bearer your-token
Payload format
Default JSON payload:
{
"event_id": "evt_123456",
"time": "2024-01-15T14:32:45Z",
"latitude": 37.7749,
"longitude": -122.4194,
"depth_km": 8.5,
"magnitude": 4.2,
"magnitude_type": "ML",
"location_description": "5 km NE of City"
}
Retry behavior
Failed webhook deliveries:
- Retry up to 3 times
- Exponential backoff
- Failures logged
Testing your configuration
Test alert
- Open alert rule
- Click "Send Test"
- Select channel
- Verify receipt
Using historical events
- Find event in catalog
- Click "Test Alert Rules"
- See which rules would trigger
- Send test to channels
Verify webhook
- Use a webhook testing service
- Or check your server logs
- Verify payload received correctly
Best practices
Start conservative
Begin with:
- Higher magnitude thresholds
- Broader geographic filters
- Fewer channels
Then adjust based on experience.
Test thoroughly
Before relying on alerts:
- Test each channel
- Test with real events
- Verify recipient delivery
- Document expected behavior
Have redundancy
For critical alerts:
- Multiple channels (email + webhook)
- Multiple recipients
- Backup notification systems
Monitor alert health
Regularly check:
- Are alerts being received?
- Are all channels working?
- Any delivery failures?
Troubleshooting
Rule not triggering
- Check rule is enabled
- Verify criteria match event
- Check schedule if configured
- Review alert history
Wrong events triggering
- Review criteria settings
- Check magnitude threshold
- Verify geographic filter
- Tighten criteria
Delivery failures
Email:
- Check spam folders
- Verify email addresses
- Contact support
Webhook:
- Check endpoint is accessible
- Verify authentication
- Check server logs
- Review payload format