Create an alert definition

Beta Create a new alert definition for a specific service type. Include the appropriate service_type as a path parameter. These are referred to as user alerts. You need read_only access to the scope for the selected service_type.

📘

  • This operation is beta. Call it using the v4beta path in its URL.

  • Currently, only the Managed Databases (dbaas) service type is supported.

monitor:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
linode-cli alerts definition-create \
--channel_ids 546 \
--label CPU usage threshold maximum \
--rule_criteria.metric cpu_usage \
--rule_criteria.operator gt \
--rule_criteria.threshold 80 \
--severity 2
--trigger_conditions.evaluation_period_seconds 300 \
--trigger_conditions.polling_interval_seconds 300 \
--trigger_conditions.trigger_occurrences 3 \

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
Language
Credentials
Click Try It! to start a request and see the response here!