#8829 RFE: ipa-healthcheck: Allow multiple checks and source to be specified
Closed: duplicate by pcech. Opened by pcech.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 8): Bug 1776234

Description of problem: ipa-healthcheck does not display correct output when multiple checks are specified for a source.
Version-Release number of selected component (if applicable):
[root@master healthcheck]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.2 Beta (Ootpa)
[root@master healthcheck]# rpm -q ipa-server
ipa-server-4.8.2-2.module+el8.2.0+4736+360582ce.x86_64
How reproducible: Always
Steps to Reproduce:
1. Install ipa-server and ipa-healthcheck
2. Run the command
[root@master healthcheck]# ipa-healthcheck --source ipahealthcheck.meta.services --check certmonger --check dirsrv
Actual results: When multiple checks are allowed for a single source in the command line, the output is displayed for only single check.
[root@master healthcheck]# ipa-healthcheck --source ipahealthcheck.meta.services --check certmonger --check dirsrv
[
  {
    "source": "ipahealthcheck.meta.services",
    "check": "dirsrv",
    "result": "SUCCESS",
    "uuid": "bba2838f-967d-452a-a542-52b0eb2c0d30",
    "when": "20191125102001Z",
    "duration": "0.007225",
    "kw": {
      "status": true
    }
  }
]
Expected results: When multiple checks are allowed for a source in the command line, the output should display the result of all the specified checks.
Additional info: Logging this as bug to see if the CLI can handle a scenario where multiple checks are being done for a single source.

Metadata Update from @pcech:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1776234

Issue linked to bug 1776234

Moved to proper project:
https://github.com/freeipa/freeipa-healthcheck/issues/195

Metadata Update from @pcech:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

Metadata