%@ include file="/sdk/oemTop.jspf" %>
<%@ include file="/oemNoscript.jspf" %>
<%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
<%@ taglib uri="http://xmlns.oracle.com/oem/jsp/tag" prefix="oem"%>
<%@ page import="oracle.sysman.eml.mntr.Constants"%>
<%@ page import="java.util.ResourceBundle"%>
<%@ page import="java.util.Vector"%>
<%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%>
<%@ page import="oracle.sysman.resources.health.HealthResourceBundle"%>
<%@ page import="oracle.sysman.emSDK.chart.SimpleChartDataSource"%>
<%@ include file="/oemTitle.jspf" %>
<%@ include file="/oemGlobal.jspf" %>
<%@ include file="header.jsp" %>
<%@ include file="healthTimestampandError.jsp" %>
<%
java.util.Map omsMap = defaultBean.getomsData();
ResourceBundle rb = NLSUtil.getBundle(HealthResourceBundle.class.getName(), request);
%>
<%
if (omsMap != null)
{
String status = (String)omsMap.get("status");
String statusImage = defaultBean.getgotrafficImage();
String image = defaultBean.getupImage();
if((status == null) || (status.equals("down")))
{
statusImage = defaultBean.getstoptrafficImage();
image = defaultBean.getdownImage();
}
String since = (String)request.getAttribute("since");
%>
<%
String omsIAS = (String)request.getAttribute("omsIAS");
String omsIASdestination = (String)request.getAttribute("omsIASdestination");
if((omsIAS != null) && (omsIAS.length() > 0))
{
if((omsIASdestination != null) && (omsIASdestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
}
else
{
%>
<%
}
%>
<%
String omsOC4J = (String)request.getAttribute("omsOC4J");
String omsOC4Jdestination = (String)request.getAttribute("omsOC4Jdestination");
if((omsOC4J != null) && (omsOC4J.length() > 0))
{
if((omsOC4Jdestination != null) && (omsOC4Jdestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
}
else
{
%>
<%
}
%>
<%
String omsHost = (String)request.getAttribute("omsHost");
String omsHostdestination = (String)request.getAttribute("omsHostdestination");
if((omsHost != null) && (omsHost.length() > 0))
{
if((omsHostdestination != null) && (omsHostdestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
}
else
{
%>
<%
}
%>
<%
String cpuUse = (String)request.getAttribute("omsCpu");
String cpuUseDest = (String)request.getAttribute("omsCpudestination");
String cpuUseImage = (String)request.getAttribute("omsCpuimage");
String mem = (String)request.getAttribute("omsMem");
String memDest = (String)request.getAttribute("omsMemdestination");
String memImage = (String)request.getAttribute("omsMemimage");
String jvmMem = (String)request.getAttribute("omsJvmMem");
String jvmMemDest = (String)request.getAttribute("omsJvmMemdestination");
String jvmMemImage = (String)request.getAttribute("omsJvmMemimage");
String uploadPort = (String)request.getAttribute("uploadPort");
String secureUploadPort = (String)request.getAttribute("secureUploadPort");
String sessionCount = null;
String sessionCountDest = null;
String sessionCountImage = null;
java.util.Map sessionMap = defaultBean.getsessionData();
if (sessionMap != null)
{
sessionCount = (String)sessionMap.get("sessionCount");
sessionCountDest = (String)sessionMap.get("sessionCountdestination");
sessionCountImage = (String)sessionMap.get("sessionCountimage");
}
String notificationCount = "0";
String notificationCountDest = "";
if (omsMap != null)
{
notificationCount = (String)omsMap.get("notification_count");
notificationCountDest = (String)omsMap.get("notification_countdestination");
}
if((cpuUse != null) && (cpuUse.length() > 0))
{
%>
<%
}
if((mem != null) && (mem.length() > 0))
{
%>
<%
}
if((jvmMem != null) && (jvmMem.length() > 0))
{
%>
<%
}
%>
<%
if((sessionCount != null) && (sessionCount.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
if((notificationCount != null) && (notificationCount.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
if((uploadPort != null) && (uploadPort.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
if((secureUploadPort != null) &&
(secureUploadPort.length() > 0) &&
(!secureUploadPort.equals("-1")) &&
(!secureUploadPort.equals("None")))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
SimpleChartDataSource chartData = (SimpleChartDataSource)request.getAttribute("UILoadChartData");
if(chartData == null)
{
%>
<%
}
else
{
%>
<%
}
%>
<%
SimpleChartDataSource chartData = (SimpleChartDataSource)request.getAttribute("sessionsChartData");
if(chartData == null)
{
%>
<%
}
else
{
%>
<%
}
%>
<%
}
%>
<%
String filesysspace = (String)request.getAttribute("fileSysSpace");
String filesysspaceDest = (String)request.getAttribute("fileSysSpacedestination");
String filesysspaceImage = (String)request.getAttribute("fileSysSpaceimage");
if (omsMap != null)
{
String directory = (String)omsMap.get("load_directory");
String throughput = (String)omsMap.get("load_processing");
String throughputdestination = (String)omsMap.get("load_processingdestination");
String throughputImage = (String)omsMap.get("load_processingimage");
String oldest = (String)omsMap.get("load_oldestfile");
String oldestImage = (String)omsMap.get("load_oldestfileimage");
String pending = (String)omsMap.get("load_backlog");
String pendingdestination = (String)omsMap.get("load_backlogdestination");
String pendingImage = (String)omsMap.get("load_backlogimage");
String processing = (String)omsMap.get("load_run_string");
String processingdestination = (String)omsMap.get("load_rundestination");
String processingImage = (String)omsMap.get("load_runimage");
%>
<%
if((filesysspaceDest != null) && (filesysspaceDest.length() > 0))
{
%>
<%
}
%>
<%
if((pendingdestination != null) && (pendingdestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
}
%>
<%
java.util.Map jobMap = defaultBean.getjobDispatcherData();
if (jobMap != null)
{
String processing = (String)jobMap.get("processing");
String processingDestination = (String)jobMap.get("processingdestination");
String processingImage = (String)jobMap.get("processingimage");
String throughput = (String)jobMap.get("throughput");
String throughputDestination = (String)jobMap.get("throughputdestination");
String throughputImage = (String)jobMap.get("throughputimage");
%>
<%
if((processingDestination != null) && (processingDestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
if((throughputDestination != null) && (throughputDestination.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
}
%>
<%@ include file="healthRelatedLinks.jsp" %>