graph.create ignores hostid parameter

XMLWordPrintable

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

      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).

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

              Created:
              Updated:
              Resolved: