private List<Recipient> getNotificationRecipients(Notification notification) throws InvalidSnmpConfigurationException {
    if (notification.Recipients == null || notification.Recipients.isEmpty()) {
      throw new InvalidSnmpConfigurationException("Destination addresses should be set.");
    }
    return notification.Recipients;
  }
Get list of recipients for notification
@param notification alerts notification
@return list of recipients
@throws InvalidSnmpConfigurationException if recipients is <code>null</code> or empty
ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/SNMPDispatcher.java