-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
7.0.0
-
None
Steps to reproduce:
- curl --insecure -sS -H "Content-Type: application/json-rpc " -d ' { "auth": "TOKEN", "id": 1, "jsonrpc": "2.0", "method": "template.get", "params": [] }
- wil return
[ .... { "proxyid": "0", "host": "Website by Browser", "status": "3", "ipmi_authtype": "-1", "ipmi_privilege": "2", "ipmi_username": "", "ipmi_password": "", "maintenanceid": "0", "maintenance_status": "0", "maintenance_type": "0", "maintenance_from": "0", "name": "Website by Browser", "flags": "0", "templateid": "10628", "description": "The template to monitor a website's availability and performance on the website by Browser.\r\n\r\nZabbix server uses a web browser to perform navigation and collect performance metrics.\r\n\r\nGenerated by official Zabbix template tool \"Templator\"", "tls_connect": "1", "tls_accept": "1", "tls_issuer": "", "tls_subject": "", "tls_psk_identity": "", "tls_psk": "", "custom_interfaces": "0", "uuid": "2526dce71d714e31bd545e96370c67b2", "vendor_name": "Zabbix", "vendor_version": "7.0-0", "proxy_groupid": "0", "monitored_by": "0" }]
- plenty of columns not belonging to the template (owned by the host object)
Expected:
just the columns belonging to a template
- is duplicated by
-
ZBXNEXT-9300 API methos should not return wrong properties
- Closed