Host group 主机组
该类用于管理主机组.
对象引用:
可用的方法:
[hostgroup.create](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/create "manual:api:reference:hostgroup:create")
- 创建新的主机组[hostgroup.delete](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/delete "manual:api:reference:hostgroup:delete")
- 删除主机组[hostgroup.get](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/get "manual:api:reference:hostgroup:get")
- 获取主机组[hostgroup.massadd](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/massadd "manual:api:reference:hostgroup:massadd")
- 给主机组添加相关的对象[hostgroup.massremove](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/massremove "manual:api:reference:hostgroup:massremove")
- 删除主机组相关对象[hostgroup.massupdate](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/massupdate "manual:api:reference:hostgroup:massupdate")
- 替换或删除主机组相关对象[hostgroup.update](https://www.zabbix.com/documentation/4.0/zh/manual/api/reference/hostgroup/update "manual:api:reference:hostgroup:update")
- 更新主机组