add additional fields to webhook reachability notifications (#17271)
Juan Cañete committed
Mar 27, 2024 at 12:43 UTC
6fd1416396115ce88d2e736e870b6007dae148bc
1 file changed
+9
-4
integrations/cloud-notifications/metadata.yaml
+9
-4
@@ -568,10 +568,15 @@
568
569
For reachability notifications, the JSON object will contain the following properties:
570
571
- | field | type | description |
572
- | :-- | :-- | :-- |
573
- | message | string | A summary message of the reachability alert. |
574
- | url | string | Netdata Cloud URL for the host experiencing the reachability alert. |
571
+ | field | type | description |
572
+ | :-- | :-- | :-- |
573
+ | message | string | A summary message of the reachability alert. |
574
+ | url | string | Netdata Cloud URL for the host experiencing the reachability alert. |
575
+ | host | string | the host experiencing the reachability alert. |
576
+ | severity | string | severity for this notification. If host is reachable, severity will be 'info', if host is unreachable, it will be 'critical'. |
577
+ | status | object | an object with the status information. |
578
+ | status.reachable | boolean | true if host is reachable, false otherwise |
579
+ | status.text | string | can be 'reachable' or 'unreachable' |
580
581
#### Extra headers
582