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

Incorrect API graph.update

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0alpha3
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:

      Description

      • 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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: