hostgroup_overview_get
Get a host group health roll-up in one call: member counts, active-problem severity breakdown, and top problematic hosts for daily health checks or group status questions.
Instructions
Host group health roll-up: member-host counts (total / enabled / with-problems) + active-problem severity breakdown + top-N most-problematic hosts inside the group, in one call.
Use this for 'how is the doing?' / 'give me a daily health report for ' style prompts. Replaces hostgroup_get + host_get(groupids=) + problem_get(hostids=) chain.
Requires the group: pass its exact name as 'group' (no lookup needed) or its ID as 'groupid'. Without either the call is refused; for all groups at once use infrastructure_summary_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Host group name (exact match). One of groupid or group is required; the name is enough, no hostgroup_get call is needed first. | |
| top_n | No | Number of most-problematic hosts to return (default 5). | |
| server | No | Target Zabbix server. Available: default. Defaults to 'default' if omitted. | |
| groupid | No | Host group ID. One of groupid or group (the name) is required. | |
| raw_json | No | Strips the security disclaimer preamble from the response so it is pure JSON. Default: false. Requires the bearer token to have 'allow_raw_json' explicitly enabled by an operator in the admin portal - tokens without that policy receive a PolicyError instead. WARNING: setting true bypasses the prompt-injection mitigation marker that wraps untrusted Zabbix data (host names, item descriptions, problem text). LLM clients (Claude, GPT, Cursor, ...) should leave this false; only programmatic non-LLM consumers (Python scripts, n8n workflows that json.loads the result) should set true. |