code: public static String getNodeReport(QJMStatus status) {
      StringBuilder sb = new StringBuilder();
      sb.append("<table border=1 cellpadding=1 cellspacing=0 title=\"Journals\">");
      sb.append("<thead><tr><td><b>Journal node</b></td><td><b>Alive</b></td></tr></thead>");
      for (Entry<String, Boolean> e : status.getAliveMap().entrySet()) {
        if (e.getValue()) {
          sb.append("<tr><td>" + e.getKey()
              + "</td><td><font color=green>Active</font></td></tr>");
        } else {
          sb.append("<tr><td>" + e.getKey()
              + "</td><td><font color=red>Failed</font></td></tr>");
        }
      }
      sb.append("</table>");
      return sb.toString();
    }
docs: Generate health report for journal nodes