diff --git a/helper/zabbix.api.php b/helper/zabbix.api.php index c0d9de9..b9744fc 100644 --- a/helper/zabbix.api.php +++ b/helper/zabbix.api.php @@ -105,10 +105,10 @@ if(!is_fn("zabbix_get_hosts")) { if(loadHelper("webpagetool")) { $response = get_web_json($zabbix_api_url, "jsonrpc2.cache", array( "method" => "host.get", - "selectGroups" => "extend", "params" => array( "output" => array("hostid", "host"), "selectInterfaces" => array("interfaceid", "ip"), + "selectGroups" => "extend" ), "id" => zabbix_get_id(), "auth" => $zabbix_auth