-
Type:
Incident report
-
Resolution: Duplicate
-
Priority:
Blocker
-
None
-
Affects Version/s: 2.2.0
-
Component/s: API (A)
-
Environment:Linux xxx-web01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
mysql Ver 14.14 Distrib 5.5.33, for Linux (x86_64) using readline 5.1
I'm not able to get any inventory data through the official Zabbix API:
$json = {
jsonrpc => "2.0",
method => "host.get",
params =>
,
id => 2,
auth => "$authID"
};
Zabbix API Inventory only returns the hostid:
$VAR1 = [
{
'maintenances' => [],
'jmx_available' => '0',
'jmx_errors_from' => '0',
'snmp_error' => '',
'ipmi_authtype' => '-1',
'ipmi_username' => '',
'jmx_error' => '',
'name' => 'XXXXXXX',
'ipmi_error' => '',
'maintenanceid' => '0',
'errors_from' => '0',
'ipmi_password' => '',
'ipmi_privilege' => '2',
'maintenance_type' => '0',
'maintenance_status' => '0',
'templates' => [
],
'status' => '0',
'lastaccess' => '0',
'hostid' => '10329',
'ipmi_errors_from' => '0',
'ipmi_available' => '0',
'disable_until' => '0',
'proxy_hostid' => '0',
'error' => '',
'snmp_disable_until' => '0',
'maintenance_from' => '0',
'available' => '0',
'jmx_disable_until' => '0',
'inventory' =>
,
'flags' => '0',
'snmp_available' => '1',
'host' => 'XXXXXXX',
'snmp_errors_from' => '0',
'ipmi_disable_until' => '0'
},
- duplicates
-
ZBX-7420 Unable to select inventory from api
-
- Closed
-