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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.0alpha8
    • Component/s: 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

            Assignee:
            Aigars Kadikis
            Reporter:
            Andy Afanasyev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: