Zabbix API: Image element label is not displayed

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.21
    • Component/s: API (A)
    • None

      Hello, I use the API to create maps in Zabbix. When I create an image element, its name is always displayed as “Image”. Zabbix ignores the label parameter.

      Here are the element configuration parameters:

      {
      "selementid": "2",
      "elementtype": "4",
      "iconid_off": "5",
      "iconid_on": "0",
      "label": "TEST",
      "label_location": "3",
      "x": "162",
      "y": "44",
      "iconid_disabled": "0",
      "iconid_maintenance": "0",
      "elementsubtype": "0",
      "areatype": "0",
      "width": "200",
      "height": "200",
      "viewtype": "0",
      "use_iconmap": "0",
      "evaltype": "0",
      "elements": [],
      "urls": [],
      "tags": [],
      "permission": 2
      } 

      And this is how the element looks in Zabbix:

       

            Assignee:
            Guntis Liepins
            Reporter:
            Arina Lebedeva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: