%@ page import="java.io.*, java.util.*"%> <%@ page language="java" contentType="text/html;charset=utf-8"%> <%@ page import="com.eactive.eai.common.EAITable"%> <%@ page import="com.eactive.eai.common.message.EAIMessage"%> <%@ page import="com.eactive.eai.common.message.ServiceMessage"%> <%@ page import="com.eactive.eai.common.message.EAIMessageManager"%> <%@ page import="com.eactive.eai.common.monitor.EAIServiceMonitor"%> <%@ page import="com.eactive.eai.common.monitor.MonitorVO"%> <%@ page import="java.util.HashMap"%> <% String actionMessage = ""; EAIServiceMonitor monitor = EAIServiceMonitor.getInstance(); String[] voKey = monitor.getAllMonitorVOKey(); String action = request.getParameter("actionType"); MonitorVO vo = null; String[] pssCntKey = null; String[] pssErrCntKey = null; HashMap pssCnt = null; HashMap pssCntInPeriod = null; HashMap errPssCnt = null; HashMap errPssCntInPeriod = null; String selectedSvcCds = request.getParameter("svcCds"); if(selectedSvcCds == null && voKey.length>=1) { selectedSvcCds = voKey[0]; } if(selectedSvcCds!=null) { vo = monitor.getMonitorVO(selectedSvcCds); if("RESET".equals(action)) { vo.reset(); } pssCntKey = vo.getAllPssCntKey(); pssCnt = vo.getPssCnt(); pssCntInPeriod = vo.getPssCntInPeriod(); errPssCnt = vo.getErrPssCnt(); errPssCntInPeriod = vo.getErrPssCntInPeriod(); } if("ALLRESET".equalsIgnoreCase(action)){ monitor.resetAll(); } else if("RESET_TOLIST".equalsIgnoreCase(action)){ actionMessage = monitor.resetErrorList(); } %>
Service ID/Log Sequence 별 통계 데이터
<% if(actionMessage != null && actionMessage.length() > 0) { %>
Action result : <%= actionMessage %>
<% } %>