host_update
Update a Zabbix host's visible name and manage its group membership by adding or removing groups using their IDs.
Instructions
修改主机的可见名称和群组。群组参数为groupid(需先查询)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostid | Yes | 主机ID | |
| new_name | No | 新可见名称 | |
| add_groups | No | 要添加的群组ID(追加模式) | |
| remove_groups | No | 要移除的群组ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |