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

DB error occurs host.massupdate method

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't fix
    • Affects Version/s: 2.0.4rc1
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:

      Description

      API REQUEST:

      {
      "hosts": [
                  {
                      "hostid": "10120"
                  },
                  {
                      "hostid": "10120"
                  }
      ],
      "groups": [
                  {
                      "groupid": "5"
                  }
      ],
              "status": 0
      }
      

      RESULT:

       SQL statement execution has failed \"INSERT INTO hosts_groups (hostid,groupid,hostgroupid) VALUES ('10120','5','136');
      

      If use native group or only one host, then OK.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.egorov Oleg Egorov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: