Update zabbix.api.php
This commit is contained in:
parent
41cf7bf2ff
commit
a62297c82d
|
@ -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"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user