|
|
| Author |
Message |
codyrat
Joined: 16 Apr 2002 Posts: 7
|
Posted: Thu May 15, 2008 8:53 am Post subject: Processing Token - 95th percentile |
|
|
Hi there,
I'd like to be able to display the 95thpercentile instead of in/outpercent. Does anyone have any ideas on how this could be done?
LINK trc2rc1-tcp4rc2
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=231
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=231&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /usr/share/cacti/rra/tprfrc1_traffic_in_234.rrd
NODES trc2rc1 tcp4rc2
INBWFORMAT {link:this:bandwidth_in:%k}/{link:this:inpercent:%.1f}%
OUTBWFORMAT {link:this:bandwidth_out:%k}/{link:this:outpercent:%.1f}%
BANDWIDTH 40M |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Thu May 15, 2008 9:28 am Post subject: |
|
|
95th percentile works over a period, not an instantaneous value.
So, you would need some way to define that period, and also some way to do the calculation. I'm planning on adding a CDEF-capable TARGET in the next release or two, but it would be using rrdtool CDEFs - I don't know whether rrdtool by itself will calculate 95th percentile.
Then you'd end up with (say) a rolling 1-week 95th%ile. |
|
| Back to top |
|
 |
codyrat
Joined: 16 Apr 2002 Posts: 7
|
Posted: Thu May 15, 2008 9:46 am Post subject: |
|
|
Hi Howie,
Yes I was looking at displaying a 24hour rolling 95%ile to display on our link graphs. The issue is primarily in asia where our link graphs look practically unused during working day in EST. I'm fiddling with a perl script but I was hoping that I might be able to see if anybody else had implemented something similar.
codyrat. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Thu May 15, 2008 10:03 am Post subject: |
|
|
| Yeah. So I'd suggest waiting for the next release... I'll try and get the CDEF stuff into that. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Thu Jul 31, 2008 3:07 am Post subject: |
|
|
| If you are feeling brave, there's a test release on the weathermap site with this functionality in it now. |
|
| Back to top |
|
 |
|