[ZBX-23935] hostgroup.create not exist in 7.0 Created: 2024 Jan 12  Updated: 2024 Jan 29  Resolved: 2024 Jan 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 7.0.0alpha9
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Midas Wollinger Assignee: Zabbix Support Team
Resolution: False Positive Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2024-01-12-09-00-24-331.png     PNG File image-2024-01-12-09-01-13-172.png    

 Description   

Steps to reproduce:

  1. Start a API Request for groupadd

Result:
Via Ansible Collection

failed: [ansiblehost01 -> localhost(\{{ zabbix_url }})] (item=hostgroup1) => {"ansible_loop_var": "item", "changed": false, "item": "hostgroup1", "msg": "connection error occurred: REST API returned

{'code': -32500, 'message': 'Application error.', 'data': 'No permissions to call \"hostgroup.create\".'}

when sending {\"jsonrpc\": \"2.0\", \"method\": \"hostgroup.create\", \"id\": \"2b9b4ba1-6fa3-4971-a9b7-19a8ddd66e47\", \"params\":

{\"name\": \"hostgroup1\"}

, \"auth\": \"5849wvt8475zutn5487w0tznvw784c43rt345\"}"}
failed: [[ansiblehost01  -> localhost(\{{ zabbix_url }})] (item=all) => {"ansible_loop_var": "item", "changed": false, "item": "all", "msg": "connection error occurred: REST API returned

{'code': -32500, 'message': 'Application error.', 'data': 'No permissions to call \"hostgroup.create\".'}

when sending {\"jsonrpc\": \"2.0\", \"method\": \"hostgroup.create\", \"id\": \"59e2b0a7-1c0a-43be-9c41-844a06186f84\", \"params\":

{\"name\": \"all\"}

, \"auth\": \"5849wvt8475zutn5487w0tznvw784c43rt345\"}"}

Zabbix 6.4

 

Zabbix7.0


Generated at Sat Apr 05 08:13:59 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.