You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ClickUp alerting provider creates tasks in a ClickUp list when alerts are triggered. If `send-on-resolved` is set to `true` on the endpoint alert, the task will be automatically closed when the alert is resolved.
913
914
914
915
The following placeholders are supported in `name` and `content`:
915
-
- `[ENDPOINT_GROUP]`- Resolved from `endpoints[].group`
916
-
- `[ENDPOINT_NAME]`- Resolved from `endpoints[].name`
917
-
- `[ALERT_DESCRIPTION]`- Resolved from `endpoints[].alerts[].description`
918
-
- `[RESULT_ERRORS]`- Resolved from the health evaluation errors
916
+
917
+
- `[ENDPOINT_GROUP]`- Resolved from `endpoints[].group`
918
+
- `[ENDPOINT_NAME]`- Resolved from `endpoints[].name`
919
+
- `[ALERT_DESCRIPTION]`- Resolved from `endpoints[].alerts[].description`
920
+
- `[RESULT_ERRORS]`- Resolved from the health evaluation errors
content: "Alert triggered for [ENDPOINT_GROUP] - [ENDPOINT_NAME]\n\nDescription: [ALERT_DESCRIPTION]\n\nErrors: [RESULT_ERRORS]"
934
+
935
+
endpoints:
936
+
- name: website
937
+
url: "https://twin.sh/health"
938
+
interval: 5m
939
+
conditions:
940
+
- "[STATUS] == 200"
941
+
- "[BODY].status == UP"
942
+
- "[RESPONSE_TIME] < 300"
943
+
alerts:
944
+
- type: clickup
945
+
failure-threshold: 2
946
+
success-threshold: 3
947
+
send-on-resolved: true
948
+
description: "healthcheck failed"
947
949
```
948
950
949
951
To get your ClickUp API token follow: [Generate or regenerate a Personal API Token](https://developer.clickup.com/docs/authentication#:~:text=the%20API%20docs.-,Generate%20or%20regenerate%20a%20Personal%20API%20Token,-Log%20in%20to)
950
952
951
953
To find your List ID:
954
+
952
955
1. Open the ClickUp list where you want tasks to be created
953
956
2. The List ID is in the URL: `https://app.clickup.com/{workspace_id}/v/l/li/{list_id}`
954
957
955
-
956
958
#### Configuring Datadog alerts
957
959
958
960
> ⚠️ **WARNING**: This alerting provider has not been tested yet. If you've tested it and confirmed that it works, please remove this warning and create a pull request, or comment on [#1223](https://github.com/TwiN/gatus/discussions/1223) with whether the provider works as intended. Thank you for your cooperation.
0 commit comments