SolvedAlerting / Webhook Alerts
Created a webhook channel but it never receives anything
Asked by Priya Nair26 days ago
I added a notification channel of type webhook and put our internal endpoint URL in the config. The channel shows up in the list and is active. But when one of our monitors went down last night we got the incident in the dashboard and nothing arrived at our endpoint. The endpoint works fine when I curl it manually.
Accepted answer from MonoDuty Support
58
Deniz ArslanMonoDuty Support Engineer24 days ago
That is the most common setup gap, so you are in good company. Channels are opt-in per source. Here is how to fix it:
1. Open the notification channel you created.
2. Add a subscription. You choose a source type and the id of that source.
3. If you want this channel to receive alerts for one specific monitor, subscribe it with source type uptime check and that monitor's id. Same idea for a heartbeat or an alert trigger.
4. If you want the channel to receive everything that happens in the organization, subscribe it with source type organization and your organization's own id. This is the catch-all.
A few notes that will save you time later: subscriptions are idempotent, so re-adding the same one is harmless. The source has to belong to the same organization as the channel, otherwise the request is rejected. And a channel that is set to inactive is skipped even if it has valid subscriptions.
Was this helpful?58 of 60 found this helpful
3 replies
Deniz ArslanMonoDuty Support Engineer25 days ago
Hi Priya, thanks for the detail. Creating a channel is only half of the setup: a channel stays silent until you subscribe it to a source. Could you check whether the channel has any subscriptions listed on its detail view?
Priya Nair25 days ago
You're right, the subscriptions list is empty. I assumed a channel would receive everything in the workspace by default.
Priya Nair23 days ago
Added an organization-wide subscription and triggered a test incident. Payload arrived immediately. Thank you.