thruk_list_hostgroups
List host groups with name, alias, and host/service counts. Filter by backend, limit, and sort columns.
Instructions
List host groups. Default columns return name/alias and host/service counts only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order: a column name, optionally prefixed with '-' for descending (e.g. 'name', '-last_check'); comma-separate multiple keys. Defaults to 'name'. | name |
| limit | No | ||
| offset | No | ||
| columns | No | Comma-separated columns to return. Omit for a curated default set tuned for this tool; pass '' (empty string) to return all available columns. | |
| backends | No | Comma-separated backend names (sites). Omit for all backends. |