Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-4176

Custom identification of shapes on maps

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.4.3rc1
    • Frontend (F)
    • None
    • Sprint 18
    • 2

      For map shapes linking with API proposed to introduce custom shape IDs:

      {
                          "sysmap_shapeid": "32",
                          "custom_shapeid": "my_shape_id123",  <------------------ [New]
                          "type": "0",
                          "x": "100",
                          "y": "150",
                          "width": "50",
                          "height": "50",
                          "text": "shape 1",
                          "font": "9",
                          "font_size": "11",
                          "font_color": "000000",
                          "text_halign": "0",
                          "text_valign": "0",
                          "border_type": "1",
                          "border_width": "2",
                          "border_color": "000000",
                          "background_color": "",
                          "zindex": "0"
                      }
      

      where custom_shapeid:

      • type variable string of size 16 chars
      • defined by API during Create, and Update
      • read by API during Get
      • unique per map
      • empty by default (DB migration patch)
      • visible in map editor in shape property dialog
      • only numbers and characters are allowed (no special symbols)

            zabbix.dev Zabbix Development Team
            palivoda Rostislav Palivoda
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: