graph_get
Retrieve graph data from Zabbix, filtering by host, template, or graph ID. Supports pagination and optional inclusion of related items and hosts.
Instructions
Get graphs from Zabbix.
Graphs visualize item data over time, displaying metric values in line/bar/pie charts. Graphs can be included in dashboards, reports, and custom views for data analysis.
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 | |
| search | No | Dictionary with search criteria like {'name': 'CPU'}. | |
| hostids | No | List of host IDs to get graphs from. | |
| graphids | No | List of graph IDs to get. If empty, returns all graphs. | |
| sortfield | No | Field to sort by. A deterministic sort is required for paging to be consistent. | graphid |
| sortorder | No | Sort direction - 'ASC' or 'DESC'. | ASC |
| templateids | No | List of template IDs to get graphs from. | |
| count_output | No | If true, returns only the count of matched objects as an integer. | |
| select_hosts | No | If true, include the hosts that the graphs belong to (selectHosts=extend). | |
| select_items | No | If true, include the items contained in each graph (selectGraphItems=extend). | |
| filter_params | No | Additional filter parameters for advanced filtering. | |
| select_templates | No | If true, include the templates that the graphs belong to (selectTemplates=extend). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||