summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorJuan CaƱete <2930882+juacker@users.noreply.github.com>2024-03-27 12:43:59 +0100
committerGitHub <noreply@github.com>2024-03-27 13:43:59 +0200
commit6fd1416396115ce88d2e736e870b6007dae148bc (patch)
treed86e2a19ef03c03751bdf077a05dfe143f414fc6 /integrations
parent904ff552e6e9f5158f4053d104b3386aa4c92b42 (diff)
add additional fields to webhook reachability notifications (#17271)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/cloud-notifications/metadata.yaml13
1 files changed, 9 insertions, 4 deletions
diff --git a/integrations/cloud-notifications/metadata.yaml b/integrations/cloud-notifications/metadata.yaml
index f3d5a5dc95..c7dc77d142 100644
--- a/integrations/cloud-notifications/metadata.yaml
+++ b/integrations/cloud-notifications/metadata.yaml
@@ -568,10 +568,15 @@
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. |
+ | field | type | description |
+ | :-- | :-- | :-- |
+ | message | string | A summary message of the reachability alert. |
+ | url | string | Netdata Cloud URL for the host experiencing the reachability alert. |
+ | host | string | the host experiencing the reachability alert. |
+ | severity | string | severity for this notification. If host is reachable, severity will be 'info', if host is unreachable, it will be 'critical'. |
+ | status | object | an object with the status information. |
+ | status.reachable | boolean | true if host is reachable, false otherwise |
+ | status.text | string | can be 'reachable' or 'unreachable' |
#### Extra headers