get_hosts
Filter and list Zabbix hosts by role, tag, or group to target specific servers for monitoring and management.
Instructions
List Zabbix hosts filtered by tag or group.
Args: role: Filter by role tag value (e.g. 'main', 'edge') tag_name: Filter by arbitrary tag name tag_value: Filter by tag value (requires tag_name) group: Filter by host group name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| group | No | ||
| tag_name | No | ||
| tag_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |