zabbix_get_alerts
Retrieve Zabbix alert notifications and filter by hosts, users, time range, or action. Analyze sent alerts to troubleshoot monitoring issues.
Instructions
Get alerts (sent notifications) from Zabbix
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zabbix_get_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| filter | No | Return only alerts that match the given filter | |
| output | No | Object properties to be returned | |
| search | No | Return only alerts that match the given wildcard search | |
| hostids | No | Return only alerts generated by events on the given hosts | |
| userids | No | Return only alerts sent to the given users | |
| alertids | No | Return only alerts with the given IDs | |
| eventids | No | Return only alerts generated by the given events | |
| actionids | No | Return only alerts generated by the given actions | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | DESC |
| time_from | No | Return only alerts sent after this time (Unix timestamp) | |
| time_till | No | Return only alerts sent before this time (Unix timestamp) | |
| selectHosts | No | Return hosts that generated the events that triggered the alerts | |
| selectUsers | No | Return users that the alerts were sent to | |
| mediatypeids | No | Return only alerts that used the given media types | |
| selectMediatypes | No | Return media types used to send the alerts |