Wow - way more than I usually give in the FAQ. I'm going to drop the 1st part in, with a pointer to info.html which now shows the key. THANKS!
-----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:35 PM To: [EMAIL PROTECTED] Subject: [Ntop-dev] FAQ Add - Colors used in NTOP hostnames Here is first go at documenting this. FAQ Entry. Colors are used on several of the NTOP html pages to convey extra information to the user. (in particular the ACTIVE TCP SESSIONS and the LOCAL HOST STATS pages). There are 4(four) basic colors used to depict how long the host has been active since it was first seen by NTOP. The colors are as follows: Age of Host Color Used HTML Color Code/description ------------------------------------------------------------------- 0-5 Minutes RED { color:#FF0000 } 5-15 Minutes Fuchsia/ Magenta { color:#FF00FF } 15-30 Minutes Coral { color:#FF7F00 } (light orange) 30-60 Minutes Slate Blue { color:#007FFF } (lighter less intense blue) 60+ Minutes Blue { color:#0000FF } The pages which display these colors use a html style sheet called style.css located in html subdirectory where NTOP is installed. This style sheet defines the following: A.age0min { color:#FF0000 } A.age5min { color:#FF00FF } A.age15min { color:#FF7F00 } A.age30min { color:#007FFF } A.age60min { color:#0000FF } Here is an abbreviated example of the HTML code produced by NTOP. Note the value in the class= parameter. By looking at the HTML source code for the generated page you can verify the color settings for each line. If you can not see html source similar to below it is because you have the wrong frame displayed or your browser doesn't support frames. <TR ><TD ALIGN=RIGHT><A HREF="/10.10.10.1.html" class="age0min" (rest of line cut for space) <TR ><TD ALIGN=RIGHT><A HREF="/10.10.10.2.html" class="age5min" (rest of line cut for space) <TR ><TD ALIGN=RIGHT><A HREF="/10.10.10.3.html" class="age15min" (rest of line cut for space) <TR ><TD ALIGN=RIGHT><A HREF="/10.10.10.4.html" class="age30min" (rest of line cut for space) <TR ><TD ALIGN=RIGHT><A HREF="/10.10.10.5.html" class="age60min" (rest of line cut for space) Files webInteface.c and style.css are responsible for this process. Tim Cahoon IT-WAN Technical Services Federal-Mogul Corporation Southfield, MI USA [EMAIL PROTECTED] _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
