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

CDiscoveryRule get() not working with parameter 'selectGraphs'

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4rc1, 2.1.0
    • Fix Version/s: 2.0.4rc1, 2.1.0
    • Component/s: API (A)
    • Labels:

      Description

      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
      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: