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 \

RRA:MAX:0.5:288:797

 

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

william
_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to