<%BEGINNODATA%>
document.writeln("<TR><TD BGCOLOR=#f7f7e7 COLSPAN=6><CENTER><FONT FACE=\"ARIAL\" SIZE=2><I>No registered events found</I></FONT></CENTER></TD></TR>");
<%ENDNODATA%>
<HTML><HEAD><META http-equiv="Content-Type" content="text/html"><TITLE><%USER%>: Registered events sorted by service name</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
var oldname = " ";
var oldtype = " ";
var towner  = " ";
var tevent  = " ";
var ttime   = " ";
var tstate  = " ";
var tsev    = " ";

group_str   = new Array;
display_str = new Array;

group_str[ 0]   = 'oracle_sysman_group';
group_str[ 1]   = 'oracle_sysman_node';
group_str[ 2]   = 'oracle_sysman_database';
group_str[ 3]   = 'oracle_sysman_listener';
group_str[ 4]   = 'oracle_sysman_webserver';
group_str[ 5]   = 'ORACLE_WEBSERVER';
group_str[ 6]   = 'oracle_sysman_paging';
group_str[ 7]   = 'oracle_sysman_opsinst';
group_str[ 8]   = 'oracle_sysman_cmanager';
group_str[ 9]   = 'oracle_sysman_sap';
group_str[10]   = 'oracle_forms listener';
group_str[11]   = 'oracle_sysman_sqlserver';

display_str[ 0] = 'Group';
display_str[ 1] = 'Node';
display_str[ 2] = 'Database';
display_str[ 3] = 'Listener';
display_str[ 4] = 'Webserver';
display_str[ 5] = 'Webserver';
display_str[ 6] = 'Paging Server';
display_str[ 7] = 'Parallel Server';
display_str[ 8] = 'Concurrent Manager';
display_str[ 9] = 'SAP server';
display_str[10] = 'Forms Listener';
display_str[11] = 'SQL Server';

function prettyType(str) {
  for (var i=0 ; i<12 ; i++ )
      if (str==group_str[i]) {
         return display_str[i];
      }
  return str;
}

function PrintResults () {
  document.writeln("<TR>");
  document.write("<TD BGCOLOR=#f7f7e7 VALIGN=\"top\"><FONT FACE=\"ARIAL\" SIZE=2>"+oldname+"</FONT></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 VALIGN=\"top\"><FONT FACE=\"ARIAL\" SIZE=2>"+oldtype+"</FONT></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+tevent+"</FONT></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+towner+"</FONT></TD>");
  document.write("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+ttime+"</FONT></TD>");
  document.writeln("<TD BGCOLOR=#f7f7e7 NOWRAP><FONT FACE=\"ARIAL\" SIZE=2>"+tsev+"</FONT></TD>");
  document.writeln("</TR>");
}

function ProcessRecord(name, etype, owner, event, etime, esev) {
  sev_text = (esev>100) ? "Agent Down" : (esev>=25) ? "Alert" : (esev>15) ? "Warning" : "Clear";

  if (oldname != name)  {
     if (oldname != " ") {
        PrintResults();
     }
     oldname  = name;
     oldtype  = prettyType(etype);

     towner = owner;
     tevent = event;
     ttime  = etime;
     tsev   = sev_text;
  } else {
    tevent = tevent + "<BR>" + event;
    towner = towner + "<BR>" + owner;
    ttime  = ttime + "<BR>" + etime;
    tsev   = tsev + "<BR>" + sev_text;
  }
}
// Hide -->
</SCRIPT>

</HEAD>

<BODY BGCOLOR="white">
<MAP NAME="TabMap"><AREA SHAPE="rect" COORDS="82,0,158,26" HREF="evt_defn.htm"></MAP>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TR>
  <TD align=left height=1 vAlign=top width=320><IMG align=top height=72 src="oem.gif" width=320></TD>
  <TD align=right align=right valign=bottom width=2100><IMG SRC="tab_events1.gif" ALT="Registered Events" WIDTH=159 HEIGHT=27 USEMAP="#TabMap" BORDER=0></TD>
  <TD align="left" background="space.gif" vAlign="top" width=5><IMG height=1 src="space.gif" width=8></TD>
</TR></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TR>
  <TD align="left" bgColor=#336666 height=21 vAlign="top" width=9><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=21 vAlign="top" width=20><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=21><FONT color=#ffffff face="Arial, Helvetica, sans-serif" color=#ffffff size="+2"><B><%USER%>: Registered events sorted by service name</B></FONT></TD>
  <TD bgColor=#336666 height=21 align="right"><FONT color=#ffffff face="Arial, Helvetica, sans-serif" color=#ffffff><B><%CURRENTDATE%></B></FONT>&nbsp;</TD>
  <TD align="left" background="rhshadow.gif" vAlign="top" width=5><IMG height=1 src="space.gif" width=7></TD>
</TR><TR>
  <TD align="left" bgColor=#336666 height=16 vAlign=top width=9><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#336666 height=16 vAlign=top width=11><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" background="bot.gif" bgColor=#ffffff height=16 vAlign=top colspan=2><IMG align=top height=16 src="toparch.gif" width=26></TD>
  <TD align="left" height=16 vAlign="top" width=5><IMG height=8 src="rend.gif" width=8></TD>
</TR><TR>
  <TD align="right" height=8 vAlign="top" width=9><IMG height=8 src="lend.gif" width=10></TD>
  <TD align="right" background="bot.gif" height=8 vAlign=top width=11><IMG height=1 src="space.gif" width=1></TD>
  <TD align="left" bgColor=#ffffff height=8 vAlign=top width=2100 colspan=2><IMG height=8 src="archcorn.gif" width=6></TD>
  <TD align="right" height=8 vAlign=top width=5><IMG height=1 src="space.gif" width=1></TD>
</TR></TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="99%">
<TR>
  <TD width="3%">&nbsp;</TD>
  <TD align=right vAlign=top width="97%"><font face="Arial, Helvetica, sans-serif" color="#336699 size="2"><A HREF="evt_acte.htm">Registered events sorted by Event Name</A></FONT></TD>
</TR>
<TR>
  <TD width="3%">&nbsp;</TD>
  <TD align=right vAlign=top width="97%"><font face="Arial, Helvetica, sans-serif" color="#336699 size="2">Registered events sorted by Service Name</FONT><BR>&nbsp;</TD>
</TR>
<TR>
  <TD height=1 width="3%"><IMG height=1 src="space.gif" width=1></TD>
  <TD background=seperator.gif height=1 width="97%"><IMG height=1 src="space.gif" width=1></TD>
</TR>
</TABLE><P>

<TABLE BORDER cellPadding=3 width="99%">
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Service Name</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Service Type</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Event Name</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Owner</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Registration Date</B></FONT></TH>
<TH BGCOLOR=#cccc99><FONT FACE="ARIAL" COLOR="#336699" SIZE=2><B>Current Severity</B></FONT></TH>
<SCRIPT>
<!--
<%BEGINDETAIL%>
ProcessRecord("<%1%>","<%2%>","<%3%>","<%4%>","<%5%>",<%6%>);
<%ENDDETAIL%>
PrintResults();
// Hide -->
</SCRIPT></TABLE>

<P><TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TR><TD background="space.gif" align="left" vAlign="bottom" width=2100><IMG height=1 src="space.gif" width=1></TD><TD background="space.gif" align="left" vAlign="top"    width=60><DIV align=right><IMG height=18 src="btailtop.gif" width=45></DIV></TD><TD align="left" background="rhshadow.gif" height=18 vAlign=center width=5><IMG height=1 src="space.gif" width=1></TD></TR>
<TR><TD align="left" bgColor=#336666 height=15 vAlign="center"><IMG height=1 src="space.gif" width=1></TD><TD align="left" bgColor=#336666 height=15 vAlign="center" width=60><IMG height=1 src="space.gif" width=1></TD><TD align="left" background="rhshadow.gif" height=15 vAlign=center width=5><IMG height=1 src="space.gif" width=1></TD></TR>
<TR><TD align="left" background="bot.gif" vAlign="top"><IMG height=8 src="lend.gif" width=10></TD><TD align="left" background="bot.gif" height=10 vAlign=top width=60>&nbsp;</TD><TD align="left" vAlign="top" width=5><IMG height=10 src="rend.gif"></TD></TR>
</TABLE>
<TABLE><TR><TD><A HREF="index.htm"><B>HOME</B></A></TD><TD><B>&lt;</B></TD><TD><A HREF="setup.htm"><B>SETUP</B></A></TD></TR></TABLE>
</BODY></HTML>
