Update zabbix.api.php

This commit is contained in:
Namhyeon Go 2020-03-06 11:32:07 +09:00 committed by GitHub
parent 5ce876afb2
commit 7b6dde0460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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