public List<String> getSmsMessage() {
        List<String> messages = new ArrayList<>();


        for (Map.Entry<String, List<DataSourceAlarmVO>> detected : detectedAgents.entrySet()) {
            for (DataSourceAlarmVO eachVo : detected.getValue()) {
                if (decideResult0(eachVo)) {
                    String message = String.format(SMS_MESSAGE_FORMAT, detected.getKey(), eachVo.getDatabaseName(), eachVo.getConnectionUsedRate(), unit, rule.getThreshold(), unit, eachVo.getActiveConnectionAvg(), eachVo.getMaxConnectionAvg());
                    messages.add(message);
                }
            }
        }

        return messages;
    }
@author Taejin Koo
@author Jongjin.Bae
batch/src/main/java/com/navercorp/pinpoint/batch/alarm/checker/DataSourceConnectionUsageRateChecker.java