Update zabbix.api.php

This commit is contained in:
Namhyeon Go 2020-01-27 17:51:03 +09:00 committed by GitHub
parent 93e8922c4c
commit f6edabc3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ if(!check_function_exists("zabbix_get_items")) {
"method" => "host.get",
"params" => array(
"selectInventory" => true,
"selectItems" => array("name", "lastvalue", "units", "itemid", "lastclock", "value_type", "itemid"),
"selectItems" => array("name", "key_", "lastvalue", "units", "itemid", "lastclock", "value_type", "itemid"),
"output" => "extend",
"hostids" => $hostids,
"expandDescription" => 1,