public List<AlertHistoryEntity> getAlerts(String serviceName) {
      return m_alertsByService.get(serviceName);
    }
Gets all of the alerts in the {@link Notification} by service name.

@param serviceName
         the service name.
@return the alerts for that service, or {@code null} none.
ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java