PUT /v2/monitoring/alerts/{alert_uuid}

To update en existing policy, send a PUT request to v2/monitoring/alerts/{alert_uuid}.

Servers

Path parameters

Name Type Required Description
alert_uuid String Yes

A unique identifier for an alert policy.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
entities[] Array Yes
description String Yes
tags[] Array Yes
enabled Boolean Yes
type String Yes

Possible values:

  • "v1/insights/droplet/load_5"
  • "v1/insights/lbaas/increase_in_http_error_rate_percentage_4xx"
  • "v1/droplet/autoscale_alerts/scale_up"
  • "v1/insights/droplet/load_1"
  • "v1/insights/droplet/cpu"
  • "v1/insights/droplet/disk_read"
  • "v1/insights/lbaas/increase_in_http_error_rate_count_5xx"
  • "v1/insights/lbaas/high_http_request_response_time_99p"
  • "v1/droplet/autoscale_alerts/target_memory_utilization"
  • "v1/insights/lbaas/high_http_request_response_time_95p"
  • "v1/insights/droplet/disk_write"
  • "v1/insights/lbaas/tls_connections_per_second_utilization_percent"
  • "v1/insights/lbaas/high_http_request_response_time"
  • "v1/insights/droplet/public_outbound_bandwidth"
  • "v1/droplet/autoscale_alerts/scale_down"
  • "v1/dbaas/alerts/disk_utilization_alerts"
  • "v1/insights/lbaas/increase_in_http_error_rate_count_4xx"
  • "v1/droplet/autoscale_alerts/current_memory_utilization"
  • "v1/droplet/autoscale_alerts/current_cpu_utilization"
  • "v1/droplet/autoscale_alerts/target_cpu_utilization"
  • "v1/dbaas/alerts/load_15_alerts"
  • "v1/insights/droplet/load_15"
  • "v1/insights/lbaas/increase_in_http_error_rate_percentage_5xx"
  • "v1/dbaas/alerts/cpu_alerts"
  • "v1/insights/droplet/private_outbound_bandwidth"
  • "v1/insights/droplet/memory_utilization_percent"
  • "v1/insights/droplet/public_inbound_bandwidth"
  • "v1/insights/droplet/private_inbound_bandwidth"
  • "v1/droplet/autoscale_alerts/current_instances"
  • "v1/insights/lbaas/high_http_request_response_time_50p"
  • "v1/insights/lbaas/avg_cpu_utilization_percent"
  • "v1/droplet/autoscale_alerts/target_instances"
  • "v1/insights/droplet/disk_utilization_percent"
  • "v1/dbaas/alerts/memory_utilization_alerts"
  • "v1/insights/lbaas/connection_utilization_percent"
  • "v1/insights/lbaas/droplet_health"
value Number Yes
alerts Object Yes
alerts.slack[] Array Yes

Slack integration details.

alerts.slack[].channel String Yes

Slack channel to notify of an alert trigger.

alerts.slack[].url String Yes

Slack Webhook URL.

alerts.email[] Array Yes

An email to notify on an alert trigger.

compare String Yes

Possible values:

  • "LessThan"
  • "GreaterThan"
window String Yes

Possible values:

  • "10m"
  • "30m"
  • "5m"
  • "1h"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.