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

Incorrect API graph.update

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.0.0alpha3
    • API (A)

      • item update
        try:
        {
         "graphid": "471",
        "name": "CPU jumps2",
        "gitems": [
                    {
                        "itemid": "22924",
                        "color": "009901"
                    }
                ]
        }

        after that try

        {
         "graphid": "471",
        "name": "CPU jumps",
        "gitems": [
                    {
                        "itemid": "22924"
                    }
                ]
        }

        notice:

      • itemid is required for gitems
      • get updated graph item and notice that color is set to 009600
      • graph update
        notice:
      • CGraph->inherit() calls CGraphGeneral->updateReal with lot of data this leads to updating extra fields of table graphs

            Unassigned Unassigned
            vitalijs.cemeris vitalijs.cemeris (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: