Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0.10
-
Fix Version/s: 4.0.13rc1, 4.2.7rc1, 4.4.0alpha3, 4.4 (plan)
-
Component/s: API (A)
-
Labels:None
-
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:
- 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.