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

dservice.get - incorrect filtering by dcheckids

    Details

    • Team:
      Team D
    • Sprint:
      Sprint 55 (Aug 2019), Sprint 54 (Jul 2019)
    • Story Points:
      0.125

      Description

      When performing dservice.get and filtering services by dcheckids, this API will return all services, that were discovered by drules that have selected dchecks.

      Steps to reproduce:

      1. Create Discovery rule with two Checks.
      2. Discover a host with two services (both services are based on different checks)
      3. Now perform an API request like this:
        {
           "jsonrpc": "2.0",
            "method": "dservice.get",
            "params": {
        		"dcheckids": [1234]
            },
            "auth": "{{auth}}",
            "id": 1
        }

      Result: It will return both services, including the one, that was discovered based on other discovery check.
      Expected: Only service, based on requested dcheck should be returned.

        Attachments

          Activity

            People

            • Assignee:
              basilgon Vasily Goncharenko
              Reporter:
              vmurzins Valdis Murzins
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: