%@ 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="oracle.cabo.ui.RenderingContext"%>
<%@ page import="oracle.cabo.ui.ServletRenderingContext"%>
<%@ page import="oracle.sysman.emSDK.util.jdk.NLSUtil"%>
<%@ page import="oracle.sysman.emSDK.chart.SimpleChartDataSource"%>
<%@ page import="oracle.sysman.resources.health.HealthResourceBundle"%>
<%@ include file="/oemTitle.jspf" %>
<%
ResourceBundle rb =
NLSUtil.getBundle(HealthResourceBundle.class.getName(), request);
String statusImage = defaultBean.getgotrafficImage();
ServletRenderingContext rctx = new ServletRenderingContext(pageContext);
String helpDest = defaultBean.getOOBHelpDestination(pageContext, (RenderingContext)rctx);
%>
<%@ include file="/oemGlobal.jspf" %>
<%@ include file="header.jsp" %>
<%@ include file="healthTimestampAndTabs.jsp" %>
<%
String agent = (String)request.getAttribute("agent");
String agentdest = (String)request.getAttribute("agentdestination");
if((agent != null) && (agent.length() > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
String targetCount = (String)request.getAttribute("targetCount");
String userCount = (String)request.getAttribute("userCount");
if(targetCount != null)
{
%>
<%
}
else
{
%>
<%
}
if(userCount != null)
{
%>
<%
}
else
{
%>
<%
}
String deletedTargetCount = (String)request.getAttribute("deletedTargets");
String deletedTargetCountDest = (String)request.getAttribute("deletedTargetsdestination");
if (deletedTargetCount != null)
{
%>
<%
}
String dupCount = defaultBean.getdupTargetCount();
String dupCountDest = defaultBean.getdupTargetLink();
if (dupCount != null)
{
%>
<%
}
%>
<%
String jobbacklog = (String)request.getAttribute("repository_job_backlog");
String jobbacklogDest = (String)request.getAttribute("repository_job_backlogdestination");
String jobbacklogImage = (String)request.getAttribute("repository_job_backlogimage");
if (jobbacklog != null)
{
if(jobbacklogDest != null)
{
%>
<%
}
else
{
%>
<%
}
}
%>
<%
SimpleChartDataSource chartData = (SimpleChartDataSource)request.getAttribute("loaderChartData");
if(chartData == null)
{
%>
<%
}
else
{
%>
<%
}
%>
<%
String[] host = defaultBean.gethost();
String[] hostDest = defaultBean.gethostDestination();
String msg = rb.getString("HOST");
if((host != null) && (host.length > 0))
{
if(host.length > 1)
{
msg = rb.getString("HOSTS");
}
for(int i = 0;i < host.length;i++)
{
%>
<%
if((host[i] != null) && (host[i].length() > 0)
&& (hostDest[i] != null) && (hostDest[i].length() > 0))
{
%>
<%
}
else if((host[i] != null) && (host[i].length() > 0))
{
%>
<%
}
else
{
%>
<%
}
msg = ""; // We only display the message on the first line
%>
<%
}
}
String[] dbdest = defaultBean.getdbDestination();
String[] repository = defaultBean.getrepository();
msg = rb.getString("DATABASE");
boolean begin = true;
if((repository != null) && (repository.length > 0))
{
if(repository.length > 1)
{
msg = rb.getString("DATABASES");
}
for(int i=0;i
<%
if((dbdest[i] != null) && (dbdest[i].length() > 0))
{
%>
<%
}
else
{
if((repository[i] != null) && (repository[i].length() > 0))
{
%>
<%
}
else
{
%>
<%
}
}
%>
<%
msg = ""; // We only display the message on the first line
} // end of the loop
} // end of if dbs found
String tablespaceused = (String)request.getAttribute("usedRepSpace");
String tablespaceusedunit = (String)request.getAttribute("usedRepSpaceunits");
String tablespaceUsedDisplay = tablespaceused+" "+tablespaceusedunit;
String tablespacetotal = (String)request.getAttribute("totalRepSpace");
String tablespacetotalunit = (String)request.getAttribute("totalRepSpaceunits");
String tablespaceTotalDisplay = tablespacetotal+" "+tablespacetotalunit;
String tablespaceuseddest = null;
String tablespacetotaldest = null;
tablespaceuseddest = (String)request.getAttribute("usedRepSpacedestination");
tablespacetotaldest = (String)request.getAttribute("totalRepSpacedestination");
String used = tablespaceused+tablespaceusedunit+rb.getString("OF")+
tablespacetotal+tablespacetotalunit;
String[] tablespaces = defaultBean.gettablespaces();
String[] tablespaceDest = defaultBean.gettablespacesDest();
if((tablespaces != null) && (tablespaces.length > 0))
{
msg = rb.getString("TABLESPACES");
for(int i=0;i
<%
if((tablespaceDest != null ) && (tablespaceDest.length > 0))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
msg = "";
} // end of tablespace loop
} // end of tablespaces not null
%>
<%
if(( tablespaceuseddest == null) || (tablespaceuseddest.length() < 1) ||
(tablespacetotaldest == null) || (tablespacetotaldest.length() < 1))
{
%>
<%
}
else
{
%>
<%
}
%>
<%
String headerstring = rb.getString("EMD_NOTIFICATION_DELIVERY")+" "+rb.getString("BACKLOG");
%>
<%
SimpleChartDataSource chartData = (SimpleChartDataSource)request.getAttribute("notifChartData");
if(chartData == null)
{
%>
<%
}
else
{
%>
<%
}
%>
<%
if((helpDest != null) && (helpDest.length() > 0))
{
%>
<%
}
%>
<%
String orientation = "bottom";
%>
<%@ include file="healthFaintTabs.jsp" %>
<%@ include file="healthRelatedLinks.jsp" %>