Hey Vinod,<br>Provided that your archives have the historical data, this is definitely possible.<br><br>One way to do this is to setup your data definitions with the correct time frame and then set the --start and --end parameters for your graph.<br>
<br>Step 1: Setting up the data definitions<br>#(Keep in mind, &quot;myrrd.rrd&quot; and &quot;latency&quot; below are arbitrary values)<br><br>#Data for last month<br>DEF:1_month_ago=myrrd.rrd:latency:AVERAGE:end=MIDNIGHT:start=end-1month<br>
<br>#Data for 2 months ago<br>DEF:2_months_ago=myrrd.rrd:latency:AVERAGE:end=MIDNIGHT-1month:start=end-1month<br><br>#Data for 3 months ago<br>DEF:3_months_ago=myrrd.rrd:latency:AVERAGE:end=MIDNIGHT-2month:start=end-1month<br>
<br>If you intend to only plot one month per graph, you can just set your --start and --end parameters accordingly as you were doing before.  If you would like to transpose several months on to the same graph (for example, the last 3 months) you can then use the shift function to set the Data definitions in the correct time frame.  The link from Alex&#39;s website provides a great example on how to do this: <a href="http://www.vandenbogaerdt.nl/rrdtool/shift.php">http://www.vandenbogaerdt.nl/rrdtool/shift.php</a><br>
<br>I hope this helps.<br><br><br><br><div class="gmail_quote">On Mon, May 24, 2010 at 2:49 AM, Vinod Sharma <span dir="ltr">&lt;<a href="mailto:vk.kaushik2006@gmail.com">vk.kaushik2006@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I have a .rrd which has data since last year. i.e. June 09. Now I want to create charts for every month i.e. chart for June 09, July 09, till April 10. Is there any way I can select the months data to create charts. Till now I am trying to select the data based on the days. i.e.<br>

<br>--start=midnight-7d<br>--end=start+1d<br><br>The above gives me the data for 7day ago, is there any way i can get data like Jan, Feb etc.<br><br>Thanks,<br>
<br>_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
<br></blockquote></div><br>