get_problems
Fetch active Zabbix problems newest first, with severity and tag filters, and report the true total while excluding disabled triggers unless requested.
Instructions
Get active Zabbix problems, newest first.
Problems are listed newest-first and annotated with their age. The header
shows the true total ('showing N of TOTAL' when the result is capped by
limit), so a capped listing is never mistaken for the full picture.
Problems whose trigger, host or item is disabled (for example a trigger
silenced for a known outage) are left out, as the Zabbix frontend's Problems
page also does, and the header says how many.
Args: min_severity: Minimum severity (0=Not classified, 1=Info, 2=Warning, 3=Average, 4=High, 5=Disaster) tag_name: Filter by tag name (optional) tag_value: Filter by tag value (optional, requires tag_name) limit: Maximum number of problems to return (floored at 1; when the result hits this cap a second count query is issued to report the true total) include_disabled: Also list problems whose trigger, host or item is disabled (default False, matching the Zabbix frontend)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| tag_name | No | ||
| tag_value | No | ||
| min_severity | No | ||
| include_disabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |