public String[] getDiagnosis(GemFireHealth.Health healthCode) {
    if (healthCode == GemFireHealth.GOOD_HEALTH) {
      return new String[0];

    } else if (healthCode == GemFireHealth.OKAY_HEALTH) {
      String[] array = new String[okayDiagnoses.size()];
      okayDiagnoses.toArray(array);
      return array;

    } else {
      Assert.assertTrue(healthCode == GemFireHealth.POOR_HEALTH);
      String[] array = new String[poorDiagnoses.size()];
      poorDiagnoses.toArray(array);
      return array;
    }
  }
Returns detailed information explaining the current health status. Each array element is a
different cause for the current status. An empty array will be returned if the current status
is {@link GemFireHealth#GOOD_HEALTH}.
geode-core/src/main/java/org/apache/geode/admin/internal/GemFireHealthEvaluator.java