Create an alert rule
termix_alerts_create_alert_ruleCreate an alert rule to monitor host metrics and trigger notifications when conditions occur. Specify trigger type, optional thresholds, and notification channels to automate incident response.
Instructions
Create an alert rule
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| hostId | No | Restrict this rule to one host. Omit for all hosts. | |
| enabled | No | ||
| channels | No | Notification channel ids to fire. | |
| triggerType | Yes | ||
| thresholdValue | No | 0-100. Required by cpu/memory/disk_threshold triggers. | |
| cooldownMinutes | No | ||
| thresholdDurationSeconds | No |