[ZBX-23752] Zabbix server crashes after creation of host with SNMP-interface via API call Created: 2023 Nov 27 Updated: 2024 Jan 05 Resolved: 2024 Jan 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 7.0.0alpha8 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Andy Afanasyev | Assignee: | Aigars Kadikis |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||
Issue Links: |
|
Description |
Steps to reproduce:
Part of python code: z.host.create({"host": name,"status": 1,"interfaces": [{"type": 2,"main": 1,"useip": 1,"ip": ip,"dns":"","port": "161","details":{"version":2,"bulk":1,"community":"{$SNMP_COMMUNITY}"}}],"groups": [\{"groupid":groupToAdd}]}) Result: Host was created. Easily repeatable . Crashes almost after 50% API calls. |
Comments |
Comment by Andy Afanasyev [ 2023 Nov 27 ] | ||
Several extra characters were inserted in python code after submitting this bug report ... like '\', for example. | ||
Comment by Ty Smytaniuk [ 2023 Dec 15 ] | ||
Was able to reproduce this issue on a Zabbix 6.4.9 installation on Alma Linux 9, using PostgreSQL database. As mentioned in the original description, >50% of API calls to create a host with SNMP Interface type result in the Zabbix Server crashing. The host is created and the server subsequently crashes, it recovers shortly after, subsequent API requests result in the same crashes. UPDATE: My issue appears to have been resolved in 6.4.10, specifically
| ||
Comment by Vladislavs Sokurenko [ 2024 Jan 05 ] | ||
Thank you for your report, closing as a duplicate of |