<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>Hi
Everyone,<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>Looking to
show the top 10 tcp ports , currently have an rrd database which has the
following structure:<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><o:p><FONT
face=Calibri> </FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>rrdtool
create tcp_services.rrd \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>DS:25_in:COUNTER:600:U:12500000 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>DS:25_out:COUNTER:600:U:12500000 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>...other
ports...<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>DS:4569_in:COUNTER:600:U:12500000 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>DS:4569_out:COUNTER:600:U:12500000 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:AVERAGE:0.5:1:600 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:AVERAGE:0.5:6:700 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:AVERAGE:0.5:24:775 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:AVERAGE:0.5:288:797 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:MAX:0.5:1:600 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:MAX:0.5:6:700 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:MAX:0.5:24:775 \<o:p></o:p></FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>RRA:MAX:0.5:288:797</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><o:p><FONT
face=Calibri> </FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>Currently
have the database updating and graphing working for all the ports however would
like to graph only the top 10 ports for the last hour, possibly in descending
order as well? Have looked everywhere for a sample and tried reading the manual
still no luck, wondering is this possible and do you have any pointers? (using
cgi to perform the graphing)</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><o:p><FONT
face=Calibri> </FONT></o:p></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri>kind
regards</FONT></P>
<P class=MsoNoSpacing style="MARGIN: 0cm 0cm 0pt"><FONT
face=Calibri>william</FONT></P></BODY></HTML>