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

graph.create ignores hostid parameter

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.0.0
    • 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).

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

              Created:
              Updated:
              Resolved: