Listing 2: Sample HTML pointing to an image
Index.html (line numbers are shown here for reference only)
1 <HTML>
2 <!-- First draft of monitoring page -->
3 <HEAD>
4 <TITLE>Server Monitoring Page</TITLE>
5 <BODY BGCOLOR="#B8FFFC">
6 </HEAD>
7 <H2 ALIGN=CENTER><B>System Resources Page for the</B></H2>
8 <H2 ALIGN=CENTER><B>Corporate Information Systems Dept.</B></h2>
9 <H4 ALIGN=CENTER>Last Updated</h4>
10 <H4 ALIGN=CENTER><!--#config timefmt="%A %B %d %Y, %I:%M %p" --><!--#flastmod file="/SNMPgifs/SNMPin_icon.gif" --></H4>
11 <CENTER><TABLE>
12 <TR><TH>SNMP Packets</TH><TH>Cpu Utilization</TH></TR>
13 <TR><TH><A HREF="SNMPgifs/SNMP.html"><IMG SRC="/SNMPgifs /SNMPin_icon.gif"></A></TH><TH><A HREF="SNMPgifs/cpu.html"><IMG SRC="/SNMPgifs/cpu_icon.gif"></A></TH></TR>
14 <TR><TH>Disk Utilization</TH><TH>Swap Space</TH></TR>
15 <TR><TH><A HREF="SNMPgifs/disk.html"><IMG SRC="/SNMPgifs/disk_icon.gif"></A></TH><TH><A HREF="SNMPgifs/swap.html"><IMG SRC="/SNMPgifs/swap_icon.gif"></A></TH></TR>
16 </TABLE></CENTER>
17 <H5 ALIGN=CENTER>Click on any graph to see full size view</H5>
18 <!-- <H4><A HREF="http://server1/index2.html">Follow This Link To Enter In Data
19 To Generate A Customized Map</h4> -->
20 </HTML>
|