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

Cannot add a link to a map via the API

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: API (A)
    • Labels:

      Description

      I've created a map with two elements. When I try to a add a link between the two elements, I receive the "Link selementid1 field is pointing to a nonexistent map selement ID "10" for map "Local nerwork"., even thought the map element exists.

      Here's the request I'm using to add the link:

      {
      "jsonrpc": "2.0",
      "method": "map.update",
      "params": {
      "sysmapid": 3,
      "links": [

      { "selementid1": 10, "selementid2": 11 }

      ]
      },
      "id": 13,
      "auth": "2f8f27b9ed79fa763325f8779007bcb2"
      }

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: