Problem Get
problem_getRetrieve active Zabbix problems with filters for hosts, groups, triggers, severity, time range, and acknowledgment status to identify and page through monitored infrastructure issues.
Instructions
Get problems from Zabbix.
Problems are active trigger states that indicate issues with monitored infrastructure. Each problem is associated with a trigger and can be acknowledged by operators.
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": "problem_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Default is 100. | |
| offset | No | Number of matching records to skip. Use with 'limit' to page through results; check 'has_more' and 'total' in the response. | |
| output | No | extend | |
| recent | No | If true, only return recently recovered problems. | |
| search | No | Dictionary with search criteria like {'name': 'CPU'}. | |
| hostids | No | List of host IDs to get problems from. An empty list matches none. | |
| eventids | No | List of event IDs to get problems for. Omit to return all problems; an empty list matches none. | |
| groupids | No | List of host group IDs to get problems from. An empty list matches none. | |
| objectids | No | List of trigger IDs to get problems from. An empty list matches none. | |
| sortfield | No | Field to sort by. A deterministic sort is required for paging to be consistent. | eventid |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| time_from | No | Unix timestamp. | |
| time_till | No | Unix timestamp. | |
| severities | No | Severity levels 0-5. | |
| suppressed | No | If false, return only unsuppressed problems. If true, return only suppressed problems. | |
| acknowledged | No | If false, return only unacknowledged problems. If true, return only acknowledged problems. | |
| count_output | No | If true, returns only the count of matched objects as an integer. | |
| select_hosts | No | If true, each problem includes a 'hosts' list (hostid, host, name) of the hosts it occurred on. | |
| name_contains | No | Shortcut to search for problems by name (constructs search={'name': name_contains}). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||