-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.10
-
None
-
Sprint 55 (Aug 2019), Sprint 54 (Jul 2019)
-
0.125
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:
- Create Discovery rule with two Checks.
- Discover a host with two services (both services are based on different checks)
- 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.