Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Processing Token - 95th percentile

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
codyrat



Joined: 16 Apr 2002
Posts: 7

PostPosted: Thu May 15, 2008 8:53 am    Post subject: Processing Token - 95th percentile Reply with quote

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: 2162
Location: United Kingdom

PostPosted: Thu May 15, 2008 9:28 am    Post subject: Reply with quote

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

PostPosted: Thu May 15, 2008 9:46 am    Post subject: Reply with quote

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: 2162
Location: United Kingdom

PostPosted: Thu May 15, 2008 10:03 am    Post subject: Reply with quote

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: 2162
Location: United Kingdom

PostPosted: Thu Jul 31, 2008 3:07 am    Post subject: Reply with quote

If you are feeling brave, there's a test release on the weathermap site with this functionality in it now.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group