post https://api.linode.com//monitor/services//alert-definitions
Beta Create a new alert definition for a specific service type. Akamai refers to these as user
alerts. You need read_only
access to the scope for the selected serviceType
. Check out this workflow for the basics on set up of a destination and a stream to gather logs.
This operation is beta. Call it using the
v4beta
path in its URL.
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>