host_create
Quickly add a new host to Zabbix monitoring by specifying host name, groups, interfaces, and templates. Configure inventory mode and status for precise host management.
Instructions
Create a new host in Zabbix.
Args:
host: Host name
groups: List of host groups (format: [{"groupid": "1"}])
interfaces: List of host interfaces
templates: List of templates to link (format: [{"templateid": "1"}])
inventory_mode: Inventory mode (-1=disabled, 0=manual, 1=automatic)
status: Host status (0=enabled, 1=disabled)
Returns:
str: JSON formatted creation result
Input Schema
Name | Required | Description | Default |
---|---|---|---|
groups | Yes | ||
host | Yes | ||
interfaces | Yes | ||
inventory_mode | No | ||
status | No | ||
templates | No |