From b5ed454aa9e6efb636c61ee23f5c880efec36b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Ca=C3=B1ete?= <2930882+juacker@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:08:31 +0100 Subject: include reachability alert fields (#17258) Co-authored-by: Ilya Mashchenko --- integrations/cloud-notifications/metadata.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'integrations') diff --git a/integrations/cloud-notifications/metadata.yaml b/integrations/cloud-notifications/metadata.yaml index 323fbda6a6..4358b27473 100644 --- a/integrations/cloud-notifications/metadata.yaml +++ b/integrations/cloud-notifications/metadata.yaml @@ -543,9 +543,9 @@ A webhook integration is a way for one service to notify another service about events that occur within it. This is done by sending an HTTP POST request to a specified URL (known as the "webhook URL") when an event occurs. - Netdata webhook integration service will send alert notifications to the destination service as soon as they are detected. + Netdata webhook integration service will send alert and reachability notifications to the destination service as soon as they are detected. - The notification content sent to the destination service will be a JSON object having these properties: + For alert notifications, the content sent to the destination service contains a JSON object with the following properties: | field | type | description | | :-- | :-- | :-- | @@ -565,6 +565,13 @@ | additional_active_warning_alerts | integer | Number of additional warning alerts currently existing on the same node. | | alarm_url | string | Netdata Cloud URL for this alarm. | + For reachability notifications, the JSON object will contain the following properties: + + | field | type | description | + | :-- | :-- | :-- | + | message | string | A summary message of the reachability alert. | + | url | string | Netdata Cloud URL for the host experiencing the reachability alert. | + #### Extra headers When setting up a webhook integration, the user can specify a set of headers to be included in the HTTP requests sent to the webhook URL. -- cgit v1.2.3