post
https://api.linode.com//monitor/services//alert-definitions
Limited availability Create a new alert definition for a specific service type. Akamai refers to these as user alerts. Run the List supported service types operation to see a list of services.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
monitor:read_write
- Scopes:
CLI
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 \