Alert Configuration & Notification Channels | Nife Deploy
Alert configuration controls HOW you receive alerts. Set up notification channels so alerts reach you through your preferred methods.
What is Alert Configuration?#
Alert configuration is where you tell the system how to notify you when an alert fires. You can:
- Set up email notifications
- Add Slack integration
- Configure webhooks
- Route different severity levels to different channels
Getting Started#
Access Alert Config#
- Go to Alerts in the main navigation menu
- Click the Alert Config tab
- Look for Notification Channels or Add Channel
Notification Channels#
Email Notifications#
How it works: Alert fires โ Email sent to your inbox
Setup Steps:
- Click Add Channel โ Select Email
- Enter your email address
- Choose notification style:
- Single Email: One email per alert (immediate)
- Digest: One email per hour/day (batched)
- Click Save
- Click Test and check your inbox
When to Use Email:
- โ Important alerts you need documented
- โ Alerts that need a paper trail
- โ Alerts you might need to refer back to
Pros:
- Documented record
- Works everywhere
- Can be organized in folders
Cons:
- Slower than real-time (you check email periodically)
- Can get buried in inbox
- Digest means delayed notification
Slack Notifications#
How it works: Alert fires โ Message posted in Slack channel
Setup Steps:
- Click Add Channel โ Select Slack
- Click Authorize (connects to your Slack workspace)
- Choose which Slack channel to post alerts to
- (Optional) Customize message format
- Click Save
- Click Test and check your Slack channel
When to Use Slack:
- โ Team visibility (everyone sees alerts)
- โ Real-time communication
- โ Quick response and discussion
- โ Team collaboration on issues
Pros:
- Instant notification (nearly real-time)
- Team can see and discuss
- Slack is always open for most teams
- Can ask questions in thread
Cons:
- Requires Slack account
- Alerts can get lost in channel noise
- Only works if Slack is running
Example Slack Message:
PagerDuty Integration#
How it works: Alert fires โ Incident created โ On-call person gets paged
Setup Steps:
- Click Add Channel โ Select PagerDuty
- Enter your PagerDuty API key
- Choose escalation policy
- Select integration service
- Click Save
- Click Test
When to Use PagerDuty:
- โ Critical 24/7 monitoring
- โ Automated on-call notifications
- โ Serious incidents needing immediate attention
- โ Team on-call rotation management
Pros:
- Immediate page to on-call person
- Automatic escalation if not acknowledged
- Incident tracking
- Works 24/7
Cons:
- Requires PagerDuty subscription
- Can be overkill for non-critical alerts
- More complex setup
Webhook (Custom Integration)#
How it works: Alert fires โ Data sent to your custom URL โ Your system processes it
Setup Steps:
- Click Add Channel โ Select Webhook
- Enter your webhook URL
- (Optional) Add custom headers
- (Optional) Customize payload format
- Click Save
- Click Test (check your system received it)
When to Use Webhook:
- โ Sending alerts to your own systems
- โ Creating tickets in your issue tracker
- โ Triggering custom automations
- โ Integrating with non-standard systems
Example Webhook Payload:
Pros:
- Maximum flexibility
- Can integrate with any system
- Custom processing
Cons:
- Requires technical setup
- You maintain the receiving endpoint
- More complex troubleshooting
Setting Up Severity-Based Routing#
Route different alert severity levels to different channels:
Example Setup#
| Alert Severity | Where to Send |
|---|---|
| ๐ด Critical | PagerDuty + Email |
| ๐ Warning | Slack only |
| ๐ก Info | Email digest (daily) |
How to Configure Routing#
- For each alert rule, choose which channel(s) to use
- Or set default routing in Alert Config
- Critical alerts bypass quiet hours
- Warnings respect do-not-disturb times
Best Practices for Routing#
Critical Alerts:
- Send to PagerDuty for immediate page
- Also email for documentation
- Don't suppress notifications
Warning Alerts:
- Send to Slack for team discussion
- Allows faster response than email
- Team can help investigate
Info Alerts:
- Email digest option (daily summary)
- Doesn't need immediate response
- Batching reduces notification overload
Testing Your Notification Channel#
Always test before relying on it!
Test Steps#
- Find your channel in Alert Config
- Click Send Test Notification
- Verify you received it:
- Email: Check inbox (and spam folder!)
- Slack: Check the channel
- PagerDuty: Check incidents
- Webhook: Check your endpoint
If Test Fails#
For Email:
- Check spam/junk folder
- Verify email address is correct
- Check firewall/email filters
For Slack:
- Confirm Slack workspace authorized
- Check channel name is correct
- Verify bot has permission to post
For PagerDuty:
- Check API key is valid
- Verify integration configured
- Check team email address
For Webhook:
- Test URL is reachable
- Endpoint is returning 200 OK
- Check firewall allows outbound
Managing Channels#
Edit a Channel#
- Find the channel in Alert Config
- Click Edit
- Change settings
- Click Save
Disable a Channel#
Toggle Enabled off to disable temporarily:
- Useful for maintenance
- Prevents notifications to that channel
- Easy to re-enable
Delete a Channel#
- Find the channel
- Click Delete
- Confirm deletion
Note: If alerts are routed to this channel, they'll no longer be sent.
Linking Rules to Notifications#
Now that you have rules AND channels, connect them:
For Each Alert Rule:#
- Edit the rule
- Select which Notification Channel to use
- Can select multiple channels
- Save
Now when the rule triggers โ notifications are sent to those channels
Notification Best Practices#
1. Test Everything#
- Always test new channels
- Run a test alert through the system
- Don't find out alerts don't work when you need them
2. Start Simple#
- Start with email or Slack
- Add PagerDuty for critical alerts
- Add webhooks if you need custom integration
3. Use Clear Routing#
- Critical alerts โ PagerDuty
- Warnings โ Slack
- Info โ Email digest
4. Keep Contact Info Updated#
- Email addresses change
- Slack channels are renamed
- Review quarterly
5. Respect Quiet Hours#
- Don't page at 3 AM for warnings
- Use email digest for non-critical
- Let team set do-not-disturb times
6. Monitor Notification Health#
- Check test notifications quarterly
- Remove unused channels
- Update credentials when they expire
Common Issues & Solutions#
Issue: Test Notification Never Arrived#
Check:
- Is the channel enabled?
- Are credentials correct?
- Is your receiving system up?
- Check spam/junk folders
Fix:
- Re-test with fresh test notification
- Verify settings
- Contact channel provider if still failing
Issue: Too Many Notifications#
Solutions:
- Use email digest instead of single emails
- Move non-critical alerts to Slack only
- Adjust alert thresholds to fire less often
- Remove duplicate rules
Issue: Missing Notifications from Some Alerts#
Check:
- Is the alert rule enabled?
- Is it routed to a channel?
- Does the channel have correct settings?
- Test the channel
Issue: Slack Bot Can't Post#
Fix:
- Re-authorize Slack integration
- Check bot permissions in Slack workspace
- Verify channel is not archived
- Check Slack workspace allows the bot
Multiple Channels per Alert#
Route the same alert to multiple channels:
Example: Critical Alert
This ensures:
- Immediate notification via page
- Team sees it in Slack
- Documented in email for records
Escalation Patterns#
Pattern 1: Warning โ Critical#
Pattern 2: Routing by Time#
Pattern 3: Team-Based Routing#
Next Steps#
Now that you've configured notifications:
- Create Alert Rules - Define what to monitor
- Respond to Alerts - Handle active alerts
- Best Practices - Advanced alert strategies
Getting Help#
Questions about notification setup?
- Click the ? icon on the Alerts page
- Try sending a test notification
- Contact support: [email protected]
Notifications not working?
- Click Test to diagnose
- Check channel credentials
- Review channel settings
- Contact your channel provider (PagerDuty, Slack, etc.)