-
Problem report
-
Resolution: Duplicate
-
Trivial
-
5.4.1
-
CentOS Linux release 8.4.2105
zabbix packages:
zabbix-web-pgsql-5.4.1-1.el8.noarch
zabbix-agent-5.4.1-1.el8.x86_64
zabbix-web-5.4.1-1.el8.noarch
zabbix-sender-5.4.1-1.el8.x86_64
zabbix-server-pgsql-5.4.1-1.el8.x86_64
zabbix-web-deps-5.4.1-1.el8.noarch
zabbix-get-5.4.1-1.el8.x86_64
zabbix-release-5.4-1.el8.noarchCentOS Linux release 8.4.2105 zabbix packages: zabbix-web-pgsql-5.4.1-1.el8.noarch zabbix-agent-5.4.1-1.el8.x86_64 zabbix-web-5.4.1-1.el8.noarch zabbix-sender-5.4.1-1.el8.x86_64 zabbix-server-pgsql-5.4.1-1.el8.x86_64 zabbix-web-deps-5.4.1-1.el8.noarch zabbix-get-5.4.1-1.el8.x86_64 zabbix-release-5.4-1.el8.noarch
Steps to reproduce:
- Execute host.get method:
{
"jsonrpc": "2.0",
"method": "host.get",
"params": {
"filter": {
"host": [
"testhostname"
]
}
},
"id": 1,
"auth": "**************************"
}
Result:
See log API return JSON:
{
"jsonrpc": "2.0",
"result": [
{
"hostid": "10491",
"proxy_hostid": "10357",
"host": "testhostname",
"status": "0",
"lastaccess": "0",
"ipmi_authtype": "-1",
"ipmi_privilege": "2",
"ipmi_username": "",
"ipmi_password": "",
"maintenanceid": "0",
"maintenance_status": "0",
"maintenance_type": "0",
"maintenance_from": "0",
"name": "testhostname",
"flags": "0",
"templateid": "0",
"description": "",
"tls_connect": "2",
"tls_accept": "2",
"tls_issuer": "",
"tls_subject": "",
"proxy_address": "",
"auto_compress": "1",
"discover": "0",
"custom_interfaces": "0",
"uuid": ""
}
],
"id": 1
}
Expected:
inventory_mode property with integer value should be in the result.
This property described in Zabbix documentation https://www.zabbix.com/documentation/current/manual/api/reference/host/object
- is duplicated by
-
ZBX-19555 `inventory_mode` not returned anymore in API call `host.get` since upgrade to 5.4
-
- Closed
-