Notifications
Kure can push alerts to Slack and Microsoft Teams. For Slack, Kure supports a full ChatOps experience (App Mode) or simple Webhooks.
Triggers
Section titled “Triggers”A notification is sent when:
- A new pod failure is detected
- A pod failure is resolved (Slack App Mode only)
- A critical security finding is created
Option 1: App Mode (Recommended)
Section titled “Option 1: App Mode (Recommended)”App Mode enables advanced features: Interactive AI Troubleshooting, Threaded Chat, and Resolution Notifications.
- In the Kure Monitor repo, copy the contents of
docs/configuration/slack_manifest.json. - Go to api.slack.com/apps and click Create New App → From an app manifest.
- Select your workspace and paste the JSON.
- Go to Install App in the sidebar and install it to your workspace.
- Copy the Bot User OAuth Token (starts with
xoxb-). - Go to Basic Information and copy the Signing Secret.
- In the Kure Monitor Admin Panel → Notification Settings, select Slack.
- Set the Mode to App.
- Paste your Token, Signing Secret, and target Channel ID (e.g.,
C12345678). - Click Test and Save.
- Finally, invite the bot to your Slack channel (e.g., type
/invite @Kure Monitorin the channel).
Option 2: Webhook Mode (Basic)
Section titled “Option 2: Webhook Mode (Basic)”If you only need one-way alerts without AI ChatOps:
- Create an incoming webhook in your Slack workspace.
- Copy the webhook URL.
- In the Kure Monitor Admin Panel → Notification Settings, pick Slack.
- Set the Mode to Webhook and paste the URL.
- Click Test and Save.
Microsoft Teams
Section titled “Microsoft Teams”For Microsoft Teams, you must use a Microsoft 365 Work or School account to create Webhooks or Workflows.
Option 1: Interactive Mode (ChatOps)
Section titled “Option 1: Interactive Mode (ChatOps)”This mode adds a 🔍 Troubleshoot button to your Teams alerts. When clicked, Kure generates an AI analysis and posts the solution back to the channel.
- In Microsoft Teams, go to your channel.
- Click the
...menu and select Workflows (or Connectors). - Search for “Post to a channel when a webhook request is received” (or “Incoming Webhook”).
- Follow the prompts to create the workflow and copy the Webhook URL.
- In the Kure Monitor Admin Panel → Notification Settings, pick Microsoft Teams.
- Set the Mode to Interactive (ChatOps).
- Paste the Webhook URL.
- In the Kure Public URL field, paste your public-facing Kure URL (e.g., your
ngroktunnel URL) so Teams can send the button click back to Kure. - Click Test and Save.
Option 2: Webhook Mode (Alerts Only)
Section titled “Option 2: Webhook Mode (Alerts Only)”If you only want basic alerts without the interactive Troubleshoot button:
- Generate a Webhook URL in Teams (using Workflows or Connectors).
- In the Kure Monitor Admin Panel, pick Microsoft Teams.
- Set the Mode to Webhook (alerts only) and paste the URL.
- Click Test and Save.
Disabling notifications
Section titled “Disabling notifications”Toggle the Enabled switch off in the Admin panel — settings are preserved so you can re-enable without re-pasting the webhook URL.
| Method | Path | Purpose |
|---|---|---|
GET | /api/admin/notifications | List configured providers |
POST | /api/admin/notifications | Create or update a provider |
PUT | /api/admin/notifications/{provider} | Update an existing provider |
DELETE | /api/admin/notifications/{provider} | Delete a provider |
POST | /api/admin/notifications/{provider}/test | Send a test notification |
See the API Reference for request bodies.