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

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

      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 .

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

              Created:
              Updated:
              Resolved: