Trigger Create
trigger_createCreate a Zabbix trigger with a custom expression to define when problems are detected and items transition from normal to problem state.
Instructions
Create a new trigger in Zabbix.
Triggers define the conditions under which problems are detected. They use expressions to evaluate item values and determine when to transition from normal to problem state.
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": {
"description": "<description>",
"expression": "<expression>"
},
"name": "trigger_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | 0=enabled, 1=disabled. | |
| comments | No | Optional comment/notes about the trigger explaining its purpose and context. | |
| priority | No | Severity 0-5. | |
| expression | Yes | Trigger expression. | |
| description | Yes | Trigger description/name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||