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

CDiscoveryRule get() not working with parameter 'selectGraphs'

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.4rc1, 2.1.0
    • 2.0.4rc1, 2.1.0
    • API (A)

      have discovery rule (id: 23279) and graph prototypes in it.

      Api call:
      {
      "jsonrpc":"2.0",
      "method":"discoveryrule.get",
      "params":

      { "itemids":[23279], "selectGraphs":"refer" }

      ,
      "id":47,
      "auth":"6bd880b1f963683fd908af4764bef817"
      }

      returns without graphs:
      {
      "jsonrpc": "2.0",
      "result": [

      { "graphs": [], "itemid": "23279" }

      ],
      "id": 47
      }

            oleg.egorov Oleg Egorov (Inactive)
            tomtom Toms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: