Update zabbix.api.php

This commit is contained in:
Namhyeon Go 2020-04-29 13:37:40 +09:00 committed by GitHub
parent b667703092
commit 410f3a6890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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