Update zabbix.api.php

This commit is contained in:
Namhyeon Go 2020-03-05 10:26:47 +09:00 committed by GitHub
parent 41cf7bf2ff
commit a62297c82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,6 +105,7 @@ if(!is_fn("zabbix_get_hosts")) {
if(loadHelper("webpagetool")) { if(loadHelper("webpagetool")) {
$response = get_web_json($zabbix_api_url, "jsonrpc2.cache", array( $response = get_web_json($zabbix_api_url, "jsonrpc2.cache", array(
"method" => "host.get", "method" => "host.get",
"selectGroups" => "extend",
"params" => array( "params" => array(
"output" => array("hostid", "host"), "output" => array("hostid", "host"),
"selectInterfaces" => array("interfaceid", "ip"), "selectInterfaces" => array("interfaceid", "ip"),