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

CDiscoveryRule get() not working with parameter 'selectGraphs'

    XMLWordPrintable

Details

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

    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

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

            Dates

              Created:
              Updated:
              Resolved: