-
Incident report
-
Resolution: Duplicate
-
Minor
-
None
-
2.4.3
-
CentOS 6.6
doing an API item.get on a web scenario item always returns an empty result:
$VAR1 = bless( { 'version' => 0, 'content' => { 'jsonrpc' => '2.0', 'id' => 5, 'result' => [] }, 'jsontext' => '{"jsonrpc":"2.0","result":[],"id":5}', 'is_success' => 1 }, 'JSON::RPC::ReturnObject' );
It works fine with normal items...
Here is the JSON request used:
$VAR1 = { 'auth' => '167db9d3103e67402d5880561b83ec23', 'params' => { 'itemids' => [ 1328701 ] }, 'jsonrpc' => '2.0', 'version' => '1.1', 'id' => 5, 'method' => 'item.get' };
I looked in the database, and the item is present under the itemid I poll but is type = 9 for "web item"...
I have th same behavior on 2 different Zabbix environments.
This is on Zabbix 2.4.3... "Affects Version/s" above doesn't allow me the specify 2.4.3: "Version with id '2.4.3' does not exist."
- duplicates
-
ZBX-9649 CLONE - Zabbix API item.get doesn't work with Web Items
- Closed