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

DB error occurs host.massupdate method

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.0.4rc1
    • API (A)

      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.

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

              Created:
              Updated:
              Resolved: