Update zabbix.api.php
This commit is contained in:
parent
b667703092
commit
410f3a6890
|
@ -106,7 +106,7 @@ if(!is_fn("zabbix_get_hosts")) {
|
||||||
$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",
|
||||||
"params" => array(
|
"params" => array(
|
||||||
"output" => array("hostid", "host"),
|
"output" => array("hostid", "host", "status"),
|
||||||
"selectInterfaces" => array("interfaceid", "ip"),
|
"selectInterfaces" => array("interfaceid", "ip"),
|
||||||
"selectGroups" => "extend"
|
"selectGroups" => "extend"
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user