Seperating 95 Percentile

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Seperating 95 Percentile

Post by CFHosting »

Is there a way to seperate the 95 percentile like where it is says 95th Percentile (0.33 mbit in+out) is there a way to change it where it shows one for in and one for outbound?


Thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Yes...

Check out the documentation concerning graph variables:

http://www.cacti.net/downloads/docs/htm ... _VARIABLES

If you have questions, please let me know. I did rewrite this code and the documention.

Hint: Nth Percentile Types = Current and you will need to define two variables, either on the same graph item or seperate ones.
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

I see what has to be done but I dont know what to put. Like |95:bits:6:current:2| or something.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

That would be correct.
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

So this will show me like when I go to the monthly graph, it will show the 95th percentile Out for that month?
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

Hmm. The result is the same as the other that says 95th percentile (in+out). Is this one only showing the result of out also, instead of in+out? I switched the data source to traffic in and it showed the same result 0.38. Not sure why its doing that unless I dont have something right.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please post a screen shot of the graph items.
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

Here.
Attachments
1.jpg
1.jpg (57.45 KiB) Viewed 2668 times
2.jpg
2.jpg (98.54 KiB) Viewed 2668 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Click on Item# 13 and post a screen shot of that screen.

Thanks,
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

Here ya go.
Attachments
3.jpg
3.jpg (63.39 KiB) Viewed 2660 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Nth Percentile Type: max
Calculates the Nth percentile based off the selected data source on the graph item which the variable is used, but it is important to note that it selects the higher of the values for each row in data source and then uses the resulting set to calculate the Nth percentile. Example, you have selected a interface data source for traffic_in, this will evaluate traffic_out and traffic_in for that selected data source (rrdtool file) and select the higher of the two values for each row of data. The resulting max values are used to calculate the Nth percentile value. This type requires a selected Data Source Item in the graph item in which it is defined.
Nth Percentile Type: current
Calculates the Nth percentile based off the selected data source on the graph item wich the variable is used. This type requires a selected Data Source Item in the graph item in which it is defined.
Those values are the same on your graphs, because the outbound traffic is a majority of the time higher than the inbound traffic. So, in the case of the typical traffic on this graph, the max and the current of outbound would be the same value. Add the current for inbound, that value should be different.
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

I switched the other one to traffic_in but it wasnt any different, unless your meaning change something else.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You have to alter the comment and the HRULE.

Did you force a refresh of the page? Because the image file can get cached by the browser.
[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]
CFHosting
Posts: 14
Joined: Wed Nov 08, 2006 10:31 am

Post by CFHosting »

Yep, I modified 10 and #11 to traffic_in and set it to current instead of max. And I dont think it's caching.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

CFHosting wrote:And I dont think it's caching.
Um..... :-?

You need to be sure.
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest