NOC integrates with Slack to deliver real-time notifications about monitoring events, WAF activity, and configuration changes directly to your team's channels. This guide walks you through creating a Slack webhook and connecting it to your NOC account.
Prerequisites
- An active NOC.org account.
- Admin access to a Slack workspace (or permission to create Incoming Webhooks).
Step 1 — Create a Slack Incoming Webhook
- Go to your Slack workspace's app directory:
https://YOUR-WORKSPACE.slack.com/apps. - Search for Incoming WebHooks and select it.
- Click Add to Slack.
- Choose the channel where you want NOC alerts to appear (e.g.,
#ops-alertsor#noc-monitoring). - Click Add Incoming WebHooks integration.
- Copy the Webhook URL that is generated. It will look like:
https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX - Optionally, customize the bot name (e.g., "NOC Alerts") and icon.
- Click Save Settings.
Step 2 — Add the Webhook to NOC
- Log in to the NOC Dashboard.
- Navigate to Account Settings » Integrations.
- Under the Slack section, click Add Webhook.
- Paste the Slack Webhook URL you copied in Step 1.
- Give this integration a Label (e.g., "Ops Team Alerts").
- Click Test Connection to send a test message to your Slack channel. Verify that it arrives.
- Click Save.
Step 3 — Configure Alert Types
Choose which types of notifications are sent to Slack:
- On the Slack integration settings page, locate the Alert Types section.
- Enable or disable each alert category:
- Monitoring — Down: triggered when an endpoint goes offline.
- Monitoring — Recovery: triggered when an endpoint comes back online.
- Monitoring — SSL Expiry: warned when an SSL certificate is nearing expiration.
- WAF — Attack Detected: triggered during active attack patterns (DDoS, SQLi, XSS).
- WAF — IP Blocked: sent when a suspicious IP is automatically blocked.
- CDN — Cache Purge: notification when a cache purge is initiated.
- DNS — Record Change: triggered when DNS records are created, modified, or deleted.
- Account — Login: sent on new login events (useful for security auditing).
- Click Save.
Using Multiple Channels
You can create multiple Slack webhooks to route different alert types to different channels:
- Send monitoring alerts to
#ops-alerts. - Send WAF/security alerts to
#security. - Send DNS and configuration changes to
#infra-changes.
To set this up, create a separate Incoming Webhook in Slack for each channel, then add each webhook to NOC with the appropriate alert types enabled.
Troubleshooting
- Test message not arriving: Verify the webhook URL is correct. Check that the Incoming WebHooks integration is still active in your Slack workspace settings.
- Alerts delayed: Slack webhook delivery is typically near-instant, but Slack may experience occasional delays during high-traffic periods. NOC queues messages and retries failed deliveries for up to 5 minutes.
- Channel archived or deleted: If the target Slack channel is archived, messages will fail silently. Update the webhook to point to an active channel.
Removing the Integration
- In the NOC Dashboard, go to Account Settings » Integrations » Slack.
- Click the Delete button next to the webhook you want to remove.
- Confirm the deletion. Alert delivery to that webhook stops immediately.