Update zabbix.api.php
This commit is contained in:
parent
5ce876afb2
commit
7b6dde0460
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user