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

Simultaneous API calls cause duplicate entry in DB

    XMLWordPrintable

Details

    • Incident report
    • Resolution: Duplicate
    • Major
    • None
    • 3.2.4
    • API (A)
    • None
    • N/A

    Description

      Hi Zabbix team ,

      I've found a possible issue while developing some scripts to dynamically create Templates/Items and Hosts .
      The issue can be spotted while running the host.create API call simultaneously . I've not tested with other API calls like item.create or template.create but I suspect that it will be the same outcome .
      The outcome of this run is that Zabbix will create 2 hosts with the same name . If I run the call's with some time difference between them , the 2nd call seems to return a error saying that this hostname was already created , which is fine , but I would expect this error coming up while I run the simultaneous calls also .

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hoisu Istvan Caluser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: