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

graph.create ignores hostid parameter

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Won't fix
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: API (A)
    • Labels:

      Description

      I'm trying to use graph.create via json api to create a graph and it seems to always ignore the hostid I set.
      I have tried all possible combinations of params:

      "hostid": 10087
      "hosts": [ "10087" ]
      "hosts": [

      { "hostid": "10087" }

      ]
      "hostids": [ "10087" ]
      "hostids": [

      { "hostid": "10087" }

      ]

      It always ignores the hostid and tries to create the graph in the first host in the table (first one created).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mmarkwitzz Alexandru Nica
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: