95th Percentile For Both Ways (Inbound & Outbound)
Moderators: Developers, Moderators
95th Percentile For Both Ways (Inbound & Outbound)
Hi!
I'm trying to build a graph template that includes 95th percentile of an interface traffic, similar to which includes CACTI with the installation, but that instead of showing it aggregate (the sum of in more out), it shows a value for each way of traffic.
That is to say, that besides the current, average and maximum, each data source have its own 95th percentile.
I have managed to present it in visual form, but even so the values that it shows for the 95th percentile of inbound and outbound are always equal, always the same value, when actually each one of those values should be relative to traffic on which is calculated over.
I have used both current and max in Value of Graph Template Item, but the values of 95th percentile for in and out continue showing the same thing, changing of value obviously according use current or max. And HRULEs are both drawn one over the other one, then you can see those just as only one.
In Graph Template that includes Total Bandwith, that seems to works well, why doesn't happen the same thing with 95th percentile? What I'm doing wrong?
Info about my system:
SO Fedora 8 32-bits
CACTI 0.8.7b
RRDTool 1.3.4
BTW, apologize me if I'm not clear enough or if I wrote some mistakes in this text, but english isn't my native language.
Thanks in advance.
Best Regards
I'm trying to build a graph template that includes 95th percentile of an interface traffic, similar to which includes CACTI with the installation, but that instead of showing it aggregate (the sum of in more out), it shows a value for each way of traffic.
That is to say, that besides the current, average and maximum, each data source have its own 95th percentile.
I have managed to present it in visual form, but even so the values that it shows for the 95th percentile of inbound and outbound are always equal, always the same value, when actually each one of those values should be relative to traffic on which is calculated over.
I have used both current and max in Value of Graph Template Item, but the values of 95th percentile for in and out continue showing the same thing, changing of value obviously according use current or max. And HRULEs are both drawn one over the other one, then you can see those just as only one.
In Graph Template that includes Total Bandwith, that seems to works well, why doesn't happen the same thing with 95th percentile? What I'm doing wrong?
Info about my system:
SO Fedora 8 32-bits
CACTI 0.8.7b
RRDTool 1.3.4
BTW, apologize me if I'm not clear enough or if I wrote some mistakes in this text, but english isn't my native language.
Thanks in advance.
Best Regards
- Attachments
-
- Example of my separated 95th percentile test
- 95p_testgraph.png (16.59 KiB) Viewed 6604 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Use the "current" keyword and make sure the data source is selected on the graph item.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
RE: 95th Percentile For Both Ways (Inbound & Outbound)
Really weird situation... I was doing some printscreen to post here just to figure out what's wrong in the configuration, and when came to get a new example screenshot I realized that now is working well... Same graph that yesterday showed both lines one over other, now is showing both (and also legends) with real data. And I didn't any change.rony wrote:Use the "current" keyword and make sure the data source is selected on the graph item.
I could be because yesterday I hadn't enough data in RRD file to calculate this? Any other possible known cause?
Regards
- Attachments
-
- Same Graph, but Today
- 95p_testgraph_20081121.png (23.92 KiB) Viewed 6572 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Not enough data could have been the case.
I really need to work on the Nth Percentile functions and make them more verbose to missing data points.
I really need to work on the Nth Percentile functions and make them more verbose to missing data points.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Yes! I had same problem again, but I found the root cause... I can't believe it!...
Beeing sure that my graph template was working well, I did some visual changes (taken from ptaylor874 sexy graphs post), and in a middle of that, I realized again, that now it wasn't working, and it did show same P95 in both ways (in and out), but at same time, average was the same for both and line and area were drawing different things... Weird...
I did double check of graph template items and inputs, and everything was ok. Then I did check specific device graphs, and voila!, there was the mistake. By some strange behaviour graphs weren't linked with appropiated in and out data source (Supplemental Graph Template Data), no matter what in Associated Graph Items of Graph Item Inputs screen, you can see a correct association of data sources and graph items. I forced to follow their respective source data, and it started to draw as expected.
Anyway, it's working.
Regards
Beeing sure that my graph template was working well, I did some visual changes (taken from ptaylor874 sexy graphs post), and in a middle of that, I realized again, that now it wasn't working, and it did show same P95 in both ways (in and out), but at same time, average was the same for both and line and area were drawing different things... Weird...
I did double check of graph template items and inputs, and everything was ok. Then I did check specific device graphs, and voila!, there was the mistake. By some strange behaviour graphs weren't linked with appropiated in and out data source (Supplemental Graph Template Data), no matter what in Associated Graph Items of Graph Item Inputs screen, you can see a correct association of data sources and graph items. I forced to follow their respective source data, and it started to draw as expected.
Anyway, it's working.
Regards
- Attachments
-
- Problems again...
- 95p_testgraph_200811211215.png (29.61 KiB) Viewed 6558 times
-
- Working OK
- 95p_testgraph_200811211315_ok.png (29.92 KiB) Viewed 6558 times
I missed this post back when you made it, but wanted to respond anyway, as I see you are not putting your percentiles next to your legend relating to them (and you may want it that way!). I did that by creating the appropriate formulas next to my legends for 95th in and out.
I separated my 95th percentile as I need to report it separately, and combined it just makes little sense to me personally. I didn't use red on mine, as red makes people think 'bad' things are occurring'
I did this about 2 months ago, and also included my mods to add the interface speed, and the timezone that the date and time are relative to.
In this case, this was a Zoomed graph, so I have the appropriate text under the graph to advise a user how they can interact with the graph. On other graph views, I have 'Click on graph to see trends' or similar wording.
You'll also see I have a button to create a PDF of the graph, mostly for management to be able to capture a graph to send to others.
I did these mods for those who need to access the graphs, but do not have the time or patience to learn these things.
Attached is an example of an OC12 interface using the modified template.
I separated my 95th percentile as I need to report it separately, and combined it just makes little sense to me personally. I didn't use red on mine, as red makes people think 'bad' things are occurring'
I did this about 2 months ago, and also included my mods to add the interface speed, and the timezone that the date and time are relative to.
In this case, this was a Zoomed graph, so I have the appropriate text under the graph to advise a user how they can interact with the graph. On other graph views, I have 'Click on graph to see trends' or similar wording.
You'll also see I have a button to create a PDF of the graph, mostly for management to be able to capture a graph to send to others.
I did these mods for those who need to access the graphs, but do not have the time or patience to learn these things.
Attached is an example of an OC12 interface using the modified template.
- Attachments
-
- Just an example to show separate 95th percentiles in and out, and other minor enhancements.
- example.png (36.69 KiB) Viewed 6501 times
Re: 95th Percentile For Both Ways (Inbound & Outbound)
Dear everyone,
My cacti cannot show both way inbound and outbound please help me create 95th Percentile forboth inbound and outbound.
OS: centos 6.3
Version 0.8.8a
thanks you.
My cacti cannot show both way inbound and outbound please help me create 95th Percentile forboth inbound and outbound.
OS: centos 6.3
Version 0.8.8a
thanks you.
- Attachments
-
- 95th percent.png (28.26 KiB) Viewed 1246 times
Who is online
Users browsing this forum: No registered users and 0 guests