zabbix_get_hostgroups
Retrieve Zabbix host groups with filtering by IDs or names, sorting, and options to include hosts or templates.
Instructions
Get host groups from Zabbix with filtering and output options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Limit the number of records returned | |
| output | No | Object properties to be returned | |
| groupids | No | Return only host groups with the given group IDs | |
| sortfield | No | Sort the result by the given properties | |
| sortorder | No | Sort order | ASC |
| groupnames | No | Return only host groups with the given group names | |
| selectHosts | No | Return hosts that belong to the host group | |
| selectTemplates | No | Return templates that belong to the host group |