[rrd-users] Top 10 Ports

Will_bohannan at hotmail.com Will_bohannan at hotmail.com
Wed Nov 26 13:44:25 CET 2008

Hi Everyone,

Looking to show the top 10 tcp ports , currently have an rrd database which has the following structure:


rrdtool create tcp_services.rrd \

DS:25_in:COUNTER:600:U:12500000 \

DS:25_out:COUNTER:600:U:12500000 \

...other ports...

DS:4569_in:COUNTER:600:U:12500000 \

DS:4569_out:COUNTER:600:U:12500000 \

RRA:AVERAGE:0.5:1:600 \

RRA:AVERAGE:0.5:6:700 \

RRA:AVERAGE:0.5:24:775 \

RRA:AVERAGE:0.5:288:797 \

RRA:MAX:0.5:1:600 \

RRA:MAX:0.5:6:700 \

RRA:MAX:0.5:24:775 \



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)


kind regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20081126/58f85123/attachment.html 

More information about the rrd-users mailing list