Pinned topic Using old nmon data
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I'm working with nmon data that is several month old (All already recorded)I'm trying to merge up to a month of data to show some trending over longer periods of time, but run out of resources trying to run that much data. At the most, I've been able to merge about 7 or 8 days worth. Is there a way on the analyzer end to set it up to I guess graph that data at longer intervals instead of the 2 minutes which is pulled into the nmon data?
Updated on 2013-01-08T10:09:09Z at 2013-01-08T10:09:09Z by SystemAdmin
nagger 100000MRSJ1638 Posts
Re: Using old nmon data2012-12-30T17:34:45ZThis is the accepted answer. This is the accepted answer.Hi,
nmon is really for performance tuning but now you are trying to use it for capacity planning.
This data over load is the first problem - and it basically a Excel problem.
The next problem you will find is (even if you fix the merge 30 days) you would have 21600 data points on the one spreadsheet.
On my larger screen it has 1600 by 1200 pixels for it would be trying to display 13 data point on each pixel !!
Then the next problem is the days of the week - all would would see in the wildly fluxuating data is the weekdays are busier than the weekends.
I think you know this already.
I would decide which is your busy day of the week (say Friday) and then just graph those days (Fridays).
I hope this helps, Nigel
Re: Using old nmon data2012-12-31T11:00:02ZThis is the accepted answer. This is the accepted answer.Here is how I do it
I have a special version of the nmon2rrd where I have changed snapshot count from 1024 to 40000.
(+ some rrd graph tuning)
Then I run this nmon2rrd for the first dataset with execute option which creates the rrd files.
All datasets after that without execution and run separately these for each of them:
rrdtool - < rrd_update
rrdtool - < rrd_top
rrdtool - < rrd_graph
(rrd_create would create empty rrd files again, so its ignored)
Then I get longer, monthly trends updated daily. Unfortunately top process stats will not work for
obvious reason. See attached file for example.
nagger 100000MRSJ1638 Posts
Re: Using old nmon data2013-01-08T09:31:45ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
on how you changed to 40000 snapshots.
Can you let me know the details again - I would like to make that a command line option.
Cheers, Nigel Griffiths
Re: Using old nmon data2013-01-08T10:09:09ZThis is the accepted answer. This is the accepted answer.
- nagger 100000MRSJ
I think its best to leave it to RRD to decide and not to adjust that along with snapshot counts.
And with snapshots getopt, I'd like to see "incremental" command line option too which should
be exclusive to the -x option. Incremental would not delete rrd files and executes all except
rrd_create. incremental works for all graphs but not for top processes.
RRD forced to draw day of month instead of long version which made the graph unreadable:
< "%s%s\" --start %d --end %d --width %d --height %d --title \"%s %s %s\" --x-grid DAY:1:
> "graph %s.gif %s -v \"%s%s\" --start %d --end %d --width %d --height %d --title \"%s %s %s\" ",
How many snapshots are stored in the rrd:
< fprintf(cfp," RRA:AVERAGE:0.5:1:%d\n",44640);
> fprintf(cfp," RRA:AVERAGE:0.5:1:%d\n",snapshots);
31d seconds backwards:
< utc_start = tarray-2678401;
> utc_start = tarray-1;
Hope this helps ;-)
PS: I still use rrd 1.2.30 since 1.4.x graph creation was **much** slower for me.