Skip to main content
Retrieve a list of hosts. Note: To pass additional Zabbix parameters, use the Additional Parameters field with the following format:
{
  "params": {
    "output": "extend",
    "selectInterfaces": "extend"
  }
}
External DocumentationTo learn more, visit the Zabbix documentation.

Basic Parameters

ParameterDescription
Group IDsSelect the user groups to filter results by. Can be obtained from the List User Groups action.
Host IDsA comma-separated list of host IDs to filter results by. Can be obtained from the List Hosts action.
LimitThe maximum number of results to return.
Monitored Hosts OnlySelect to return only monitored hosts.
Request IDThe ID to send with the request.
Sort FieldSelect the field to sort results by.
Sort OrderSelect the sort order.
discoveredA comma-separated list of discovered IDs to filter results by.

Advanced Parameters

ParameterDescription
Additional ParametersA JSON object for additional body parameters. Values specified in this parameter will override equivalent parameters.

For example:
{
“first_key”: 12345,
“second_key”: “some_value”
}
The object must follow the vendor’s structure as defined in the API documentation.

Example Output

{
	"jsonrpc": "2.0",
	"result": [
		{
			"hostid": "10084",
			"host": "Zabbix server",
			"inventory": {
				"os": "Linux Ubuntu"
			}
		},
		{
			"hostid": "10107",
			"host": "Linux server",
			"inventory": {
				"os": "Linux Mint"
			}
		}
	],
	"id": 1
}

Workflow Library Example

List Hosts with Zabbix and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop