verify 95th percentile value

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

Moderators: Developers, Moderators

sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:Can you post a screen shot of your rra screen?
I will attach one now, what about the rrd info , doesnt that look right ?
Attachments
rra definition
rra definition
rradef.JPG (26.86 KiB) Viewed 2184 times
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

That is correct....

Wonder why the rrdtool file was recreated with the incorrect rows.
[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]
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:That is correct....

Wonder why the rrdtool file was recreated with the incorrect rows.
rra[14] 10 6 2 show 26280 rows, isnt that correct ?
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:That is correct....

Wonder why the rrdtool file was recreated with the incorrect rows.
how should the rrd definition should look ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

OK, well, I feel stupid....

Your rrd definition is correct in the rrdtool file. Just missed the 5 minute average DS... lol

Ignore my PM.. :)

Now, you realize that from this point forward that the 5 minute data will be stored for 3 months? What has happened in the past can not be recovered.
[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]
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:OK, well, I feel stupid....

Your rrd definition is correct in the rrdtool file. Just missed the 5 minute average DS... lol

Ignore my PM.. :)

Now, you realize that from this point forward that the 5 minute data will be stored for 3 months? What has happened in the past can not be recovered.
Now you know how the rest of the world feels 90% of the time (:

Ok thanks.. so the data is correct now, when I look at Monthly 95th percentile I see 5 minute average not 30 ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

sys0p wrote:Ok thanks.. so the data is correct now, when I look at Monthly 95th percentile I see 5 minute average not 30 ?
You are going to love my answer..... Maybe..... 8)

Nth percentile uses the rrd_fetch function of rrdtool. The default fetch does not specify a resolution to pull the data at, this is on purpose. We let rrdtool figure out the best resolution to return based upon the availability of data.

So, if you only have 3 days of 5 minute data, but you do have 2 months of monthly data and you select a month range, RRDTool will return the monthly data. The only way to guarantee that you will be 5 minute data is to make sure it's there. :)
[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]
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:
sys0p wrote:Ok thanks.. so the data is correct now, when I look at Monthly 95th percentile I see 5 minute average not 30 ?
You are going to love my answer..... Maybe..... 8)

Nth percentile uses the rrd_fetch function of rrdtool. The default fetch does not specify a resolution to pull the data at, this is on purpose. We let rrdtool figure out the best resolution to return based upon the availability of data.

So, if you only have 3 days of 5 minute data, but you do have 2 months of monthly data and you select a month range, RRDTool will return the monthly data. The only way to guarantee that you will be 5 minute data is to make sure it's there. :)
Then here it comes a noob question, do I have more 5 minute data in my rrd's than monthly data ? I think I do because I looked at the xml dump.


So basicly what do you think, the 95th percentile at monthly is for 5 minutes or not now ?
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:
sys0p wrote:Ok thanks.. so the data is correct now, when I look at Monthly 95th percentile I see 5 minute average not 30 ?
You are going to love my answer..... Maybe..... 8)

Nth percentile uses the rrd_fetch function of rrdtool. The default fetch does not specify a resolution to pull the data at, this is on purpose. We let rrdtool figure out the best resolution to return based upon the availability of data.

So, if you only have 3 days of 5 minute data, but you do have 2 months of monthly data and you select a month range, RRDTool will return the monthly data. The only way to guarantee that you will be 5 minute data is to make sure it's there. :)
Basicly here is the deal ,my boss is demanding that there are only 288 data points in one day.
I think he is asking for it in order to get accurate values.

Does this makes sense , do you think this is the fix ?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Um... With 5 minute average there is only 288 data points in a day.

Nothing to fix there.

When looking at the monthly graphs, you will see monthly data. You need to select the timespan at the top of the graph view page to see the 5 minute data for the month in question.
[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]
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:Um... With 5 minute average there is only 288 data points in a day.

Nothing to fix there.

When looking at the monthly graphs, you will see monthly data. You need to select the timespan at the top of the graph view page to see the 5 minute data for the month in question.
So then why do I see 1152 entries for one day in the xml after I dump that rrd file to an "xml" using rrdtool dump.
Shouldnt it be only 288 for one day ?

# cat t.xml|grep 2007-04-15|wc -l
1152

How can I get only the 5 minute raw data from the rrd file to put it into an xls file and calculate it manually ?

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

Post by rony »

RRDTool documentation is your best resource.

Also, your grep is flawed, read the docs and you will know what I'm talking about.
[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]
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

rony wrote:RRDTool documentation is your best resource.

Also, your grep is flawed, read the docs and you will know what I'm talking about.
Ok clearly I dont know much about this rrdtool, could you explain me a bit about this, how can I get these results the way I want ? or point me to the right place in the documentation ?


Thanks !
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

sys0p wrote: Ok clearly I dont know much about this rrdtool, could you explain me a bit about this, how can I get these results the way I want ? or point me to the right place in the documentation ?
You may want to consider my RRDTool Chapter at http://docs.cacti.net
Reinhard
sys0p
Posts: 48
Joined: Sun Jan 14, 2007 3:46 pm
Location: Europe

Post by sys0p »

gandalf wrote:
sys0p wrote: Ok clearly I dont know much about this rrdtool, could you explain me a bit about this, how can I get these results the way I want ? or point me to the right place in the documentation ?
You may want to consider my RRDTool Chapter at http://docs.cacti.net
Reinhard
Ok I think I got that right. I have another issue, I deleted some rra definitions and after I configured them back as they were .

Now when I go to :

Graphs -> List Mode -> <aggr02 - Traffic>


This means I use the preview view, I can only see the Daily (5 Minute Average) nothing about Monthly or Yearly.

For sure this Graph rrd have these rra defs inside.

What else do I have to change to get that working back ?



Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests