Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23752

Zabbix server crashes after creation of host with SNMP-interface via API call

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.0alpha8
    • Server (S)
    • None

      Steps to reproduce:

      1. Standard docker compose file with zabbix/zabbix-server-pgsql:alpine-trunk image 
      2. Make an API call to create a host with SNMP-interface (couldn't reproduce crash while creating hosts with Agent-interface) 

      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.
      Server crashes.

      Easily repeatable . Crashes almost after 50% API calls. 
      7.0.0alpha8 revisions:  0880a0e, 78774f7

            aigars.kadikis Aigars Kadikis
            Andy Afanasyev Andy Afanasyev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: