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

Unexpected API behavior when creating a dashboard

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0 (plan)
    • 7.0.0alpha7
    • API (A)
    • None
    • Documentation backlog
    • 0.25

      Steps to reproduce:

      1. Create a dashboard using the example from the documentation
      2. Create a new widget "chart (classic)" through the web interface and associate a time period with the widget created through the API.

      Result:

      Example of a linked widget (obtained via API):

                 {
                    "widgetid": "19358",
                    "type": "graph",
                    "name": "",
                    "x": "0",
                    "y": "5",
                    "width": "12",
                    "height": "5",
                    "view_mode": "0",
                    "fields": [
                      {
                        "type": "6",
                        "name": "graphid.0",
                        "value": "2232"
                      },
                      {
                        "type": "1",
                        "name": "time_period._reference",
                        "value": "._timeperiod"
                      },
                      {
                        "type": "1",
                        "name": "reference",
                        "value": "OUWKE"
                      }
                    ]
                  }
      

      As you can see, the problem is with the lack of an identifier.

      Important Note:
      This cannot be fixed via the web interface. Attempts to open and save it do not solve the problem.

            adancis Arturs Dancis
            abakaldin Alexander Bakaldin
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: