diff --git a/docs/providers/documentation/uptimekuma-provider.mdx b/docs/providers/documentation/uptimekuma-provider.mdx index 9aaa3fd5f7..aeb9d5fa89 100644 --- a/docs/providers/documentation/uptimekuma-provider.mdx +++ b/docs/providers/documentation/uptimekuma-provider.mdx @@ -15,12 +15,6 @@ Obtain UptimeKuma Host URL, Username and Password 2. After setting up UptimeKuma, you can obtain the Host URL, Username and Password. 3. Use the obtained Host URL, Username and Password in the provider settings. -## Webhooks Integration - -1. Connect to UptimeKuma provider with the required parameters. -2. Use the Keep Backend API URL as the Host URL in UptimeKuma. [https://api.keephq.dev](https://api.keephq.dev) (Default) -3. Navigate to Account Settings in Keep, proceed to API Keys, and generate a API Key for Webhook. - ## Usefull Links - [UptimeKuma](https://uptime.kuma.pet/) diff --git a/keep/providers/uptimekuma_provider/uptimekuma_provider.py b/keep/providers/uptimekuma_provider/uptimekuma_provider.py index 20c733bf16..b847de68b9 100644 --- a/keep/providers/uptimekuma_provider/uptimekuma_provider.py +++ b/keep/providers/uptimekuma_provider/uptimekuma_provider.py @@ -51,6 +51,14 @@ class UptimekumaProvider(BaseProvider): PROVIDER_TAGS = ["alert"] PROVIDER_CATEGORY = ["Monitoring"] + webhook_description = """Install Keep as an UptimeKuma webhook + 1) In UptimeKuma → Settings → Notifications → Setup Notification + 2) Select "Webhook" as the Notification Type and set a Friendly Name (e.g. Keep) + 3) Use URL = {keep_webhook_api_url_with_auth} + 4) Request Body = Preset - application/json (recommended) + """ + webhook_template = """""" + PROVIDER_SCOPES = [ ProviderScope( name="alerts",