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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"triggerType": "<triggerType>"
},
"name": "termix_alerts_create_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 |